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
Game Design One(BVW)
By csr1010, with 4 replies.
Last reply by csr1010, about 12 years ago:
IMPROVED BULLET CODE
simple zombie game
By jubyfollower, with 2 replies.
Last reply by jubyfollower, about 12 years ago:
thanks! :D
How to randomly assign specific numbers to random objects?
By lonesoldierx7, with 1 reply.
Replied to by bourne, about 12 years ago:
Something like this where Object is whatever type of objects getting assigned values: Assuming there are equal or greater number of specific numbers than objects to be assigned to, and that you are wishing to assign 1 to 1. <Code Omitted> OR if you want to assign an array of values without regard to repetition among the objects, then something like this:
Bullets start in the middle of thw world instead of where the actor is.
By ewc0707, with 3 replies.
Last reply by danpost, about 12 years ago:
Replace 'getWorld()' in the 'addObject' line with 'sworld'.
Explosions aren't showing up where they should!
By ewc0707, with 9 replies.
Last reply by ewc0707, about 12 years ago:
Ok thank you very much.
How to sporn random
By Asoraso, with 32 replies.
Last reply by Asoraso, about 12 years ago:
Thank you realy much ! And Gevater_Tod4711 too.
Breakout help (I would appreciate it :) )
By OhSoFoxy, with no replies.
Okay, so a while ago I posted asking for a code for infinite loop. So how do I alter that code so that every time it resets, the ball is smaller? Here's my code: Board: <Code Omitted> Ball: <Code Omitted> Paddle <Code Omitted> BonusBlock <Code Omitted> and the regular Block: <Code Omitted>
Rmoving Objects
By Lime25Sour, with 2 replies.
Last reply by danpost, about 12 years ago:
Look at the 'eat' method of the Animal class.
Moving object to opposite of world when it reaches one side
By bzhang, with 3 replies.
Last reply by danpost, about 12 years ago:
You do not want to use the current location of the object (by using 'getY') to limit the random number generation. If 'getY' returns '0' then this error will occur as no valid return value would be legal (zero is not positive). You should instead use the height of the world by using 'getHeight' (rather 'getWorld().getHeight()', since the code is in an actor class).
How to make my Container edges like walls
By JasonZhu, with 7 replies.
Last reply by DanPostV2, about 12 years ago:
hey
Help with Container
By JasonZhu, with 2 replies.
Last reply by JasonZhu, about 12 years ago:
That is exactly what i wanted, thanks alot
Taking in keyboard/user input?
By Yedya, with 2 replies.
Last reply by Yedya, about 12 years ago:
thanks
Change Mouse Location?
By shrucis1, with 3 replies.
Last reply by shrucis1, about 12 years ago:
Thanks guys! This really helps me out!
When mouse is clicked button change for "3 seconds"
By Yedya, with 4 replies.
Last reply by Yedya, about 12 years ago:
Thanks alot! Works perfect! How can I + your rep?
How to getRotation() of an object
By JasonZhu, with 23 replies.
Last reply by JasonZhu, about 12 years ago:
Come to think of it, isn't that exactly what you suggested?
764
765
766
767
768
769
770
X