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 windows
By allekalle, with 19 replies.
Last reply by davmac, over 11 years ago:
I guess I stumbled across a limitation of Greenfoot. I was under the impression that the entire Java was possible to use.
I think you've misunderstood something. You
can
use Swing with Greenfoot, it's just very difficult to do it right. That's arguably more of a limitation of Swing than it is of Greenfoot.
Burst gun
By Miikku, with no replies.
How can I make Gun what fires 3 bullets with low delay?
Delay for objects
By h123n, with 6 replies.
Last reply by h123n, over 11 years ago:
Ok thank you for the demo =D I am going to look into it now.
Paused Game
By RobiJefferson, with 4 replies.
Last reply by RobiJefferson, over 11 years ago:
thank you, i will try it
Set Function Issue
By toscany, with 3 replies.
Last reply by Gevater_Tod4711, over 11 years ago:
If you don't want to remove the bullet it also is possible to make the bullet hurt your actor only one time. Than only a different bullet object could hurt your actor again. Would this be better for your game?
Red Tint on Images
By jagrosh, with 1 reply.
Replied to by danpost, over 11 years ago:
This
discussion was on that issue.
Quick concern
By landry, with 1 reply.
Replied to by danpost, over 11 years ago:
Before your 'Greenfoot.stop()' statement, add the statement to change the world background. <Code Omitted>
Getting an Error
By programmer274, with 12 replies.
Last reply by programmer274, over 11 years ago:
Okay I have tested it and it works. Thanks again.
3D game making
By henrYoda, with 2 replies.
Last reply by JetLennit, over 11 years ago:
1.
this is a tutorial page
2. You could try and see, and if so then you can come back to greenfoot if it is too hard
Structure generation not working
By Game/maniac, with 2 replies.
Last reply by Game/maniac, over 11 years ago:
fixed my problem! :D
Don't quite understand what this is asking.
By gyrlonfilm, with 1 reply.
Replied to by danpost, over 11 years ago:
First, make it a complete statement. Then, write the assignment part of it as your second line and determine from that what the initialization (or declaration) part of it should be for the first line.
help with piano example in Greenfoot
By gyrlonfilm, with 1 reply.
Replied to by danpost, over 11 years ago:
gyrlonfilm wrote...
I am confused in general how the program knows that the keys are set from left to right in the first place. Where in the code would you see this?
I am confused in general how the program knows that the
keys are set
from left to right in the first place.
Where
in the code would you see this? I bolded the key words, no pun intended.
How do i give my character health?
By Neon147, with 18 replies.
Last reply by danpost, over 11 years ago:
This line does not make any sense in your code: <Code Omitted>The strip is not something that is part of the game play itself and having something intersect it is meaningless. It is more like a control or information object. In other words, it does not interact with other objects in the world; only with the user. Besides that, later in the method, you are referring to that object as 'lives', not 'strip' (either will do, but be consistent). To get a reference to the 'strip', use the following:
Simplify my animation code
By Solringolt, with 1 reply.
Replied to by danpost, over 11 years ago:
You could replace lines 110 through 173 with: <Code Omitted>
How to place sound once
By jaydjay, with 9 replies.
Last reply by FlyingRabidUnicornPig, over 11 years ago:
What's he's saying is to put the hasIntroPlayed outside of the method. The sound keeps looping because you made a variable inside a method, that turns back to false every time the method is called (which is every frame). If you have the variable outside the method, it will be available to all your code inside the class, and won't ever change unless you tell it to.
823
824
825
826
827
828
829
X