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
Ich weiß nicht
By Cocky, with 21 replies.
Last reply by Cocky, over 11 years ago:
ich habe es schon herausgefunden.
Create delay for one Actor
By SPower, with 12 replies.
Last reply by SPower, over 11 years ago:
Sorry MatheMagician, I didn't read your code really good.
Private Message!!!
By ManiHallam, with 5 replies.
Last reply by ManiHallam, over 11 years ago:
So have I. haha, LoL. You reminded myself.
Signing Applets
By kiarocks, with 5 replies.
Last reply by kiarocks, over 11 years ago:
Yep!
Why is this throwing a NullPointerException?
By darkmist255, with 3 replies.
Last reply by darkmist255, over 11 years ago:
That's hilarious, I removed that in my code when I figured out the problem, I never even realized how backwards that was. Oh the joys of small changes causing big problems.
How can I make a pause between two action of methods (in Act method)?
By ManiHallam, with 37 replies.
Last reply by danpost, over 11 years ago:
Try this before going on: use this statement in the Counter class (the last line in the update() method) <Code Omitted>
One Method all together
By DPD4AU, with 3 replies.
Last reply by danpost, over 11 years ago:
See my response in the discussion
Creating a method
.
Creating a method
By DPD4AU, with 5 replies.
Last reply by danpost, over 11 years ago:
Would this work: <Code Omitted>
Play and pause game greenfoot
By isaiasdd, with 6 replies.
Last reply by davmac, over 11 years ago:
Check the "controls" menu; the shortcuts are listed there.
Error at setLocation(mouse.getX(), mouse.getY());
By Reck, with 3 replies.
Last reply by davmac, over 11 years ago:
Better to use this: <Code Omitted> (Because getMouseInfo() can in some cases still return null even if mouseMoved() returns true).
How to disappear a Coin?
By valaji_hetal, with 3 replies.
Last reply by danpost, over 11 years ago:
Do not have time to answer your questions, now. Will respond later this evening if noone has helped you by then. Best regards.
Jar doesn't find file
By Lakorta, with no replies.
Hi, I have a little problem with the .jar file from my Greenfoot project. I load a file (map.dat) with "BufferedReader br = new BufferedReader(new FileReader("data/map.dat"));". It works really fine, until I compile my project to a .jar file. Then it couldn't find the map.dat. If I use the complete path /home/lakorta/greenfoot/scenarios/game/data/map.dat (Windows: C:\...\Greenfoot\scenarios\game\data\map.dat) he could load it. Please help!
How can i make a global integer
By ChilloManiac, with 4 replies.
Last reply by danpost, over 11 years ago:
You need to use the reference to the world, not the class name of the world in line 6 -- change CrabWorld.getObjects... to wrold.getObjects (that is how you spelled it).
getRandomNumber
By Moritz, with 5 replies.
Last reply by MatheMagician, over 11 years ago:
Moritz, something I didn't mention is that my method could return 20 and it could return 30.
Errors
By buggy213, with 4 replies.
Last reply by Gevater_Tod4711, over 11 years ago:
Line 41 is the wrong line like nccb just said, but your variable x is from type boolean, so you also can write if (x) { ... }. It is the same effect, this one is just shorter.
931
932
933
934
935
936
937
X