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
Private Message!!!
By ManiHallam, with 5 replies.
Last reply by ManiHallam, over 12 years ago:
So have I. haha, LoL. You reminded myself.
Signing Applets
By kiarocks, with 5 replies.
Last reply by kiarocks, over 12 years ago:
Yep!
Why is this throwing a NullPointerException?
By darkmist255, with 3 replies.
Last reply by darkmist255, over 12 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 12 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 12 years ago:
See my response in the discussion
Creating a method
.
Creating a method
By DPD4AU, with 5 replies.
Last reply by danpost, over 12 years ago:
Would this work: <Code Omitted>
Play and pause game greenfoot
By isaiasdd, with 6 replies.
Last reply by davmac, over 12 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 12 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 12 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 12 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 12 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 12 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.
Using your introduction to Greenfoot book...compilation error occurs
By MarkStPauls, with 3 replies.
Last reply by Gevater_Tod4711, over 12 years ago:
<Code Omitted> This is the move method from Crab. If you've got this method you easily can change it so that it works just like you want.
[Help] Searching Classes
By MathManiac, with 20 replies.
Last reply by kiarocks, over 12 years ago:
I'm talking about my method, which uses the class loader to get a list of classes using reflection
941
942
943
944
945
946
947
X