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
How to handle the act method, if there is no object
By wueschn, with 3 replies.
Last reply by Super_Hippo, over 9 years ago:
The object is not "deleted", it is only removed from the world. You can do anything with it after it was removed which does not require the object to be in a world.
How do you make walls in a top game?
By Zappib, with 1 reply.
Replied to by danpost, over 9 years ago:
You could reduce the transparencies of the images of the inside walls (just by one) so your character can determine which he can go through and which he cannot.
I need help with enemy movement
By Skrylo, with 1 reply.
Replied to by danpost, over 9 years ago:
Each row of invader must be controlled from one central location -- in other words, they should not each control their own movement. On top of that, all rows of invaders must be controlled from one central location because if any row has an invader at the edge and needs the row to drop and move back across the other way, then all the rows need to drop and move back (in succession). My
Space Invaders Movement Demo
scenario shows one way to accomplish this.
Programming A.i. for Pong
By Kronos, with 15 replies.
Last reply by Super_Hippo, over 9 years ago:
Try this:
BACKGROOUND
By rachpaguia@gmail.com, with 8 replies.
Last reply by Nosson1459, over 9 years ago:
don't be sorry the forum is here for a reason
how to create a scoreboard
By fxrrxr, with 19 replies.
Last reply by rachpaguia@gmail.com, over 9 years ago:
Thank you so much ! god bless
Picking Things Up
By bluebananas, with 10 replies.
Last reply by Super_Hippo, over 9 years ago:
I think you either have to control the BuoyKids from the Bob which is throwing it or change a variable as a condition for the hagis method in the BuoyKids object when releasing it. I doubt that BuoyKids should be a subclass of Bob.
Avoid randomly generated moving platforms from overlapping
By beshie, with 1 reply.
Replied to by danpost, over 9 years ago:
Add the following to the Ice class: <Code Omitted>Just be sure that there is room for one at all times you try to add one or the scenario may appear to "freeze".
New Bg Music
By rachpaguia@gmail.com, with 9 replies.
Last reply by rachpaguia@gmail.com, over 9 years ago:
Oh, i didn't know that was possible. thank you so much for your help!
Code for making an object orbit another is causing a slow spiral rather than an orbit
By macho_horse, with 1 reply.
Replied to by Super_Hippo, over 9 years ago:
I think it is easier to understand why this is not forming a circle if you would change the 4 to a higher number. To make it be a circle, it had to move 0 and that is also not working. Try this:
Moving on to the next level?
By AxIBoop, with 1 reply.
Replied to by Super_Hippo, over 9 years ago:
<Code Omitted>
BACKGROUND MUSIC
By rachpaguia@gmail.com, with 2 replies.
Last reply by rachpaguia@gmail.com, over 9 years ago:
Thank you!!!
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>
379
380
381
382
383
384
385
X