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
remove an actor at an certain place
By seelensauger, with 12 replies.
Last reply by seelensauger, almost 13 years ago:
ok now i got it. the class I wanted to remove (RasenmaeherR) was a subtype of Rasterobjekte (i just needed these one to try out the positions). I changed that and now is everything ok. thanks a lot greetings seelensauger
non-static method cannot be referenced from a static context
By ctgreenfoot, with 19 replies.
Last reply by ctgreenfoot, almost 13 years ago:
would anyone be able to help me on this?
Cannot be cast
By Thellior, with 1 reply.
Replied to by Thellior, almost 13 years ago:
Fixed it already thanks:) With Greenfoot.setWord(newFloodWorld(Menu.DijkDoorBraak.charselect) give a parameter. in FloodWorld. Public FloodWorld(int charselect)
drawPolygon()
By Game/maniac, with 2 replies.
Last reply by Game/maniac, almost 13 years ago:
thank you, it worked!
How to end the game if there are no lives left
By LonelyCreeper, with 7 replies.
Last reply by danpost, almost 13 years ago:
Change the calling method to the following: <Code Omitted>
Run Time error
By BradH, with 5 replies.
Last reply by BradH, almost 13 years ago:
yes I was, Thanks guys.
Where can I get just chapter 1?
By NateP, with no replies.
I was told the book is free, its not, so I want to atleast "try" the first chapter to see if its worth purchases anyone know where I can get it?
How can I check when a key is NOT being pressed?
By camsterb, with 2 replies.
Last reply by camsterb, almost 13 years ago:
Shrug indeed...
non-static method-non-static-non-static-non-static...
By Minion1, with 7 replies.
Last reply by danpost, almost 13 years ago:
You are probably calling the 'redCheck' method either before the Cursor object is placed in the world or after it has been removed. You could put a check as the first statement in the 'redCheck' method to avoid the error: <Code Omitted>
MenuDijkDoorBraak cannot be cast in FloodWorld
By Thellior, with 1 reply.
Replied to by Thellior, almost 13 years ago:
https://www.dropbox.com/s/kjmmnb4yreezj00/Dijkdoorbraak.rar sorry for the Dropbox link. but i dont know how to share the code
Username length
By TestUserLength12345, with no replies.
What is the longest possible username possible to use for the greenfoot website? I want to create a custom scoreboard but I may have issues with displaying large usernames. I would like to know how long is possible.
how to spawn an actor that have different speeds?
By Mcstevens, with 4 replies.
Last reply by danpost, almost 13 years ago:
You need to declare an instance int field in the class to hold the speed for each object created and assign the random value (1, 2, 10, or 20) in the constructor of the object. <Code Omitted> if radNum=0: radNum/2=0, *9=0, +1=1; radNum%2=0, +1=1; 1*1=1 if radNum=1: radNum/2=0, *9=0, +1=1; radNum%2=1, +1=2; 1*2=2 if radNum=2: radNum/2=1, *9=9, +1=10; radNum%2=0, +1=1; 10*1=10 if
How to make 3d games?
By bbwf, with 4 replies.
Last reply by Duta, almost 13 years ago:
3D rendering is very difficult. There are actually many different ways to render 3D objects, but for all of them the algorithms are quite complex. If you're wanting to do 3D, Greenfoot isn't really a realistic option. You could try JMonkeyEngine (that was what I used when I first did 3D). If you're wanting to create a 3D rendering engine (I wouldn't personally recommend it, but it's up to you), then Google should help you out with what the algorithms actually are
How to make a Counter that counts up?
By bbwf, with 2 replies.
Last reply by bbwf, almost 13 years ago:
Thanks
Get a counter to return score
By LonelyCreeper, with 1 reply.
Replied to by seelensauger, almost 13 years ago:
<Code Omitted> that's how I made it in my first game i hope this is what u asked for
896
897
898
899
900
901
902
X