Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Construct 3 runs in the browser & works offline
Students do not need accounts with us
Free education resources to use in the classroom
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
I'm making a game to be played by two players. Player vs. CPU or player versus player. Since each player may have 1, 2 or 3 moves per round, depending on the previous choice that was made, how can I make every player has his turn to play?
You could make a global variable named "Turn"
Then add a "compare variable turn" check...
So if it = 0, it would mean humans turn... 1 might = CPU's turn...
Develop games in your browser. Powerful, performant & highly capable.
I'd tried it already. I'd tried to use a boolean variable, but the problem is how to avoid one for playing in the other turn. I've created groups to activate/deactivate each time. But i think i'll have to reorganize my events order to make it work properly. The thing is, i know there must be a much simpler way to do this, but i didn't realize it yet.
If there is let me know...
I've found, it can be hard to add in, if you add it in mid project... which is why, getting a working prototype up first, is so important...