This site requires JavaScript, please enable it in your browser!
Greenfoot back
Marrow
Marrow wrote ...

2021/10/8

how to add a turn based battle system to my game.

Marrow Marrow

2021/10/8

#
YO, I want to know how to add a turn based battle system to my gamey game. I know I should use true and false, and have the character activate the battle when intersecting with an enemy.
danpost danpost

2021/10/8

#
Marrow wrote...
I know I should use true and false
And, what would you be using true and false for?
Marrow Marrow

2021/10/8

#
I mean, true is the main characters turn, and false is the enemy's turn. (new to greenfoot, so I don't know to much.) this way, you can only move during your turn, and the enemy can only move on their turn, though it would be boring if they always did the same thing, I can do that later.
danpost danpost

2021/10/8

#
That should be sufficient to start out.
You need to login to post a reply.