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
error
By -nic-, with 20 replies.
Last reply by -nic-, over 12 years ago:
hand on forehead moment
mouse clicking
By tylers, with 11 replies.
Last reply by tylers, over 12 years ago:
oh thanks i manage to repair it tit works now. i needed to do this. <Code Omitted>
High Score
By dlanni, with no replies.
Is high score up and running for all games now? It happened on two different games I tried in the last hour. This is fun.
What to do when on the greenfoot website says this:
By drhorriblejr, with 4 replies.
Last reply by drhorriblejr, over 12 years ago:
Yay it works on internet explorer!
Moving Between Worlds.
By Dingram, with 3 replies.
Last reply by danpost, over 12 years ago:
It would need to be directed to the parent class. It would be (with 'MyWorld' as a sub-class of World ): <Code Omitted>The variable VARIABLE cannot be 'private' or access to it will be denied, and you will have to either make it public or write the aforementioned methods and use them for access.
On added to world.
By Razzo, with 2 replies.
Last reply by Razzo, over 12 years ago:
That will do perfectly :D Thankyou :D
What is the code that objects in the game can let fall different items
By martijn13039, with 9 replies.
Last reply by martijn13039, over 12 years ago:
oow Thank you so much now I understand, it´s so easy thx!!!
delay script
By -nic-, with 4 replies.
Last reply by -nic-, over 12 years ago:
clever a bit like a life meter nice :)
is mouse down
By -nic-, with 4 replies.
Last reply by -nic-, over 12 years ago:
hmm i see what you mean but i think ill keep mouse pressed thx
java.langNullPointerException
By Redskins201054, with 10 replies.
Last reply by ttamasu, over 12 years ago:
I'm probably stating the obvious but let me get it straight: you have a instance of the class called _recorder and you initialized it like so : _ recoder = new Recorder(); // or something like this before you made the call: _recorder.keyPressed("S2"); right?
Level Saving - String to Object
By Razzo, with 4 replies.
Last reply by danpost, over 12 years ago:
Or, if you want to be more explicit: <Code Omitted>to avoid 'Tree' from producing 'Treefrog'.
How can I remove an object from the world?
By IsVarious, with 33 replies.
Last reply by IsVarious, over 12 years ago:
danpost wrote...
If you are calling a method that is not in the same class code as where you are calling from, then you must tell it (the compiler) where that method is located. In your case, the method was in the Board class (not just the World class). The methods inhereted from the world you can just say 'getWorld().methodName()'; but for methods you write in your Board class, you have to tell it '((Board) getWorld().methodName();', or it will not find it. The '(Board) getWorld()' part is what 'casts' the world returned to you Board class.
Wow, I kinda thought it was something
World Subclasses
By Dingram, with 2 replies.
Last reply by Dingram, over 12 years ago:
Excellent, thank you very much!
Changing the picture of the mouse icon.
By MarkooP, with no replies.
Hi. I am currently attempting to change the icon of the mouse pointer into a transparent GIF. However, I'm not sure exactly how this can be done. I did do some research before asking you guys, but none of it made sense. If somebody could be explain how, it would be greatly appreciated.
Greenfoot 2.2 beta bug?
By Duta, with 7 replies.
Last reply by Duta, over 12 years ago:
That's a shame. I guess I'll just downgrade to the previous version until the fix is released
986
987
988
989
990
991
992
X