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
move on its own
By l0laty0u, with 2 replies.
Last reply by l0laty0u, almost 12 years ago:
you got it bby;)
how do you get animal when youve already created other classes
By Fudge13, with no replies.
could please relie quik
im in lesson now
By Avik, with 6 replies.
Last reply by Avik, almost 12 years ago:
Please could someone give me the code for the coins scrolling with the background.!!"!!!!
HELP
By emily59912, with 7 replies.
Last reply by l0laty0u, almost 12 years ago:
you got it bby ;)
Need some help with lost world/locked scenario
By Barra84, with 3 replies.
Last reply by Barra84, almost 12 years ago:
Hey davmac thanks for the advice i managed to find a decompiler from http://java.decompiler.free.fr/ which allowed me to retrieve all my source code :) figured i would post it here incase others had the same problem.
maze game
By l0laty0u, with 4 replies.
Last reply by l0laty0u, almost 12 years ago:
i dont want it to
getOneIntersectingObject()
By Kartoffelbrot, with 4 replies.
Last reply by Kartoffelbrot, almost 12 years ago:
Thank you!
CODE HELP PLZ
By SWAG, with 22 replies.
Last reply by danpost, almost 12 years ago:
You could add an instance (mirror of stunTimer) 'invincibleTimer' in your player class . Set it to the same value that 'stunTimer' gets set to right after calling 'enemy.getStunned'. <Code Omitted>
New World Help
By SWAG, with 42 replies.
Last reply by SWAG, almost 12 years ago:
danpost wrote...
Remove lines 7 and 13 through 19 from this class and add them into your first playable world (easyLevel). I am confused. In the 'changeLevel' method, you are showing the first level as 'easyLevel' and the second level as 'hardLevel'; yet you indicated above that your second world was 'background'.
It WORKED thanks.
GIF Help Fast Please :)
By FCG, with 13 replies.
Last reply by danpost, almost 12 years ago:
I am sure you caught it, but there was a typo in the 'mirrorImagesHorizontally' method. The 'for' statement has a comma that should be a semi-colon. If you are placing your actor too close (10 or less pixels) to the left or right side of the world, you may get that. If that is the case, you can either change the '10's in the code above to a smaller number or start your character further from the edge of the world. Other than that, I cannot say what the problem is. I have tested the code given in the gif animation scenario you mentioned above and it seems to work properly.
How to add your own background?
By daisy_chains, with 1 reply.
Replied to by danpost, almost 12 years ago:
Right-click on your world icon in the panel on the right, near the top, and select 'Set image...'. In the pop-up window, click on the 'Import from file...' button. Browse to select the image file of choice and click the 'Select' button.
2D omni-directional world scrolling engine?
By Entity1037, with 3 replies.
Last reply by MatheMagician, almost 12 years ago:
It is a pretty simple and awesome scenario :). Plus, most of the others are bug-prone.
add a new object
By vbh, with 7 replies.
Last reply by vbh, almost 12 years ago:
that works thanky very much :-)
NullPointerException
By al_griff, with 6 replies.
Last reply by danpost, almost 12 years ago:
Thanks, davmac. That is what I was thinking.
getOneTouchingObject();
By Kartoffelbrot, with 4 replies.
Last reply by Kartoffelbrot, almost 12 years ago:
Great idea! Thank you!
840
841
842
843
844
845
846
X