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
A method, that affects all objects of a class
By Maddin, with 7 replies.
Last reply by Maddin, almost 11 years ago:
Ok thanks, gives me a lot of possibilities :DD
counter probz
By mezboycalday, with 5 replies.
Last reply by Gevater_Tod4711, almost 11 years ago:
Oh ok. So when your actor intersects the other object you have to pick it up: <Code Omitted> Then you have to add one to the counter. There are serval ways for doing that. That depends on how your code looks like at the moment: Have you got only one counter object in the world? Have you got a reference to the object in your world class?
How can i upload a game to this website??
By kinchan, with 7 replies.
Last reply by kinchan, almost 11 years ago:
oh! I get it. thx!!! XD
[URGENT]Why cannot find symbol - variable gameState
By louis993546, with 1 reply.
Replied to by davmac, almost 11 years ago:
For one thing, the variable is defined in the MineBoard class, not the GWorld class, so the variable gameState doesn't exist in the GWorld class. That's why you get "cannot find symbol". For another thing, the variable isn't static, but you are accessing it via a class name instead of via a reference. Try: <Code Omitted>
can anyone help me make a class size bigger
By emma123456789, with 27 replies.
Last reply by emma123456789, almost 11 years ago:
i just need the coding:)
whats the code to add in a gameover background
By emma123456789, with no replies.
i need the coding fo ra background that says game over to appear on the screen when the thing touches the rock that will kill them or when the thong eats the other thing so basically i need someone to help m,e with the ocding for a background to appear for a game over with a play again mkenu aswel!!!!!!!!!!!!!!!!
Help with counter and game over screen
By Chocomint1213, with 1 reply.
Replied to by danpost, almost 11 years ago:
You can import a Counter class via the Edit option on the menubar. A game over screen can be created via a new world class or an actor class (usually a new world is used for this).
Create labels to avoid writing repetitive code?
By Entity1037, with 2 replies.
Last reply by Entity1037, almost 11 years ago:
No need. I figured it all out, and my scenario finally stopped getting that error. You can check out the new and improved Megaman EX here: http://www.greenfoot.org/scenarios/8355
How do I get my Actors to move?
By Yongjoon, with 4 replies.
Last reply by Yongjoon, almost 11 years ago:
Also, how can i get the map to scroll? I'm trying to create a 2D war game, and im totally lost with Greenfoot. I just started using it and it's a bit different from what im used to
I need help ... im making an air hockey game but i need help
By sergiodeleon702, with 3 replies.
Last reply by Gevater_Tod4711, almost 11 years ago:
If the puck has got a variable for his moving speed you just have to set this variable: <Code Omitted><Code Omitted>
why is my animal class not working
By Fudge13, with 4 replies.
Last reply by davmac, almost 11 years ago:
Fudge13, what do you mean by "isn't working"?
Publish Failed???
By Entity1037, with 2 replies.
Last reply by davmac, almost 11 years ago:
I believe the problem was caused by specifying the same tag twice. This should be fixed on the server side now.
New world when the actor dies
By morgs1311, with 2 replies.
Last reply by morgs1311, almost 11 years ago:
Thanks for your help!
save the world
By Avik, with 1 reply.
Replied to by morgs1311, almost 11 years ago:
I will try and help when Sally has let me try her game!
how do youget a scrolling screen
By Fudge13, with 1 reply.
Replied to by niamhcarlyle, almost 11 years ago:
ooo sassy jawdon
831
832
833
834
835
836
837
X