@erdelf, the score-code/scoreboard/highscores is something that comes with the newest version of Greenfoot (v. 2.2.0 and up). You should be able to import the code directly.
It would be much faster to have an Actor 'Tile' class in an unbounded world. Then the world can move all the tile actors in the appropriate direction when a key is held down. I have a sample scenario, if you want to see.
Please remove the 'Greenfoot.start()' statement from the world constructor. I was dead before I even started playing (just by the time it took to read the description). Also cannot reset, probably do to static variables in your code not being dealt with properly. Would also be nice if you would inform us as to what keys to use to control the car and shoot.
Please remove the 'Greenfoot.start()' statement from the world constructor. I was dead before I even started playing (just by the time it took to read the description). Also cannot reset, probably do to static variables in your code not being dealt with properly. Would also be nice if you would inform us as to what keys to use to control the car and shoot.
@seal308, I sure it is just a matter of changing the image of the one actor.
@sushi, there is a glitch, in that sometimes when a new frog appears under the snake (possibly just at the head) that the snake will not be able to eat it. Happened to me at 600, but I am sure it was just random chance.
2012/6/12
Tile Pixel Scrolling
2012/6/10
Star_Trek
2012/6/9
Tile Pixel Scrolling
2012/6/9
Space Invaders
2012/6/9
Space Invaders
2012/6/9
Space Invaders
2012/6/8
Progress bar/Health bar class
2012/6/4
Snake
2012/6/2
Typing