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

What is happening right now?

danpost

reply to How to check if you have detected a different color

By danpost - about 2 hours ago
Would help if your png was made available for viewing, as well as the code for the lander and your world.
danpost

reply to Animating an Attack

By danpost - about 2 hours ago
The last reply in this. discussion thread might be useful to you.
danpost

reply to Leaderboard bug

By danpost - about 4 hours ago
ant wrote...
it's not sorting through ALL from the file and everytime someone plays, their recent score gets added to the leaderboard and kicks out the top score or any other score.
Much improvement can be made with your code: * no need to pass the highscores array to the highscore method; * no need to write a sort algorithm (use java.util.Collections.sort); * should not use an act method in this class (use constructor or addedToWorld method); I cannot see where a recent score gets added (code required).
danpost

reply to How do you detect a click in an area on the world

By danpost - about 4 hours ago
TobyRoby wrote...
do you mean like this? because i am still getting the same error
No, sorry. I guess I needed to be more specific -- in your MyWorld class code above. Dog-nabbit. I also mean line 22, not 14.
danpost

reply to Swapping Actors in a 2d array

By danpost - about 5 hours ago
M123D wrote...
I'm trying to make a game based off of candy crush but I can't seem to get the swapping of the actors right. In my code, all the different coloured candies extend a Candy class and they are placed in MyWorld according to how many pixels apart they are.
Please show Candy class code and MyWorld class code.
danpost

reply to image in other class

By danpost - about 5 hours ago
Simson1000 wrote...
Hello,I have a problem with my new game.My "shooter1" is changing his image when I'm going left.And now i want that my bullet is changing his direction when i change my image and shoot
Please show class codes for shooting actor.