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
HELP - Accessing boolean from another class
By Brunito, with 15 replies.
Last reply by danpost, almost 11 years ago:
The problem was that the last three statements were not being executed by line 54 ('if (dirs. == 0) return;') in the previous code. Those statements were originally being called from the 'act' method so that when this method exits, they would execute. When I moved them to the end of this method, they were being skipped over when only backward direction was possible (because of the 'return').
How to handle more than one level
By tollpatch, with 3 replies.
Last reply by tollpatch, almost 11 years ago:
Thanks danpost and Phytrix for quick replies, danpost, its right that some mistakes are in the code which more represent my ideas. Phytrix, your link was very helpful!! I learned to give a value to the constructor methode. My theoretical wiches are fullfilled: One class is used in all worlds, but with different images. In each level each object can apear with its different image. Thanks for support
Multiple objects
By alagon, with 6 replies.
Last reply by alagon, almost 11 years ago:
Thank you so much :D, but my problem isn't the bomb, it is rather the spawning. I can't spawn 2 bombs that move downwards to the screen, when i write the spawn code: <Code Omitted>It just spawns the bombs one after another, but it does not move them downward towards the screen.
Problems with changing
By JetLennit, with 4 replies.
Last reply by JetLennit, almost 11 years ago:
Thank you!!!!!
Help with atWorldEdge()
By programmer274, with 2 replies.
Last reply by programmer274, almost 11 years ago:
Thanks for the help
java.lang.StackOverflowError
By JetLennit, with 7 replies.
Last reply by FlyingRabidUnicornPig, almost 11 years ago:
Your welcome. I'm glad to help others find errors in their ways. :)
Collision Detection without inbuilt Greenfoot methods.
By suvasam, with 10 replies.
Last reply by suvasam, almost 11 years ago:
The thing is danpost, my tutor has told me to do it using physics formulae (:S) But I've no idea how to go about that. Would it be possible for you to post up a sample of the code?
Help with jumping on top of objects
By Homicdle_moth, with 1 reply.
Replied to by Homicdle_moth, almost 11 years ago:
by the way the human is a subclass of the Mover method i found in a helper class.
help with start up tutorial!
By supergoofus, with no replies.
I don't have a start up grid and i can't figure how to get it on!
How to change mouse picture
By Miikku, with 1 reply.
Replied to by erdelf, almost 11 years ago:
this should help you
getImage().mirrorHorizontally() tints red
By Morran, with 10 replies.
Last reply by davmac, almost 11 years ago:
jagrosh, I'm guessing you're running Greenfoot with a different version of Java than your applet plugin is? Generally the applet plugin should be the most recent version of Java that you installed, whereas Greenfoot won't run with a new version unless you tell it to (use the "select VM" utility).
Opening windows
By allekalle, with 19 replies.
Last reply by davmac, almost 11 years ago:
I guess I stumbled across a limitation of Greenfoot. I was under the impression that the entire Java was possible to use.
I think you've misunderstood something. You
can
use Swing with Greenfoot, it's just very difficult to do it right. That's arguably more of a limitation of Swing than it is of Greenfoot.
Burst gun
By Miikku, with no replies.
How can I make Gun what fires 3 bullets with low delay?
Delay for objects
By h123n, with 6 replies.
Last reply by h123n, almost 11 years ago:
Ok thank you for the demo =D I am going to look into it now.
Paused Game
By RobiJefferson, with 4 replies.
Last reply by RobiJefferson, almost 11 years ago:
thank you, i will try it
817
818
819
820
821
822
823
X