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
Greep !!
By H&M, with no replies.
hello I would like to know how can I prevent the Greep from stucking in water when they have a tomato. it is working, the greeps move toward the tomatoes but when they get it they get stuck in the water !! do please reply soon please !! THANK FOR YOUR WHOLE ATTENTION..
How to stop the game
By Bestgirl, with 2 replies.
Last reply by bbwf, over 12 years ago:
What gevater said. When the chicken equals a null and gets removed put Greenfoot.stop();
checking whether a method gets called
By bonana, with 2 replies.
Last reply by bonana, over 12 years ago:
Thank you!
Pokemon style turn based battle system
By student101, with 3 replies.
Last reply by davmac, over 12 years ago:
For starters, create an actor class called eg "TurnBasedActor" and have your other actors extend it. Have a method called 'doTurn()' in it (which does nothing). Your other actors can re-implement this method to do whatever they want. Then, have a variable called 'currentActor' of type 'TurnBasedActor' in your world. In the act method of your world, call currentActor.doTurn(). If you need more help, please ask specific questions rather than just a general 'write all the code for me'.
Timers
By camsterb, with 4 replies.
Last reply by camsterb, over 12 years ago:
Yeah, that's what I did! I just wonder if there is a real way to do it.
The problem for moving
By Bestgirl, with no replies.
I did a game for FSE,but i hava some question about movement. I create a platform and it can move,i want to know how to make the player move with that? Can someone tell me or show some example please
friends how are u all?
By jabirfatah91, with no replies.
Any new updated news about greenfoot?
Counter in many levels
By moobe, with 6 replies.
Last reply by moobe, over 12 years ago:
Hi, thanks for your answer, I've solved this problem before your post^^ I have an actor collecting items and have given him direct reference of the counter object now, because he's the one who creates the counter. I've made an integer which knows the current value of the counter. So every time I change the world I create a new counter with my actor. Then I type in counter.setValue(collected); and then is everything fine again - so I have no code in the world ;) Your second solution sounds great! Can I do that with all objects I want? Cause I have three counters in my game an
plz how can i stop one greep at the tomato
By hossam, with no replies.
i can stop more than one put my problem is i need only one greep to stop at the tomato to load it to other greep this problem is killing me????!
"Non-static method cannot be referenced from a static context" - help?
By Athanasia, with 1 reply.
Replied to by Gevater_Tod4711, over 12 years ago:
The problem is that the method removeObjects is a non-static one. You should try to use it as a non-static mehtod: <Code Omitted>
Object removing
By DarthBane, with 3 replies.
Last reply by DarthBane, over 12 years ago:
Oh, i forgot the obkect i want to remove:
i want to add a new counter
By ctgreenfoot, with 17 replies.
Last reply by danpost, over 12 years ago:
Move the four lines of code above inside the previous bracketed area (OR: move the closing bracket at line 55 to line 60).
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.
893
894
895
896
897
898
899
X