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
What will the following method do?
By jogit666, with 1 reply.
Replied to by danpost, about 11 years ago:
Yes -- since 'UrRobot' is the superclass of 'AugmentedRobot', that is exactly what it will do.
I have an error in my space class
By coder04, with 1 reply.
Replied to by danpost, about 11 years ago:
Apparently, you do not have a no-argument constructor for the Ship class and the constructor you do have required a Bar object reference be passed to it. Try changing line 96 to this: <Code Omitted>
Character won't jump properly to the left
By sunjay001, with 3 replies.
Last reply by sunjay001, about 11 years ago:
It is indeed a hardware limitation, shift worked, thanks! @davmac
So how exactly do 3d games work?
By rrose5, with 3 replies.
Last reply by rrose5, about 11 years ago:
Yeah but he's really helpful :)h
in range detection
By Maricano, with 7 replies.
Last reply by Maricano, about 11 years ago:
we solved it:) thanks for all the help:)
String in switch
By erdelf, with 13 replies.
Last reply by leuveg, about 11 years ago:
Oh, sounds good. Than i hope my shool migrate from Windows XP to Win7 or 8 so we can use Java 8. ^_^ Greetings, L.
Random Movement of 3 Actors.
By Pizza020, with 1 reply.
Replied to by davmac, about 11 years ago:
Why do you have three subclasses? Are the requirements different between each actor? I mean: why not just have three instances of one class?
Help With Turning/Flipping!
By tReks, with 5 replies.
Last reply by danpost, about 11 years ago:
I think you just need to add another condition (other than whether it is going left or right) for mirroring the image. That is, something like this for adjusting the image: <Code Omitted>
Need actor to only turn once
By 11770, with 2 replies.
Last reply by 11770, about 11 years ago:
i'm trying to make a pacman style game and the issue i'm having atm is with the ghosts turning too much/getting stuck. there a way i can do somthing like if within.1 of Wall.class turn?
Help with this simple problem
By sunjay001, with 1 reply.
Replied to by NikZ, about 11 years ago:
In World_1: <Code Omitted><value> should be a data type.
Trouble with spawning (not so) random object
By christinem024, with 14 replies.
Last reply by davmac, about 11 years ago:
When I compile it, I get an issue with the "addObject(new Fruit(), x, y); " part (I understand now that this is not a method for Actors, but I don't know what to use instead to cause a Fruit instance when the Car class catches the down key). Any suggestions?
Because the 'addObject' method is a World method, you need to qualify the method call with a World instance. In this case you can use the 'getWorld()' method to obtain a reference to such an instance. The code would look like this: <Code Omitted> This really should have be
Add objects whit different image
By vbh, with 2 replies.
Last reply by davmac, about 11 years ago:
In fact, the 'shields' array is an array of GreenfootImage, not of String. So this line: <Code Omitted> ... should not actually compile. Since you did not post the code for your Shield class, I don't know whether the constructor expects a string or a GreenfootImage parameter. Please
use code tags
to avoid the formatting issues that you have in your post.
Can't find a mistake
By kangmj, with 3 replies.
Last reply by Super_Hippo, about 11 years ago:
It looks like you want to create a list with all cards in it. If it is this case, you can get a list of all cards with: <Code Omitted>
Networking
By seniorjerry, with no replies.
Is it possible to make a client and server with green foot where two different people can connect such as a simple tic tac toe game?
Heelp
By kangmj, with 1 reply.
Replied to by danpost, about 11 years ago:
If you are wanting to find out what type an object is, then use the 'instanceof' keyword. See the bottom of
this page
of the java tutorials.
644
645
646
647
648
649
650
X