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
A strange NullPointer
By darkmist255, with 3 replies.
Last reply by darkmist255, almost 12 years ago:
Well, all appears to be fine and dandy after cleaning up a bunch of code, I think I must've called the method twice? That was more difficult than it should've been :D.
nullpointerexception
By tylers, with 1 reply.
Replied to by davmac, almost 12 years ago:
Then 'p' is null.
Help with a function? :)
By Jesse_Orange, with 9 replies.
Last reply by Jesse_Orange, almost 12 years ago:
This code in SnakeHead adds a SnakeBody <Code Omitted> This is the SnakeBody
onGround question
By xChocoMel, with 1 reply.
Replied to by MrDoomsday, almost 12 years ago:
Why not just add a second boolean like "onPlatform()" and use Platform.class in that one instead?
make .apk
By akin, with 3 replies.
Last reply by trash1000, almost 12 years ago:
Sorry, I really don't know what you're trying to say.
What program should I use to make the sprites for my programs?
By steved, with 4 replies.
Last reply by steved, almost 12 years ago:
Thanks everyone! I have paint.net now and I'm happy with it.
Making yourself null
By SPower, with 8 replies.
Last reply by SPower, almost 12 years ago:
Thanks for the explanations!
Changing Levels
By dark_sky, with 2 replies.
Last reply by dark_sky, almost 12 years ago:
Sounds good, thank you for your help!
Changing importance of overlapping objects
By MrDoomsday, with 2 replies.
Last reply by MrDoomsday, almost 12 years ago:
Thanks! This answer is exactly what I was looking for.
How can i detect the edge of the world?
By dandefender2, with 4 replies.
Last reply by steved, almost 12 years ago:
I used this code to make it sort of bounce off the edges but I'm still working on it: <Code Omitted>You could change the distance by changing the number so it fits the siz
the necessity of public and private
By Gazzzah, with 1 reply.
Replied to by mjrb4, almost 12 years ago:
There's 4 levels of visibility in Java - two are public and private, another is protected and the 4th is "package private". The 4th is different because it has no keyword, it's the "default" visibility per-se, which is what you get if you leave public / private off. Your code may still work when using the default visibility since usually in Greenfoot all your code is in the same package, but unless you're dealing with packages and specifically want package private access for some reason, you should still use pick a visibility modifier for good practice.
Changing Images for Visual Appeal
By JayWood860, with 11 replies.
Last reply by JayWood860, almost 12 years ago:
this is perfect! thanks
make a simple dialogue
By Andriyanto, with no replies.
hi.. i want ask..how make a dialogue in grenfoot.? i want make a dialogue for my game..
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space
By RGW, with 1 reply.
Replied to by danpost, almost 12 years ago:
It appears you have at lot of, or very large image files that are hogging up memory. Remove a large one or two from the 'images' folder and try to load it then; you will still get an error, but it will probably just be one that state 'FileNotFoundException'; and you should then be able to edit it. Let us know if that worked.
Collision Detection
By dlanni, with 6 replies.
Last reply by danpost, almost 12 years ago:
I do not know how you could miss it! Go to the home page, look underneath this comment, look to the right under 'Latest Scenarios', go to my page and look through my scenarios. Look in 'Scenarios' (just Updated). Go
here
.
962
963
964
965
966
967
968
X