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
Procaryota and his Improvement
By Solringolt, with 1 reply.
Replied to by Solringolt, over 11 years ago:
I wanted to add a random timer for my bulletShot and a sound when fired but my method doesn't work any tip? <Code Omitted>The sound for firing always plays but it should only play when a bullet is shot..
Here
you can see the project.
How to make text box
By greenfootlantern, with 1 reply.
Replied to by JetLennit, over 11 years ago:
Here is one example,
here is another,
and if you want one that you can edit you can go here.
Music Help
By SWAG, with 13 replies.
Last reply by FlyingRabidUnicornPig, over 11 years ago:
put an act() method in your world, and do this: <Code Omitted> and then take out the line in the constructor that says play.
HELP
By SWAG, with 9 replies.
Last reply by FlyingRabidUnicornPig, over 11 years ago:
The above way would have every Teleporter be a teleporter to a specific world, that way you don't have to make a different Player object for each teleporting world you can go to.
ideas for single-screen games
By davemib123, with 13 replies.
Last reply by FlyingRabidUnicornPig, over 11 years ago:
Here's another one: Q*bert. I'd love to see that one.
Some uncomprehensible problems..
By Solringolt, with 11 replies.
Last reply by Solringolt, over 11 years ago:
Ok thx I finally got something playable! ^^
3Dish
By JetLennit, with 12 replies.
Last reply by MatheMagician, over 11 years ago:
Mode 7 is a
technique
for programming a background texture on the ground. Its pretty much just an efficient mathematical equation that some people have converted into code. It is not an engine or a base for you to build a game out of.
How to change the image upon different key press for an actor? SetImage and GetImage help
By nathan1610, with 1 reply.
Replied to by Gevater_Tod4711, over 11 years ago:
In Greenfoot almost every image you use is a GreenfootImage so you should create GreenfootImages of all the images you want to use: <Code Omitted> If you got this images in your class you just need to change the images like this:
Using Arrays in Java.....
By LearningProgramming, with 14 replies.
Last reply by Gevater_Tod4711, over 11 years ago:
@LearningProgramming Like danpost already said you don't need a class for any card. In
my Black Jack game
you can see that I just changed the values of the cards and used one card. But if you try to programm this using eclipse that will be realy complicated because eclipse at all is not easy to use and it hasn't got a graphical surface like in greenfoot. Also there are no acting cycles... You would have to do everything by yourself. So you better try to create this game using Greenfoot.
Beam Intersects object
By FlyingRabidUnicornPig, with 1 reply.
Replied to by FlyingRabidUnicornPig, over 11 years ago:
Never mind, I figured it out. Here's the code if interested: <Code Omitted>
Changing Worlds Helps
By SWAG, with 2 replies.
Last reply by FlyingRabidUnicornPig, over 11 years ago:
edit: "getIntersectingObject" should be "getOneIntersectingObject"
Changing Scrolling SuperWorld
By JetLennit, with 5 replies.
Last reply by JetLennit, over 11 years ago:
Thank you i think i have changed it now
Global variables
By mattjames, with 1 reply.
Replied to by danpost, over 11 years ago:
Exactly what scope to you want this variable to have? Are all actors that use it of the same sub-class of Actor? or just actors? Does the world need access also?
Enlarging Actors
By mattjames, with 1 reply.
Replied to by danpost, over 11 years ago:
Please refer to the discussion on
How to make an image larger
.
IOException
By Ragtime, with 10 replies.
Last reply by Ragtime, over 11 years ago:
It works now, thanks. I used the equals() and return statements. I also replaced "0" by "stop" in the file (I don't know if this had any effect)
850
851
852
853
854
855
856
X