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
Characters Vibrate ( I NEED ADVICE ) Also why do i get this Error Message- IOException writing debug log
By Jimmywow, with 4 replies.
Last reply by Super_Hippo, over 9 years ago:
Follow that link:
https://www.greenfoot.org/doc/code-tags
For scrolling worlds, try to use the search option above. There are a few around here on the website which you can download.
My background music is weird... Need Help
By Zappib, with 3 replies.
Last reply by Super_Hippo, over 9 years ago:
You have a backgroundMusic object already. I mean you use that variable and if you don't have it, it shouldn't compile. It depends from where you change the world. <Code Omitted>
How to test if the Object is still there
By Emil, with 2 replies.
Last reply by Emil, over 9 years ago:
Thanks man, that works perfectly! :)
Need help with lil crab scenario
By Chokakoi73, with 1 reply.
Replied to by Super_Hippo, over 9 years ago:
- move - if it touches a wall --- move back and turn
remove objects from another class
By Telko, with 3 replies.
Last reply by Super_Hippo, over 9 years ago:
If you can access it, you should be able to change them the same way. The proper way is to use getter and setter methods. <Code Omitted>
danpost go away
By 111213451, with no replies.
I love memes
helppppp
By bdbornilla, with 3 replies.
Last reply by Super_Hippo, over 9 years ago:
It seems like 'counter' is null and not the counter in your world.
I need help on how to make my pistol shoot one bullet, it shoots like a machine gun right now!
By Zappib, with 3 replies.
Last reply by Zappib, over 9 years ago:
danpost you are a legend, I love you mah man. Now I will get A+++ on my ict because of you. I want to meet in real life and shake your hand my good sir. Also thank you for fixing my problem I love you to Nosson if it was not for you replying dan would not have come here and suggested how to fix my problem so I can have my LMB to shoot, i will stop have a fantastic you two <3
classNotFoundException on greenfoot.org
By Nosson1459, with 6 replies.
Last reply by Nosson1459, over 9 years ago:
The following is the exact message that I receive: Application Error X
ClassNotFoundException
greenfoot.export.GreenfootScenarioViewer.class <Details> <Ignore> <Reload> I am also NOW on the latest version of Java (and Greenfoot). When I click on the button that says "Details" a new window pops up which says: Java Plug-in 11.121.2.13 x86 Using JRE version 1.8.0_121-b13 Java HotSpot(
Problem
By ArctiCicle, with 2 replies.
Last reply by Nosson1459, over 9 years ago:
Super_Hippo wrote...
1: Use code tags. 2: Do not just use 'Problem' as your title and don't describe it. 3: Try to not give unrelated information. Giving the following would have been enough;
So basically you should
read this
.
Super_Hippo wrote...
<Code Omitted>
You don't need to use a GreenfootImage. You can just do: <Code Omitted>
Multiple Levels with subworlds
By Dylex, with 2 replies.
Last reply by danpost, over 9 years ago:
If you want all your subworlds to share a single field whose value is retained from world to world, then make it a 'static' field. For example: <Code Omitted>Just make sure to explicity reset the value of these fields in your initial world object. Refer to my
Super Level Support Class
scenario as an example of what I mean.
java.lang.NullPointerException
By heyu, with 10 replies.
Last reply by heyu, over 9 years ago:
Well I solved that problem, I tried to add Trees in an actor class not in a world class. Thanks for the help.
help
By bdbornilla, with 4 replies.
Last reply by Super_Hippo, over 9 years ago:
bdbornilla wrote...
what do you mean?
I mean that you use 'counter' but nowhere in the code shown above you declare what 'counter' is. So you could write some random letters instead and will get the same result.
ANIMATION- Please help
By Jimmywow, with 5 replies.
Last reply by Jimmywow, over 9 years ago:
I guess another way we could fix this is if the w key is released or not pressed it sets jimmy back to his 1st frame or something and that will also fix his legs in the air problem because when it go's through the animation frames it will just be stuck on a certain frame and i would rather go back to the beginning frame
Removing all objects but some
By timothytitus, with 3 replies.
Last reply by Nosson1459, over 9 years ago:
For your code you would probably have to do: <Code Omitted>
378
379
380
381
382
383
384
X