Search found 16 matches

by cmgames
03 December 2020, 20:11
Forum: Developers
Topic: Player-count CSS mods?
Replies: 3
Views: 602

Player-count CSS mods?

Any way to modify css styles based on number of players?

I need to use a different background image (or, technically, the background position of a sprite image) depending on the number of players.

~Chris
by cmgames
17 November 2020, 00:55
Forum: Developers
Topic: Score not updating
Replies: 3
Views: 563

Re: Score not updating

Thank you paramesis. That did the trick. I wonder why I did not need to use that function in my first game (Yspahan).

~cmgames
by cmgames
16 November 2020, 23:38
Forum: Developers
Topic: Score not updating
Replies: 3
Views: 563

Score not updating

I am working on my second game, and for some reason, in this game, the scores (in the player areas above the log) are not updating. The scores are correct in the database. The scores are correct in the JS gamedatas. The score track is correct. But the scores are not showing up in those panels on the...
by cmgames
08 July 2020, 16:20
Forum: Developers
Topic: gamestate mismatch?
Replies: 1
Views: 835

gamestate mismatch?

I am developing 'Asgard'. At a certain point, if the player selects a game piece in a certain place (build temple slot), I transition to a 'game' state to determine what actions the player can take based on available resources and available temples. However, when I try to transition OUT of that game...
by cmgames
31 May 2020, 19:01
Forum: Developers
Topic: Error ending multiplayer state
Replies: 3
Views: 1130

Error ending multiplayer state

When clicking the 'Done' button when in a multiplayer state, I perform a function (finishedSelectingCards) and transition to the next state (waitUntilAllDone). In that state action (stWaitUntilAllDone), I set the "done" player to non-multiactive and specify the transition. My problem is th...
by cmgames
18 May 2020, 17:38
Forum: Developers
Topic: 3D Mode?
Replies: 5
Views: 1106

3D Mode?

In the pre-release checklist, it says to 'Test your game in 3D mode". What does this mean? What is 3D mode?

~cmgames
by cmgames
12 May 2020, 01:46
Forum: Developers
Topic: preloading images?
Replies: 2
Views: 721

preloading images?

I am developing a game where the scoring happens at three times during the game. During scoring, I flash (for a couple seconds) the score generated from each section of the board (using fadeOutAndDestroy). However, the first time the scoring occurs, the background image for the scoring area does not...
by cmgames
08 May 2020, 16:21
Forum: Developers
Topic: Javascript error on undoRestorePoint
Replies: 0
Views: 349

Javascript error on undoRestorePoint

I have set up a restore point in my development so I can go back and retry the same action when testing to see the different results. But when I try to restore to the save point, I get the following Javascript error over and over (infinite loop apparently): Javascript error: TypeError: this.gamedata...
by cmgames
03 May 2020, 01:40
Forum: Developers
Topic: Action errors?
Replies: 2
Views: 685

Re: Action errors?

I'm not getting the errors right now, but when I get them it would help to know if the particular error can indicate WHERE to start troubleshooting.

I usually get 'It is not your turn right now' as the error when a non-active player tries to do something.

~cmgames
by cmgames
01 May 2020, 01:55
Forum: Developers
Topic: Action errors?
Replies: 2
Views: 685

Action errors?

What is the difference (in the backend) between the action errors: 'This game action is impossible right now' and 'This move is not authorized now'?

~cmgames

Go to advanced search