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
Greenfoot To Java Commands
By TehRyan, with 3 replies.
Last reply by dan11, over 11 years ago:
If you just want to port a scenario, under share in Greenfoot there is an "application" option that will put it into a .jar file. That file is runnable, but you can put it into a .exe with launch4j and give it an icon.
Here
is my Snake game as an .exe file with an icon.
I am not able to get any information from the mouse
By sengst, with 3 replies.
Last reply by sengst, over 11 years ago:
It worked! Thanks again!
Explanation of "super"
By Amy, with 10 replies.
Last reply by NikZ, over 11 years ago:
trimil wrote...
The keyword super can also be used to access the super-class's methods like this:
As you can see "
super
" has access to the
super
-class it belongs to.
Some one help me spot the issues?
By Amightymuffin, with 2 replies.
Last reply by Amightymuffin, over 11 years ago:
thanks for the help i forgot about the act() function i think this now crashes when the dolphins hit the end of the screen?
Help with bringing object back in my world
By memara, with 3 replies.
Last reply by kinobi, over 11 years ago:
the first to Name's where a "new" is in front sorry
Showing explosions when all enemies removed
By davemib123, with 4 replies.
Last reply by danpost, over 11 years ago:
That should be sufficient.
HELP!!! Scoreboard not working!!
By Ichliebejenni, with 8 replies.
Last reply by Ichliebejenni, over 11 years ago:
thanks ill try and work it out :)
wait and walking on platforms
By Moho, with 3 replies.
Last reply by danpost, over 11 years ago:
That code would need to be placed somewhere around that which you call 'animate' from: <Code Omitted>Something like that.
Help walking on platforms
By Moho, with 3 replies.
Last reply by NikZ, over 11 years ago:
Is there a limit to acceleration? What if you character is falling through the platform because it skipped over it?
'this' and NPE
By Phiesel, with 1 reply.
Replied to by danpost, over 11 years ago:
Your 'quest1' object was never added into the 'title' world. In line 5 (Quest class), 'getWorld' will return a 'null' value. Line 7 tries to execute 'setQuest' on a non-existent world.
Platform wall help!
By rrose5, with 12 replies.
Last reply by rrose5, over 11 years ago:
Oh wow I cannot believe I missed that, thought I had it in the act method for sure , thanks
Image display from being invisible after it's number has been generated.
By 7788, with 8 replies.
Last reply by danpost, over 11 years ago:
Please explain what you have -- that is, are these classes: Numbers: name of class? extending what? code? Crosses: name of class? extending what? code?
please help spwaning obstacle
By kinobi, with 3 replies.
Last reply by kinobi, over 11 years ago:
ok never mind i got it like this public class hinderniss extends Actor { double hinderniss_SPEED = -3.0; public void act() { move(); turnrandom(); spawnhinderniss(); despawnhinderniss(); } public void move() { setLocation ( (int) (getX() + hinderniss_SPEED), getY() ); } public void turnrandom() { if (Greenfoot.getRandomNumber(100) < 10) { turn(Greenfoot.getRandomNumber(90) - 45); } } public void spawnhinderniss() {
Please Help. Keep getting errors
By Lboogie0208, with 12 replies.
Last reply by danpost, over 11 years ago:
You are still going to have problems with your image files not being found. From your original posting of the HomeworkWorld class, the suffixes for the image and sound strings were to be concatenated when passing the fields to the new Emoticon objects (within the 'for' loop, in the 'new Emoticon(/* here */);').
Adding sound: playing different sounds based on image clicked
By blangley83, with 9 replies.
Last reply by danpost, over 11 years ago:
@Lboogie0208 -- please start a new discussion thread for your issue and use the 'code'tag below the input box to insert your code into your post. Having the ability to refer to line numbers would be a great help in being able to assist. NVM -- I see that you have started a new one.
666
667
668
669
670
671
672
X