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

2017/10/30

Adding Obeject Automatically

NicolaH47 NicolaH47

2017/10/30

#
I want to create a game where a fly eats cherries. It should start off with one cherry. Every time the fly eat the cherry it should remove it and add it somewhere else. Think like the old snake game. But i unfortunately have no idea where to start, since i am only a beginner. Is there anyone that might be able to help? Thanks
danpost danpost

2017/10/30

#
Basically, you want your world to add a cherry at a random location any time no cherries are in the world. Please take note as to how I phrased it.
NicolaH47 NicolaH47

2017/11/1

#
Okay thank you Let me give it a shot
You need to login to post a reply.