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
Opening Greenfoot projects on NetBeans
By ergys.sono, with 4 replies.
Last reply by ergys.sono, over 7 years ago:
I tried to create a JavaFX Project but I get the same error. When I try to run the project it says to select the main class but there is none to select. I am using the Ants Colony project, found on the Scenarios.
This One
Only 1 Healthbar works in my 2 player game!
By MisterUnknown, with 7 replies.
Last reply by MisterUnknown, over 7 years ago:
Actually It works now thanks to you Appreciated the big support :)
eat
By PIZZAMAN, with 2 replies.
Last reply by danpost, over 7 years ago:
PIZZAMAN wrote...
what is the coat to let something eat on command? like if I would press spacebar what would be the code to let something eat
<Code Omitted>
Actor shoots bullet wich flys trough enemy and doesnt hit him
By StalinRule34, with 5 replies.
Last reply by StalinRule34, over 7 years ago:
You are a God THANK YOU ! You really saved me like 2 days of time and i need it finished till next week. Thanks again xD.
I have a StackOverflow Error
By coder123, with 21 replies.
Last reply by coder123, over 7 years ago:
I got my game to work. Thanks for the help anyways!
TitleScreen won't work!
By MisterUnknown, with 2 replies.
Last reply by MisterUnknown, over 7 years ago:
Well, that was easy. thanks a lot ;)
Card not removing from hand
By CP7, with 35 replies.
Last reply by CP7, over 7 years ago:
Nvm, i found the error. Thank you for all your help on this project danpost!
Adding score counter
By dionzeka99, with 1 reply.
Replied to by danpost, over 7 years ago:
Do you create and add a Counter object into the world? What is your Actor class substructure like (what extends what)? What is the current codes for the bullets and the aliens?
NEED HELP!
By bolzano, with 8 replies.
Last reply by bolzano, over 7 years ago:
Thank you. I ll try that
What am I doing wrong here? (Variables)
By Kozume, with 6 replies.
Last reply by Kozume, over 7 years ago:
Nevermind, it worked, thank you so much man
Greenfoot movement
By dionzeka99, with 9 replies.
Last reply by danpost, over 7 years ago:
dionzeka99 wrote...
<< Code Omitted >> Here you can see the moveAlien it says that it is wrong and that I must declare this method
You are showing the
Row
class where the method is being called from. The problem is that you do not yet have that method in your
Alien
class to call.
Mode 7 (3D Environments) in Greenfoot
By SickTrickz832, with 5 replies.
Last reply by SickTrickz832, over 7 years ago:
nccb wrote...
Looking up Mode 7, I think this mainly used to scale and transform the floor graphic. The technique for drawing fuller 3D is raycasting. If you're interested, part of my series on maths in Greenfoot is on how to implement raycasting. The full list of posts in order is
here
.
The post introducing raycasting
is about halfway down the list although I think you'll also want to read the posts before that on how to do line-of-sight.
Little update. NCCB T
Hey, want to let platforms spawn randomly in a sector
By Lucky, with 1 reply.
Replied to by Super_Hippo, over 7 years ago:
A method which isn't called won't do anything. You only call the randomSpawn method once when the world is created. Instead, you want to call it every act cycle, so it has to be in the act method or it has to be called from the act method.
actor rotation with arrows
By ronald, with 7 replies.
Last reply by ronald, over 7 years ago:
thank you it works as wanted
How to set win condition for a free moving connect four game
By BagBeGone, with no replies.
<Code Omitted>I need help setting up a win condition for when 4 red.class touch each other the game ends Is there a way I could maybe differentiate between objects in the same class and see if 4 of them touch each other or something?
176
177
178
179
180
181
182
X