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

2018/12/17

maze

BlueberryGaming BlueberryGaming

2018/12/17

#
i have multiple levels and i want to make an end point that swaps levels then when it gets to last level it ends game [Disallowed URL] image of my worlds
danpost danpost

2018/12/17

#
BlueberryGaming wrote...
i have multiple levels and i want to make an end point that swaps levels then when it gets to last level it ends game << Image URL Omitted >> image of my worlds
Cannot access your personal computer to get image. Upload to an image sharing site; or just describe clearly in words here. Btw, by saying "levels", it does not give any idea of how your class(es) are structured. Also, you need to show some attempt (in code) at trying to accomplish what you want. That will greatly aide in our understanding of exactly what you have to work with.
BlueberryGaming BlueberryGaming

2018/12/18

#
i want it to swap worlds like if i finish world one and i reach end point it changes to world 2 or i am on finale level it ends game i am new to code
danpost danpost

2018/12/18

#
BlueberryGaming wrote...
i want it to swap worlds like if i finish world one and i reach end point it changes to world 2 or i am on finale level it ends game i am new to code
As you have basically said -- in pseudo-code:
// changing levels
if (reached endpoint) set next level active

// ending game
if (reached end of last level) stop greenfoot or set game over world active
You need to login to post a reply.