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
terminal window
By rachpaguia@gmail.com, with 7 replies.
Last reply by rachpaguia@gmail.com, over 9 years ago:
Thank you so so much!
I need help URGENTLY :(
By Katsura, with 5 replies.
Last reply by Super_Hippo, over 9 years ago:
For linking portals, I would think of doing it like the following. (Call the addPortal method when you want to add a portal. Depending on how you want to do it, this method could look different or could be simplified.) For the other part, in your counter, when the value changes, check if it is 10.
Cannot find method
By SeaShore, with 1 reply.
Replied to by danpost, over 9 years ago:
Line 14 will not find the 'endGame' method in the World class and will not look for it in your MyWorld class until you reference the world as a MyWorld type world. Change line 13 to: <Code Omitted>
Blast animation
By horde, with 13 replies.
Last reply by danpost, over 9 years ago:
I think the distance moved has to be the differences in the width -- not plus or minus the sum of the width (for one thing). The normal width looks wrong at line 24 (for another).
I need help urgently please!
By Scarlett, with 2 replies.
Last reply by danpost, over 9 years ago:
If 'Burger' counts the number of burgers eaten and you want an apple to spawn after every ten burgers are eaten, then line 5 should be: <Code Omitted>However, the code is probably misplaced. It needs to be located immediately after the following: <Code Omitted>Or, at least, the conditional should be placed there (it can still call this method, but without conditions in the method itself).
end game
By rachpaguia@gmail.com, with 10 replies.
Last reply by danpost, over 9 years ago:
rachpaguia@gmail.com wrote...
My problem is that my background isn't scaled to the screen of greenfoot.
Then use this: <Code Omitted>
hello could someone help me
By jasmine.h, with 1 reply.
Replied to by Super_Hippo, over 9 years ago:
To resize an image, use the scale method from the GreenfootImage class.
i want to pass ict
By lordt, with 3 replies.
Last reply by Super_Hippo, over 9 years ago:
You are adding Counter1 to the world, why not Counter2? I have a question. What are Level1 and Level2?
Help needed urgently
By Scarlett, with 1 reply.
Replied to by danpost, over 9 years ago:
After you create the lives counter, use the 'setValue' method to set the number of lives allowed. Then, use 'lives.add(-1);' to lose a life.
help on list and iterator
By jasmine.h, with 4 replies.
Last reply by danpost, over 9 years ago:
At the top of the code, where you see the following line: <Code Omitted>add the following lines: <Code Omitted>
Greenfoot terminal window keeps opening
By Avilianne, with 6 replies.
Last reply by danpost, over 9 years ago:
Avilianne wrote...
<Image Omitted> uhm... it popped up again, and now it's longer...
Looks like you dropped an 'm' in the extension to a reference to an 'mp3' sound file (called 'NomNom').
enter
By fxrrxr, with 2 replies.
Last reply by danpost, over 9 years ago:
The basic code for detecting a single key entry (for "enter" key) is: <Code Omitted>Your scenario must already be running and the code must be in an act method (or a method it calls) of a currently active object (either the currently active world or an actor that is currently in that world) .
I Can't Shoot
By StevenPeven, with 1 reply.
Replied to by danpost, over 9 years ago:
Need to see current codes (with some attempted code at what you are trying to achieve) so we can help fix it.
How to add a score counter that people can see
By Hamza_Abdulla03, with 1 reply.
Replied to by Super_Hippo, over 9 years ago:
Try to import the Score class (Edit→Import...) and follow the instructions.
Please help!
By JadeKnowsYou, with 1 reply.
Replied to by Super_Hippo, over 9 years ago:
With what do you need help?
380
381
382
383
384
385
386
X