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
Why this error?
By Rishav_Agarwal, with 5 replies.
Last reply by Rishav_Agarwal, almost 10 years ago:
OKAY.....thnx
Pacman game
By dangwang, with 1 reply.
Replied to by danpost, almost 10 years ago:
Both of these issues, continuous movement and speed, can be solved by using instance fields. *** background info Fields declared within the class, but outside any methods. Each instance created in the class is given a separate field with the names provided to hold a value for that particular instance (each instance can have a different value for a field given them with the same name). *** An 'int' field can be used to hold the current (or last) direction that the pacman had moved and used to set the continuing movement in that direction if not directed or is unable to change directions
mouseClicked(object) from world
By kasperk22, with 2 replies.
Last reply by kasperk22, almost 10 years ago:
ooooh, i see... thanks alot, i actually never ment to write "new Singleplayer"... that was just a dumb fail my me :-)
Retrieving, saving and printing highscores
By karolis, with no replies.
accidentally reposted http://www.greenfoot.org/topics/6150
Best way to display images in a game window in Eclipse?
By Entity1037, with 4 replies.
Last reply by Entity1037, almost 10 years ago:
Ah! Thank you!!!
How to create messages "You Win / You Lose"
By zakiprasasti, with 3 replies.
Last reply by danpost, almost 10 years ago:
Maybe better places to start are the Java trails
Getting Started
and
Learning the Java language
; plus the Greenfoot tutorials on the left of
this page
.
Having a Screen in between worlds
By docinkc, with 1 reply.
Replied to by danpost, almost 10 years ago:
You can start a new world, passing the world to proceed to when the key is detected. The background of this world can say 'Next Level' and instruct to press the key to continue. This world will need a field to hold the world object that it will proceed to and the constructor must assign that field the value passed in its argument. For a demo, refer to my
Crayon Babies: A World Changing Demo
scenario.
how do you insert a moving red block someone send it me plz
By SwaliG, with 2 replies.
Last reply by danpost, almost 10 years ago:
Please be more specific and show code.
Insisting problem
By Onilika, with 7 replies.
Last reply by danpost, almost 10 years ago:
Remove the 'explodeBad' method from the Bad class and add a line in the 'retiraBomba' method in the Bomb class within the 'if' block to remove the Bad3 object found (place the line before the line that removes the bomb).
powerups
By GamesGrinder1998, with no replies.
how do i make a powerup that adds more points (about 5)....i've got a powerup that increases your speed but i'm not sure how to do this one, need help please...
How would I go about counting removal of actors? Please help!
By yonathanz, with no replies.
<Code Omitted> each time the gun actor removes the beaty actor, I want the counter to increase. I don't have anything in the beaty actor. I also have a score board actor created.
Recognizing underscores from integers from input
By JasonZhu, with 21 replies.
Last reply by JasonZhu, almost 10 years ago:
Ok, thank you for your confirmation!
Score keeping and few other questions
By yonathanz, with no replies.
I tried to follow few guides and create a score keeper that counts how many characters are taken off screen (eaten)....but there is no success so far. Can you provide me an overview or how-to on how to create a score keeper? Another question I have is: how/can you display a character at the corner of the screen that guides you around with a bubble text then disappears? How do you build a cycling background? Thanks, (I will post my code in few hours, if that helps)
My greenfoot game will not load even though there are not any syntax errors what should i do? Here is the code for my world.
By jmdreyer, with 4 replies.
Last reply by jmdreyer, almost 10 years ago:
It worked thank you very much
Help setting up classes and hit detection in an actual java game.
By Entity1037, with 6 replies.
Last reply by bourne, almost 10 years ago:
Since Greenfoot has this already setup in mind, you probably will be recreating something similar
682
683
684
685
686
687
688
X