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
my code wont work
By Coltz, with 2 replies.
Last reply by danpost, about 7 years ago:
Do you: (1) create; and (2) add a
new Timer
object into the world before calling the
Timer
method on it?: <Code Omitted>
how long in deley 1 second ?
By Coltz, with 1 reply.
Replied to by danpost, about 7 years ago:
Coltz wrote...
how long in deley 1 second ?
In a scenario running at normal speed (speed = 50), about 60 act cycles.
getWorld variable
By liverpoolfc, with 6 replies.
Last reply by liverpoolfc, about 7 years ago:
it works. thanks a lot.
A*
By nicpatel, with 1 reply.
Replied to by danpost, about 7 years ago:
nicpatel wrote...
i have two class squirrel and tree. i want to implement a* for squirrel to find tree . i do not know how to do any guide...??
There are several
A*
java tutorials on
YouTube
. Do a search.
Confused
By nicpatel, with 4 replies.
Last reply by nicpatel, about 7 years ago:
Thanks a lot , its working for now..
shootball
By ronald, with 8 replies.
Last reply by ronald, about 7 years ago:
thank you
Object mowing by mouse doesnt work...
By Proprogrammer04, with 3 replies.
Last reply by Proprogrammer04, about 7 years ago:
danpost wrote...
It probably teleports to the location the mouse was at when the object was created. The field (m) does not update on its own.
That worked, when I update the Information in act, it works, thank you
Question about the act method and threading.
By Vise, with 1 reply.
Replied to by Super_Hippo, about 7 years ago:
As far as I know, Greenfoot only uses one. Each act cycle, the act method of the active world and the act methods of all actors inside that world are executed one after the other.
Food Movement
By AdiBak, with 1 reply.
Replied to by danpost, about 7 years ago:
AdiBak wrote...
I'm making the agar.io game, and I got the player to follow the mouse with some delay, and the food to spawn, but I'm confused on how to make the food move with the player movement, similar to screen scrolling.
ClassCastExeption
By cx31, with 1 reply.
Replied to by danpost, about 7 years ago:
Replace line 43 with: <Code Omitted>
Button to create Dynamic Actor
By nicpatel, with 1 reply.
Replied to by danpost, about 7 years ago:
nicpatel wrote...
I want to create a button which is capable to crwate dynamic object when it drag to mouse coordinates
What have you tried? Unclear what you want exactly. "when it drag to mouse coordinates" makes no sense at all. Giving some attempted code goes a long way in clearing up any misunderstandings and gives needed context to anyone who is willing to help. It also usually gets your issue resolved in a much shorter time.
please help me with my code i cant proced in my gamewithout it
By Coltz, with 23 replies.
Last reply by Reversatile, about 7 years ago:
Pacman
By TobiMobi, with 4 replies.
Last reply by TobiMobi, about 7 years ago:
Ok, now I understand it. Thank you
Showtext..
By Jargy, with 10 replies.
Last reply by Jargy, about 7 years ago:
thanks :-)
whats wrong with my code?
By Coltz, with no replies.
<Code Omitted>
173
174
175
176
177
178
179
X