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
Flee
By Username123456789, with 4 replies.
Last reply by Username123456789, almost 5 years ago:
Thank you for your help, but sadly I have lost my game. I believe what happened is it updated to a new version and the code isn't compatible, though i dont think that would happen, I cant access any of the code at all and the images wouldn't show up for a while. but all this dosn't matter as I have moved on in my course and I am no longer using Greenfoot. I might come back later, but as for now I have nothing to do with Greenfoot anymore. again I thank you for your help.
Actor not in world error
By nicLava, with 3 replies.
Last reply by Super_Hippo, almost 5 years ago:
It seems like a Rower object you get in line 5 isn’t inside a world.
Help With Movement
By Marethyu05, with 2 replies.
Last reply by Marethyu05, almost 5 years ago:
Thank you so much for the help.
Call super() at a later point?
By FirewolfTheBrave, with 2 replies.
Last reply by FirewolfTheBrave, almost 5 years ago:
Thank you, that works!
Update to maps helper class?
By SliderG, with no replies.
In the "maps" helper class, there is a class that creates a Greenfoot image out of a Google map. It's throwing an error because it's can't find the file. It may be that the Google Maps API has changed its URL since this Greenfoot class was put together. The code contains the following line: private final String urlBase = "http://maps.googleapis.com/maps/api/staticmap?sensor=false"; I looked on the Google Maps API documentation to try to figure out what to replace this with, but no success so far. Any ideas how to bring this up to date?
Using counter through different worlds
By jenhasnofriends, with 1 reply.
Replied to by danpost, almost 5 years ago:
Show codes of worlds and class where world transition takes place (if not in one of the world classes.
Referencing int from World to Actor - NullPointerException
By Suavessence, with 2 replies.
Last reply by Suavessence, almost 5 years ago:
Great, the solution is what I needed. Thanks!
I am not sure what this code does
By Rich11, with 2 replies.
Last reply by ChafikAZ, almost 5 years ago:
Even I could never had said it better, to sum it all up, it's incrementing it by one every time the code (presumably an if loop) is run through.
Save world to file
By Honza, with 9 replies.
Last reply by danpost, almost 5 years ago:
Honza wrote...
Okay, I will try to look at it this way. Thank you for help. :)
Yeah. You won't need
Serializable
or
serialVersionUID
.
How do you reference an actor's (public) method from the world?
By ChafikAZ, with 4 replies.
Last reply by ChafikAZ, almost 5 years ago:
Wow, you really are keen on helping wandering chicks like me, thanks!
Can somebody proofread this? I'm not sure it's perfect...
By ChafikAZ, with 4 replies.
Last reply by ChafikAZ, almost 5 years ago:
As my teacher says, "Work smarter, not harder."
How do you write the length of the wait?
By ChafikAZ, with 1 reply.
Replied to by ChafikAZ, almost 5 years ago:
I don't understand how I meant to describe the length of the wait... (Yes, I know it's measured in milliseconds)
How to make actor appear anywhere
By BlueHand, with 5 replies.
Last reply by danpost, almost 5 years ago:
BlueHand wrote...
The rocket class
Did it not occur to you that
addObject
and
getObjects
were
World
class methods?
isTouching isn't working
By iDragon3o6, with 1 reply.
Replied to by danpost, almost 5 years ago:
iDragon3o6 wrote...
This code is in the act method, but nothing happens if I start this: <Code Omitted>
Nothing wrong with that line. More info/code required.
One instruction class?
By BlueHand, with 3 replies.
Last reply by danpost, almost 5 years ago:
BlueHand wrote...
Sorry, I meant: how do I add different labels to them? There's only one counter class so I'm not sure how to do that.
Add a
String
parameter to
Counter
class constructor.
94
95
96
97
98
99
100
X