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
An object which spans across two cells
By rowanto, with 4 replies.
Last reply by rowanto, almost 11 years ago:
so it's selected through clicking. Thanks a lot!You've been very helpful!
how to call method from another world
By ronzhi, with 4 replies.
Last reply by ronzhi, almost 11 years ago:
great help danpost as always thanks
I need help :/
By bob10123, with 11 replies.
Last reply by bob10123, almost 11 years ago:
Ok well I am not getting that error anymore, but I am still getting the problem where my person falls halfway through the ground and wall depending on the speed.
Greenfoot version 2.3.0
By davmac, with 13 replies.
Last reply by davmac, almost 11 years ago:
imacat, thanks - I've fixed that now.
Installing Greenfoot in Ubuntu 12.10
By Artaphawp, with 1 reply.
Replied to by JetLennit, almost 11 years ago:
Look
at this
I don't understand how to properly use the counter class
By Solringolt, with 38 replies.
Last reply by Solringolt, almost 11 years ago:
Great everything's working! I will try to make some easier implements now haha
kentpong counter
By gonnaownurass, with 1 reply.
Replied to by Solringolt, almost 11 years ago:
This
should help you I think.
how to make the snake move smoothly
By Khadijah, with no replies.
i have seen this game by JL235 wich is called space snake, i am trying to recreate it with my own version for a school project i have loaded all of my characters onto greenfoot but i cant make the snake move like it does in his game does anyone have any idea on what the coding is or how it could work like his? the game has the same concept to try and get the blob in my case the food but there will be things in his way to obstruct the snake from getting there to make it harder. here is the link to his game: http://www.greenfoot.org/scenarios/231 thanks for your help! :)
yoo
By RAWRIMATIGER, with 7 replies.
Last reply by I.AM.A.LION<ROAR>, almost 11 years ago:
BR1NG 1T 0N DUCK
help?
By RAWRIMATIGER, with 1 reply.
Replied to by Gevater_Tod4711, almost 11 years ago:
There are serval snake games you can download and look at the code. For example
this one.
ROAR
By I.AM.A.LION<ROAR>, with 2 replies.
Last reply by I.AM.A.LION<ROAR>, almost 11 years ago:
someone help me? please ^.^
can someone explain greenfoot to me?
By RAWRIMATIGER, with 2 replies.
Last reply by RAWRIMATIGER, almost 11 years ago:
aw thankyou my fellow gaming world companion:)
Pathfinding
By darkmist255, with no replies.
So I've got some code here that I whipped up in an attempt to get A* pathfinding to work. It's definitely calculating, but not at all reaching the goal. I haven't yet written any code to get the path, and haven't implemented replacing parents with new, shorter parent paths. For now I'm just hoping I can get atGoal() to return true. The code isn't exactly beautiful but it's fairly neat and legible. Square is a nearly empty class, it just uses Graphics2D to make a visible square. <Code Omitted> Then the accompanying classes: <Code Omitted> <Code Omitted> If anyone takes a look over this and sees something wrong (I may have messed up compareTo(), since I've never implemented Comparable before), any advice is appreciated!
Tracking objects & adding new objects
By ColonelCaboose, with 4 replies.
Last reply by ColonelCaboose, almost 11 years ago:
Thank so much I'll get right to work on it!
World At Edge problem
By ColonelCaboose, with 1 reply.
Replied to by danpost, almost 11 years ago:
Change the condition in the 'atWorldEdge' method in the 'Animal' class so that the limits are (1) getX()< getImage().getWidth()/2 (2) getX() > getWorld().getWidth()-getImage().getWidth()/2 (3) getY() < getImage().getHeight()/2 (4) getY() > getWorld().getHeight()-getImage().getHeight()/2
840
841
842
843
844
845
846
X