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

erdelf's Comments

Back to erdelf's profile

remove the act method in the food class and add this to the eat method of the enemy and the player: getWorld().removeObject(food); put it at the end of the if call.
oh and btw. you should make the light a bit bigger.
here, I worked an half hour on it and I made it; I worked with the last update you both uploaded and this is the result. put these files in the scenario folder Darkness.java: https://docs.google.com/open?id=0B5KmnySxat4WVVhEZFdpOFhNQmM ScrollingBg2.java: https://docs.google.com/open?id=0B5KmnySxat4WWUtWWGYyaHl1TFE Worldy.java: https://docs.google.com/open?id=0B5KmnySxat4WMWpISTlsakFZa1E
Nami would be better as money catcher
stop insulting eachother. this is respectless
erdelferdelf

2012/10/23

this is a sniper, but fires like a machine gun. nice idea
store the score before you add the score board
look in the highscore
look in the highscore