Search found 10 matches

by Matux38
01 August 2024, 13:23
Forum: Developers
Topic: Questions about next steps before Alpha
Replies: 2
Views: 284

Re: Questions about next steps before Alpha

Fine, I just made a request for the license on their website then. I'll wait for the license to for the art files and to invite my friends to the private alpha. Also, is there any documentation on how to make a dev copyright in top of files? I don't really want to randomly dump my username without d...
by Matux38
01 August 2024, 09:00
Forum: Developers
Topic: Questions about next steps before Alpha
Replies: 2
Views: 284

Questions about next steps before Alpha

Hi, For the past few weeks, I've been trying to adapt one of my favorite games, Timebomb, on BGA, which is currently not available. I read that for a first game development, it is recommended to develop the game before asking for the license (in case I give up before finishing). Now, it's almost don...
by Matux38
30 July 2024, 16:00
Forum: Developers
Topic: Active or multiactive player state ?
Replies: 6
Views: 306

Re: Active or multiactive player state ?

Oh my! I'm so dumb!

Yeah, with the correct parameter, it works exactly as expected yeah...

Code: Select all

this.bgaPerformAction("announce", {
                type: type,
                qty: qty
            }, { checkAction: false });
Thanks for the help :)
by Matux38
30 July 2024, 15:08
Forum: Developers
Topic: Active or multiactive player state ?
Replies: 6
Views: 306

Re: Active or multiactive player state ?

You're right, in the network tab, there's no AJAX call and therefore it's in my js file. I looked at it a lot and I can't figure out why tho :( I thought it may be cause by the default content in onUpdateActionButtons with the condtion on this.isCurrentPlayerActive() but commenting lines didn't solv...
by Matux38
30 July 2024, 14:19
Forum: Developers
Topic: Active or multiactive player state ?
Replies: 6
Views: 306

Re: Active or multiactive player state ?

Yeah, it looks like it's exactly what I'm looking for :o However, it still shows "It is not your turn", even with this function call in XXX.game.php: function announce(...) { $this->gamestate->checkPossibleAction('announce'); // announce = possible action in my game state file $this->games...
by Matux38
30 July 2024, 09:30
Forum: Developers
Topic: Active or multiactive player state ?
Replies: 6
Views: 306

Active or multiactive player state ?

Hi, I'm working on an adaptation of Timebomb and I was wondering if I should use multipleactiveplayer or activeplayer state. Basically, the game only allow 1 person to make an action at a time. But, at any moment, anyone can make an announce that has to be shown in the interface to other players, wi...
by Matux38
24 July 2024, 12:50
Forum: Developers
Topic: Set next active player
Replies: 2
Views: 156

Re: Set next active player

Thanks! That's exactly what I was looking for.

Solved then :)
by Matux38
24 July 2024, 10:05
Forum: Developers
Topic: Set next active player
Replies: 2
Views: 156

Set next active player

Hi,

I've been wondering how I can set the next active player instead of doing $this->activeNextPlayer(); please ?

Thanks :)
by Matux38
24 July 2024, 08:37
Forum: Developers
Topic: bgaPerformAction not recognized
Replies: 2
Views: 200

Re: bgaPerformAction not recognized

Thanks ! I didn't think about it. I managed to solve it by fix the way the onCardClick is called. Here is what I did if anyone encounters the same issue. The event was bind in onEnteringState only for clickable cards. But in the tutorial, the idea is that any card, even not clickable ones are bind t...
by Matux38
23 July 2024, 15:40
Forum: Developers
Topic: bgaPerformAction not recognized
Replies: 2
Views: 200

bgaPerformAction not recognized

Hi, I started a card game. When a player clicks on a card, it triggers this event in the file "XXX.js". I made changes in setup and enteringState methods. After that, there is my function : onCardClick: function(e) { e.preventDefault(); e.stopPropagation(); let card = e.target; let card_id...

Go to advanced search