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 stop the game
By Bestgirl, with 2 replies.
Last reply by bbwf, almost 13 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, almost 13 years ago:
Thank you!
Pokemon style turn based battle system
By student101, with 3 replies.
Last reply by davmac, almost 13 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, almost 13 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, almost 13 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, almost 13 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, almost 13 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, almost 13 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, almost 13 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, almost 13 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, almost 13 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, almost 13 years ago:
I did say that they were
conditions
(for an 'if' statement).
894
895
896
897
898
899
900
X