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
Can someone explain how I can get a picture withoud a background
By martijn13039, with 2 replies.
Last reply by martijn13039, about 14 years ago:
thx so much
Text?
By toytttttt, with 19 replies.
Last reply by sp33dy, about 14 years ago:
Great to hear!!! :)
error
By -nic-, with 20 replies.
Last reply by -nic-, about 14 years ago:
hand on forehead moment
mouse clicking
By tylers, with 11 replies.
Last reply by tylers, about 14 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, about 14 years ago:
Yay it works on internet explorer!
Moving Between Worlds.
By Dingram, with 3 replies.
Last reply by danpost, about 14 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, about 14 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, about 14 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-, about 14 years ago:
clever a bit like a life meter nice :)
is mouse down
By -nic-, with 4 replies.
Last reply by -nic-, about 14 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, about 14 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, about 14 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, about 14 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, about 14 years ago:
Excellent, thank you very much!
992
993
994
995
996
997
998
X