This site requires JavaScript, please enable it in your browser!
Greenfoot
Username
Password
Remember Me?
Sign Up, Lost Password
Activity
About
Documentation
Download
Discuss
Scenarios
Discussions
You need to login to take part
Current Discussions
Facing Left and Shooting Left
By Programmer1998, with 1 reply.
Replied to by Super_Hippo, over 11 years ago:
You can use a boolean to keep track of the direction it is facing. The 'animateRight' and 'animateLeft' methods should look similar.
How to cycle through a String of images ! Help ASAP!
By Hades, with 4 replies.
Last reply by Hades, over 11 years ago:
Oh, thanks for the code but I got it working a different way after spending some time on it...unfortunately my computer just crashed and my project got wiped so this is going to be fun spending another 16 hours doing this. I appreciate all the help though.
Stopping Greenfoot
By RagingAsian, with 1 reply.
Replied to by danpost, over 11 years ago:
Your Counter class probably has a 'getValue' method (or a method that returns its value) in it: <Code Omitted>should suffice.
empleo
By jam73, with no replies.
se puede conseguir empleo creando juegos en greenfoot??
AYUDAAAA
By jam73, with no replies.
si ya termine mi juego como le hago para crear el setup o el executable o no se como hacer para que lo juege todo el mundo
Enemy moving on Y-axis
By Cathy3210, with 2 replies.
Last reply by danpost, over 11 years ago:
Following your logic, lines 3 through 6 will execute and the boss will move left until 'getX' return a value of 716 or less (it is possible to skip over 716 if the value of 'speed_' is greater than one). Then, if 716 is not skipped over, lines 7 through 10 will have the boss move down and lines 11 through 18 will never execute because 'else' would require that the previous condition was not met (but, it was!). If 716 was skipped over, then lines 7 through 10 would not execute and the condition on lines 11 would be checked. If the boss is not at either of those y coordinates, 237 or 465, the
Need help with ScoreBoard
By Cathy3210, with 2 replies.
Last reply by Cathy3210, over 11 years ago:
Thank you very much! It works perfectly now. (:
Greenfoot.isKeyDown(any) ???
By manster2008, with 43 replies.
Last reply by danpost, over 11 years ago:
akilino wrote...
What about the delete key? I want to add a condition for the "delete" key, and it doesn't work.
No. 'pgup', 'pgdn', 'home', 'end', 'del' and 'ins' are not keys that are recognizable through greenfoot. You could, if you wanted, detect and act upon one of the function keys, 'F1' through 'F12', (or any other keys) to function as any of those keys.
Help with changing worlds
By jmstinson221, with 2 replies.
Last reply by danpost, over 11 years ago:
You cannot set a class to be an active world -- you must create a world from the class to be the active world: <Code Omitted>
Ending game when falling in pit
By Rass, with 4 replies.
Last reply by Rass, over 11 years ago:
Thank you very much, danpost. The code is working, if any problems occur, I will post again. Thanks very much!
getImage() int returns
By TURKEYNOODLE, with 8 replies.
Last reply by winnerpig, over 11 years ago:
as up floor said ,“==” is comparing the reference of objects but not the content itself
How I make my timer working
By sun12, with 7 replies.
Last reply by sun12, over 11 years ago:
I got it. Thank you for your help !!! :)
How does random work?
By MrFlesh, with 9 replies.
Last reply by MrFlesh, over 11 years ago:
Super_Hippo wrote...
I don't know what exactly you are doing with the 'getHeight' there. This code should work, but not sure if it does what is should: <Code Omitted>
Thank you :D
High Scores
By ZOE, with 16 replies.
Last reply by danpost, over 11 years ago:
ZOE wrote...
So i need to have a method in ScoresTable class that update the dispay of the scores? I need to remove lines 7 through 11, right?
danpost wrote...
I suggest the you post the
entire
ScoresTable class so that it can be dealt with first.
I will not blindly suggest what you should do in this case.
Transferring Actors From One World To Another
By Xelon1620, with 3 replies.
Last reply by Xelon1620, over 11 years ago:
Never Mind I found the answer to my problems on a earlier post of yours. Thank you for your help
579
580
581
582
583
584
585
X