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

2015/2/9

3 player game

Moho Moho

2015/2/9

#
i made a 3 player tron game and i have set right now when a player intersects a player there is 1 losers and 2 winners but i want to make it where if one of them dies the game continues until 2 die meaning that i only have 1 winner!
danpost danpost

2015/2/9

#
When one dies, check the number of players in the world before removing the one that dies. If the value is 2 then do the game over routine. If it is 3, then just remove the dead player (and its trail?) from the world.
Moho Moho

2015/2/10

#
that is kinda the reason it through me off the fact that there is a trail and how exactly would the code look like then
danpost danpost

2015/2/10

#
Moho wrote...
how exactly would the code look like then
I do not know .. what does it look like right now?
You need to login to post a reply.