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
Power up help?
By alicija, with 24 replies.
Last reply by alicija, over 11 years ago:
It is working fine now. Thanks heaps! :)
Why
By tomer.hass, with 3 replies.
Last reply by SPower, over 11 years ago:
Interacting with others is might also help. So go out and look for some nice scenarios and like them! Maybe those people will like yours too.
Error at Breakout Game
By ich99, with 4 replies.
Last reply by ich99, over 11 years ago:
Oh Thank you now it works .
Removing an actor
By mattjames, with 17 replies.
Last reply by mattjames, over 11 years ago:
Danpost that last getWorld().removeObjects(getWorld().getObjects(playButton.class)); was perfect thank you sooo much needed that all day!! and I am trying to keep everything in one world.
Breakpoints broken?
By SPower, with 13 replies.
Last reply by SPower, over 11 years ago:
Thanks for looking at it! I really appreciate it, and am happy that it wasn't my fault!
Greenfoot for Windows 8
By __Synderz__, with 2 replies.
Last reply by __Synderz__, over 11 years ago:
THANK U SO MUCH YAY I CAN GET GREEN FOOT NOW!
Adding actors
By mattjames, with 1 reply.
Replied to by Gevater_Tod4711, over 11 years ago:
To add an actor to the world you have to use the method addObject(Actor, int, int); Using this method you add an actor to the world at the coordinates you give the method (the int's). When you want to add an actor from another actor class you need to use getWorld().addObject(Actor, int, int); You can also look this up in the
Greenfoot API
. All mehtods are listed and described there.
Access methods of actors not built into greenfoot from world??
By Entity1037, with 9 replies.
Last reply by Entity1037, over 11 years ago:
Wow... now I get everything!!! NOW it all makes sense! Thank you!!! Also, I must admit that my Computer Science teacher at my school is really bad at teaching, so... this is how I normally learn things (using the internet frequently). So thank you for being awesome!
Sharing a variable
By mattjames, with 6 replies.
Last reply by danpost, over 11 years ago:
When you say 'one screen' to modify the car, if you meant 'one world', then the easiest thing to do is to pass the car to be modified to the world. In the 'choice world', save the Car object in an instance field declared with 'private Car car;'. In the 'choice world' constructor, save the Car object that was passed to it. Then, when a button is pressed, modify the car right then. To return to the main world, you can use 'Greenfoot.setWorld(car.getWorld());'.
Changing background
By mattjames, with 3 replies.
Last reply by Gevater_Tod4711, over 11 years ago:
Yes all images you use have to be stored in the images folder in your project.
Point System
By ich99, with 39 replies.
Last reply by ich99, over 11 years ago:
Oh ok sorry.
Einen Gegner erstellen
By ich99, with 21 replies.
Last reply by Kartoffelbrot, over 11 years ago:
The best of programming is, that there are (nearly) always multiple ways!
GetImage to String
By CreepZilla, with 4 replies.
Last reply by davmac, over 11 years ago:
If that makes sense?
That makes sense, but then I think your question has already been answered? Use Kartoffelbrot's code and call changeImage() on each of the tiles you want to flip the image of.
Move double distances
By Kartoffelbrot, with 8 replies.
Last reply by Kartoffelbrot, over 11 years ago:
Yes, master! ;D
jcomponent,swing
By budihck, with no replies.
how to declare a new object using a JButton, if the java desktop we only JButton btn = new JButton ("play"); btn.setBounds (50,50,50,50); frame.add (btn); but if in Greenfoot how,,, sorry just learning Greenfoot guidance please Google Terjemahan untuk Bisnis:Perangkat PenerjemahPenerjemah Situs WebPeluang Pasar Global
798
799
800
801
802
803
804
X