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
Java Editor shown at SIGCSE 2013
By earlyjp, with 1 reply.
Replied to by davmac, over 12 years ago:
The current estimation is 4-6 months. (The work demoed at SIGCSE was mostly done by both Neil Brown and Fraser McKay).
how to successfully end a while loop?
By gquach, with 1 reply.
Replied to by Gevater_Tod4711, over 12 years ago:
To end a while loop either the abort condition has to be false or you can end it using a break statement. You just have to write an if statement or anything else that checks whether the loop should stop and if so you just add a break; and the loop will stop.
how can i add a powerup
By SorrelCeasar, with 2 replies.
Last reply by SorrelCeasar, over 12 years ago:
where will i put this in the world or in the actor that will eat or in a new class
I am in need of some help with my shooting!
By OxiClean, with 4 replies.
Last reply by OxiClean, over 12 years ago:
Oh, I completely forgot, thank you!
Error message; java.lang.IllegalStateException: Actor not in world.
By ddcook82, with 1 reply.
Replied to by danpost, over 12 years ago:
It appears you are calling the 'atWorldEdge' method from the 'Kitty' class constructor. There should be no need to call that method from there. No actions should be taking place at this time (your world is still in the process of being created). If you show your 'Kitty' world class code, someone may be able to help you resolve this.
Arrays and coordinates
By Shawn, with 2 replies.
Last reply by Shawn, over 12 years ago:
Wow! Thanks! My friend suggested using arrays but he was unclear about it but yours is so easy! Lol I guess arrays are a bit far now
Weird rotation problem.
By PiercingGoblin, with 6 replies.
Last reply by davmac, over 12 years ago:
Store the rotation as a double, and calculate the movement amounts yourself (and use setLocation()) rather than using move().
How can you make sprites move in Greenfoot...
By Mamang_Superhero, with 1 reply.
Replied to by SorrelCeasar, over 12 years ago:
please like my game ]
Scrolling help needed
By Game/maniac, with 24 replies.
Last reply by Mamang_Superhero, over 12 years ago:
okay, sorry
Help with a counter plz.
By Barra84, with 2 replies.
Last reply by Barra84, over 12 years ago:
Hi here is a copy of my world code.
Question about pinball game
By maartendrift, with 42 replies.
Last reply by maartendrift, over 12 years ago:
No? Where is it changed then?
How to put an image in the world
By SorrelCeasar, with 4 replies.
Last reply by SorrelCeasar, over 12 years ago:
please like my game
Pinball: Don't know how I can let the Ball bounce back from the paddle
By BradM313, with 11 replies.
Last reply by SorrelCeasar, over 12 years ago:
mine too
Using getObjectsAt()
By Daylend, with 16 replies.
Last reply by Daylend, over 12 years ago:
Alright, so I got everything working. I took pieces of what you said and applied them to the code. What I actually changed was kind of a "duh" moment for me. To fix the code, I removed line 19 as well as line 9, because as you mentioned, they were redundant. I can just put it at the top of the method. I also, instead of removing the blocks, simply changed them to the background image. (Virtually the same thing) Now everything works. I've got one last method to finish (winning), hopefully all goes well and I'll stop bugging you guys lol. Thank you for everything.
Null pointer exception
By Gingervitis, with 2 replies.
Last reply by Gingervitis, over 12 years ago:
ohhh ok. I wonder how I missed that..... Thank You
869
870
871
872
873
874
875
X