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
Help reducing redundant map creation methods...
By alittle_bit, with 15 replies.
Last reply by Yehuda, over 9 years ago:
SR20 wrote...
@danpost Get a life faggot, you just don't know my intellectual capacity in java code retard!
What did he (danpost) do wrong?
danpost wrote...
@SR20 The coding SR20 is providing is not java code -- it appears to be javascript code, which is different from what greenfoot uses. The second code-set given IS java code; however, when using greenfoot, the normal 'public static void main(String vars)' method is not (normally) created by the user -- and certainly not by those who know nothing about java and are just starting out in greenfoot.
What this says is th
Need help with drawn image when it scrolls
By chlo, with 2 replies.
Last reply by chlo, over 9 years ago:
It works great!! thank you so much.
Trick the Turtle Game
By MarkLusala, with 1 reply.
Replied to by danpost, over 9 years ago:
You should start by creating the World and Actor classes you will need for the game. Then build the game up from there. At this point, there is no code to help you with and the assistance requested appears to be too general in nature. We can help with specific issues -- one at a time; but, in general, code must be provided as well as a detailed explanation of what it should do as compared to what it is currently doing.
Global Variable Issues
By ConfusedCairns, with 5 replies.
Last reply by danpost, over 9 years ago:
ConfusedCairns wrote...
The code is accepted but I am still stuck regarding where the ((Piano)getWorld()).addPressedKey(key); is placed. I am thinking this line is vital in order for the rest of the code to work.
A Key object needs to call the method when that key is played.
How to use isKeyDown() to add only one object
By brookexann, with 6 replies.
Last reply by Super_Hippo, over 9 years ago:
Yes. You can always only edit/remove your post if it is the very last in the discussion. If there is any other post below, it is not working anymore.
Kinect & OSX El Capitan 10.11.6
By mtranchida, with no replies.
Hi All, I've reached CH 12 in the Greenfoot text with my class and would love to be able to install the provided MacPorts. The problem I am running into is that the Greenfoot site does not provide a MacPort download for my current operating system version( El Capitan - 10.11.6). When I try to download the latest (Lion) MacPort provided my computer prevents it from installing because it recognizes that it was created for a different OS version. I did find this article online: https://creativevreality.wordpress.com/2016/01/26/setting-up-the-kinect-on-osx-el-capitan/ but am hesitant to try it. Has anyone here? Greenfoot authors? Can you provide assistance?
How do I add just one Igloo every 100 actions?
By jbush15, with 6 replies.
Last reply by SR20, over 9 years ago:
All good
All Good
My Health Bar doesn't work.
By Zaya_Neal, with 5 replies.
Last reply by SR20, over 9 years ago:
No Worries
No Worries
isTouching problem with greenfoot game
By alpal, with 4 replies.
Last reply by SR20, over 9 years ago:
No worries
Change actor image
By r@nD0m, with 3 replies.
Last reply by danpost, over 9 years ago:
Did you notice the names of the files that were trying to be found? Color02.png Color01.png How do they compare with the real names of the files? Correct line 39 so that it looks for the files using the correct names.
How do I add 100 health every time my snowman collects an igloo
By jbush15, with 2 replies.
Last reply by danpost, over 9 years ago:
You need to get a reference to the Health object in the world and adjust its value: <Code Omitted>(replace line 5 with these two lines).
Need help to create counter
By skitlesas, with 1 reply.
Replied to by danpost, over 9 years ago:
For more uniformly placed blocks, change your prepare method to this: <Code Omitted> I do not see anything related to a counter anywhere in the given code (nothing added to the world, no collision detection and not even a class for the counter). Please refer to my
How do I record what the user types?
By CodeBoy, with 6 replies.
Last reply by CodeBoy, over 9 years ago:
Thank you I've changed the code and it is now working.
.setBackground() Is compiling but not executing
By WhiteRoseAshes, with 5 replies.
Last reply by danpost, over 9 years ago:
You can probably drop the 'slow' method altogether and replace line 18 above with this: <Code Omitted>
I know the problem, just don't know how to fix it.
By ET78759, with 7 replies.
Last reply by ET78759, over 9 years ago:
Thanks, I did everything you suggested, and everything worked perfectly. Am currently uploading the latest version.
350
351
352
353
354
355
356
X