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
Breakpoints broken?
By SPower, with 13 replies.
Last reply by SPower, over 10 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 10 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 10 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 10 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 10 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 10 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 10 years ago:
Oh ok sorry.
Einen Gegner erstellen
By ich99, with 21 replies.
Last reply by Kartoffelbrot, over 10 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 10 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 10 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
Checking about below
By Kartoffelbrot, with 5 replies.
Last reply by Kartoffelbrot, over 10 years ago:
This is my code now and it works very well: <Code Omitted>
use loop to create pattern
By davemib123, with 4 replies.
Last reply by davemib123, over 10 years ago:
yea sorry about that, I made it using rectangular shapes so edited the post. but your version is so much better :)
Saving games with Greenfoot?
By K_wow, with 6 replies.
Last reply by Gevater_Tod4711, over 10 years ago:
You're welcome! And yes I think a standalone web application is the only case where you can't save anything. But if you use a standalone jar file it will work.
loops
By davemib123, with 7 replies.
Last reply by davemib123, over 10 years ago:
that's great. thanks danpost :)
793
794
795
796
797
798
799
X