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
Sharing gives an error (Website/Jar)
By Dytanoth, with 15 replies.
Last reply by davmac, over 12 years ago:
Compression won't help, the images are cached in their uncompressed form.
greenfoot won't run
By ctgreenfoot, with 2 replies.
Last reply by ctgreenfoot, over 12 years ago:
its ok i fixed it :) i put it in a different class and it worked
Run Time error
By BradH, with 19 replies.
Last reply by BradH, over 12 years ago:
I will work on getting it to work, thank you for the help.
How to make worms appear at random locations
By Peach, with 7 replies.
Last reply by danpost, over 12 years ago:
I did say that they were
conditions
(for an 'if' statement).
Do not understand what is wrong with the code
By ctgreenfoot, with 28 replies.
Last reply by ctgreenfoot, over 12 years ago:
thanks! it works now. however a random number of red worms appear. what i was requested to do was to: When score reaches 10, red worms appear, one by one, at random locations, 2% of the time, with max of 20 at a time how would i change it to that?
make lobster fatter
By ctgreenfoot, with 12 replies.
Last reply by ctgreenfoot, over 12 years ago:
thank you both! it works now
Method for placing adding objects to world a given radius from an object
By camsterb, with 2 replies.
Last reply by camsterb, over 12 years ago:
Thank you for your advice. The big problem I was really having was that the hockey player would always interact with the puck once it was created, causing him to pick it up again immediately after he shoots. I used a delay (counter) after shooting the puck so that he couldn't pick it up again within a short interval. You've helped me out a few times with the game and I think it'll be finished tomorrow, so I'll post a link and maybe you can let me know what you think! It's just a college project. Only been programming for about 2 months now. But do as you wish! Might give you some satisfact
Help with Greep issue.
By kc4tlm, with 1 reply.
Replied to by kc4tlm, over 12 years ago:
I think I worked it out. The order has much to do with it.
Joystick Input
By CPStudios, with no replies.
Does anyone have ideas as to go about adding in a joystick input? I looked at the Kinect sample programs to see how to add an input and found nothing. Any ideas?
does anybody know how to make only one greep to stop at the tomato ?
By hossam, with 1 reply.
Replied to by hossam, over 12 years ago:
like this one http://www.greenfoot.org/scenarios/5224
scoreboard + font style
By bonana, with 4 replies.
Last reply by bonana, over 12 years ago:
Thanks, the A.staticInteger stuff was what I needed to know ;-)
how to make one greep stop at a tomato a i need only one???
By hossam, with 7 replies.
Last reply by hossam, over 12 years ago:
your methods is not working it stops every thing it compile but there is something wrong in it (logic error) ???!!!!
Why does the AI not work
By Game/maniac, with 1 reply.
Replied to by Game/maniac, over 12 years ago:
never mind I fixed it
spawning at location problems
By KierTulp, with 1 reply.
Replied to by KierTulp, over 12 years ago:
bump.
how to make a life counter
By ctgreenfoot, with 3 replies.
Last reply by danpost, over 12 years ago:
The class is already set up to start your counter with 5 lives, all you have to do is create a counter object. To link it to your actor, you will need an instance Counter field in that actor's class. You can create and assign an object to the field in the field declaration statement and add a method to retrieve the counter object from the class: <Code Omitted>Then in the world constructor, when adding your objects to the world:
894
895
896
897
898
899
900
X