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
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?
Where is greenfoot
By leopoldo.finol@gmail.com, with 1 reply.
Replied to by Super_Hippo, over 9 years ago:
Did you search for "Greenfoot" in your Computer. For me, it is in C-Programs(x86)-Greenfoot
Comparing images never returns True
By zomoruk, with 2 replies.
Last reply by davmac, over 9 years ago:
When you use "==" you are checking if two things refer to the same object, not to two objects that are the same. Because you have just set the image (line 28) to a
new
image object, there is no way that this can now be the same image object as the pre-existing 'img'. You
could
compare the images using the .equals(...) method, something like: <Code Omitted> And this
might
work as you want, but it also might not: exactly how GreenfootImage compares for image equality is not formally specified. Even if it do
I need my subclass of Actor(my character) to gain a boost in speed
By Katsura, with 4 replies.
Last reply by Scarlett, over 9 years ago:
Hi I know what to do
380
381
382
383
384
385
386
X