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
Scoreboard for Crab world scenario
By jmwalker, with 10 replies.
Last reply by Game/maniac, over 12 years ago:
try import java.util.calendar
Fixing player 1 wins problem?
By bbwf, with 4 replies.
Last reply by danpost, over 12 years ago:
Your problem arises from using the image of the player to show the gameover screen. If you are not going to create a new actor class to display the gameover screen, then you are going to need a flag in the player class to signify which image is currently being used. It can be a basic boolean called something like 'usingGameOverImage'. Add the following to be the very first statement in the 'act' method: <Code Omitted>You also need to set the value of 'usingGameOverImage' to 'true' when you change the image to the gameover image.
Health bars, using Progress bar/Health bar class by Danpost
By Johnathon, with 4 replies.
Last reply by Johnathon, over 12 years ago:
Never mind once again... Just simply made it an else if. I'm having a really derpy morning haha. Sorry to bother you!
hey guys
By BradH, with 3 replies.
Last reply by BradH, over 12 years ago:
Yeah I will check it out, thanks
Help with collisions
By Hawx_, with 10 replies.
Last reply by Hawx_, over 12 years ago:
The 1st version of the game is in my scenarios section of my profile, updates are coming soon.:) Hawx
Health Bar
By programmer274, with 7 replies.
Last reply by tylers, over 12 years ago:
Its my minecraft server, I copied the wrong link.
So near and yet so far!
By Terrosion, with 6 replies.
Last reply by Duta, over 12 years ago:
An alternative to danpost's code is: <Code Omitted>
Enemy AI
By marzukr, with 4 replies.
Last reply by marzukr, over 12 years ago:
THANKS!!!! This worked but I had to reduce the numbers because my space was smaller.
Help with collisions
By LilCh4rDi95, with 9 replies.
Last reply by ddavid33, over 12 years ago:
@LilCh4rDi95 could you post up what u done to solve the problem please.
Cookies
By GreenHouse, with 1 reply.
Replied to by Zamoht, over 12 years ago:
I think the only way to save something with Greenfoot is to use the UserInfo class.
Halo4
By BradH, with 3 replies.
Last reply by miles7191, over 12 years ago:
Master Cheif39 - I made the name along time ago... (i know Chief is spelled wrong)
>= and <= in same statement
By davemib123, with 3 replies.
Last reply by actinium, over 12 years ago:
<Code Omitted>is what most people would use. The difference between using & and && is that in the case of using && if the first expression is false the second expression is never executed. In your case when using & both expressions are evaluated whatever the result of the first evaluation.
converte a string into a statement
By Mux, with 7 replies.
Last reply by Mux, over 12 years ago:
thanks thats what i've expected.
Confusing code problems
By erdelf, with 3 replies.
Last reply by erdelf, over 12 years ago:
@Gevater_Tod4711, I made a method before that with setting the speed to 1, I thought it would be executed only one time. thx for your help
Objects
By JudgeDee7, with 1 reply.
Replied to by danpost, over 12 years ago:
Greenfoot has a tutorial on
detecting objects
. If you are still having difficulties, post the code you have tried and we will try to help.
905
906
907
908
909
910
911
X