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
Change to next level
By sirius, with 21 replies.
Last reply by sirius, over 12 years ago:
Hmm ok now its clear. Thanks.
How can I make a Textbox correctly?
By Yellowfoot, with 20 replies.
Last reply by Yellowfoot, over 12 years ago:
Works, finally :) Thank you very much. :)
getObjectsInRange()
By Rodeurhalt, with 9 replies.
Last reply by Rodeurhalt, over 12 years ago:
Hmm ok i'll try to fix that if I can thank you a lot
How can I stop spawning enemies?
By qwasyx, with 11 replies.
Last reply by qwasyx, over 12 years ago:
Thanks a bunch! :) Works.
How can I spawn an actor in a random time and let him disappear after ten seconds time?
By Yellowfoot, with 15 replies.
Last reply by Yellowfoot, over 12 years ago:
It works, thank you all very much :) You saved my life! :D
Help with trajectory
By Tezuka, with 21 replies.
Last reply by Tezuka, over 12 years ago:
thhx
How can I stop a method without finishing the game?
By qwasyx, with 3 replies.
Last reply by SPower, over 12 years ago:
You're welcome!
Trouble with Kinect Server
By Fizzgiz, with 2 replies.
Last reply by davmac, over 12 years ago:
Did you follow all the
instructions
?
Designing world using text files.
By Minion1, with 2 replies.
Last reply by danpost, over 12 years ago:
This page
in the Java tutorials may be of interest concerning this.
Arrays
By CrazyCarl992, with 1 reply.
Replied to by SPower, over 12 years ago:
So you don't know how to create a 2 dimension array? Well, I suppose you understand a normal array, and this is a 2 dimensional array: <Code Omitted>and to set an object, do this: <Code Omitted>I think you can even do this: <Code Omitted>
Methods
By bigbird, with 3 replies.
Last reply by danpost, over 12 years ago:
If you are only picking up one Actor object at a time, you can add a field of type Actor to the class of the type object that is picking up the actor and initially set it to 'null'. When picking up the actor, set the field to that actor and remove that actor from the world. When dropping that actor back off at point b, add the actor back into the world and clear the field back to 'null'.
Codebreaker Competition
By mik, with 14 replies.
Last reply by fthamura, over 12 years ago:
any step for us to create codebreaker in Indonesia. Frans
Actor turns rotates image
By DogPappy, with 4 replies.
Last reply by DogPappy, over 12 years ago:
Thanks for the info, I will try it out.
Health
By DPD4AU, with 1 reply.
Replied to by Gevater_Tod4711, over 12 years ago:
For a user health you just need a variable in the user class (life or something). For every zombie hitting you the variable is counted down. Probably there is only one object from typ user (or however it's called) so the eayest way to realize that is to use static variables:
Removing Objects
By jdc4aub, with 5 replies.
Last reply by danpost, over 12 years ago:
<Code Omitted>Of course, this will remove one Zombie object from the world. Which one would be a guessing game; as the range would pretty much cover the whole world.
920
921
922
923
924
925
926
X