Search found 418 matches

by Woodruff
01 April 2016, 07:31
Forum: Developers
Topic: [SOLVED] NotifyAllPlayersBut
Replies: 23
Views: 5382

[SOLVED] NotifyAllPlayersBut

Bonjour, Je cherche à résoudre un cas d'école... J'ai un état de jeu de type 'game' dans lequel tous les joueurs piochent deux cartes. La gestion serveur marche bien avec Deck. Par contre, quand j'envoie la notification aux joueurs, je me retrouve avec ce problème : je dois informer le joueur qui a ...
by Woodruff
29 March 2016, 17:16
Forum: Developers
Topic: [SOLVED] Undefined index: player_zombie
Replies: 2
Views: 1469

[SOLVED] Undefined index: player_zombie

Merci beaucoup !
C'était bien ça...

Une petite ligne de code innocente bien planquée qui fait tout planter, c'est tout moi ça ! :twisted:

Tchebychev
by Woodruff
16 March 2016, 14:34
Forum: Developers
Topic: [SOLVED] Undefined index: player_zombie
Replies: 2
Views: 1469

[SOLVED] Undefined index: player_zombie

Bonjour à tous :) Voilà, je me suis enfin remis sur un jeu dans studio après un an sans y avoir touché. J'ai lancé le jeu une première fois, ça a marché. J'ai alors voulu modifier mon code. Comme depuis le temps, j'étais passé sur Linux, j'ai du télécharger un autre logiciel (Krusader) qui gère entr...
by Woodruff
02 October 2014, 17:57
Forum: Developers
Topic: [SOLVED] Stock or Zone ?
Replies: 4
Views: 2303

[SOLVED] Stock or Zone ?

Hi, Try to use the stock component with: mystock.setOverlap(0.1, mypercent); mystock.item_margin = 0; Thanks, I already did. I thought that setOverlap would have solved my problem. But depending on the zoom and the overlapping percentage, the cards behave strangely, sometimes they place themselves ...
by Woodruff
17 September 2014, 19:38
Forum: Developers
Topic: [SOLVED] Stock or Zone ?
Replies: 4
Views: 2303

[SOLVED] Stock or Zone ?

Hi everybody ! I am trying to find the good the best solution to display a stack of cards, with the following design: -Each card vertically overlaps on the card at its bottom (at a given X% percentage), so they compose splayed-up stack. -I would like to have the possibility to dynamically remove eit...
by Woodruff
11 September 2014, 19:08
Forum: Developers
Topic: [SOLVED] Stock component - addToStock throwing an error
Replies: 4
Views: 2607

[SOLVED] Stock component - addToStock throwing an error

Hi,

Thanks verry much, that was only that indeed. I shall pay more attention on my variables name.
Thanks also for adding this more explicit error throw. I admit that without it I did not get the idea of checking that.

Tcheby
by Woodruff
09 September 2014, 18:53
Forum: Developers
Topic: [SOLVED] Stock component - addToStock throwing an error
Replies: 4
Views: 2607

[SOLVED] Stock component - addToStock throwing an error

Hi, You should use a member variable for your stock item (ex: this.stock instead of stock). Hello sourisdudesert, Thanks a lot for your answer. I did not use a member variable because I return the stock as the result of addStock, and use it to affect the member variable this.pile. Following your ad...
by Woodruff
27 August 2014, 21:04
Forum: Developers
Topic: [SOLVED] Stock component - addToStock throwing an error
Replies: 4
Views: 2607

[SOLVED] Stock component - addToStock throwing an error

Hi! I'm a newbie in BGA studio. I try to develop a card game and I am stuck just at the beginning... I'd like to add a hand for each player using the stock component. Creating it works wells but the app crashes when I try addToStock, throwing this error in Firebug -> network : During pageload _799(....

Go to advanced search