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
How do i make text like the games legend of zelda and pokemon ?
By CodeDaySwag, with 17 replies.
Last reply by danpost, over 10 years ago:
Please show the updated Player class code.
Switch between players?
By ProfessionalNoob, with 12 replies.
Last reply by ProfessionalNoob, over 10 years ago:
Thank you very much for the help. That works.
Brand New To Programming And Greenfoot
By JAVAMAN, with 1 reply.
Replied to by davmac, over 10 years ago:
Start by going through the
documentation
, particularly the tutorials.
Is there a way to make the world look more realistic?
By EduandErnst, with 4 replies.
Last reply by danpost, over 10 years ago:
EduandErnst wrote...
I'm sorry, I got banned for posting the iframe :D
Not really, you just temporarily got blocked from making any discussion posts until you (and your image) were approved. This only happens the first time you try to post an image.
nullPointerException need help
By Krhanos, with 3 replies.
Last reply by Krhanos, over 10 years ago:
Oh my god. Thank you so much it worked!
How can I stop an actor for a specific time?
By CSBossmann, with 6 replies.
Last reply by CSBossmann, over 10 years ago:
Thank you!
how would i go about getting a car actor to turn when there is a new road
By Rayray, with 2 replies.
Last reply by Rayray, over 10 years ago:
thanks ill get back to you if i have any problems
Why won't this code work?
By jennipho, with 4 replies.
Last reply by danpost, over 10 years ago:
You probably do not want to check for clicks on actors you add into the world within the same block of code (the 'if (yes())' code-block, in this case). That block is probably only executed when those actors are placed into the world and not continuously; so, trying to continuously check for a click on an actor there is pointless (as it will not be continuous; and if it was, you would have a multitude of actors spawning on top of each other and the one you wanted to be able to click on would be buried and never get clicked on). I would like to see what the 'yes' method does. Please show i
Having sounds stored in an arraylist
By sophiaking, with 1 reply.
Replied to by danpost, over 10 years ago:
A 'for-each' loop has the format: for (ObjectType variableName : listName) where 'ObjectType' is the name of the class that is declared to be assignable to the variable 'variableName'. Issues: (1) 'GreenfootSounds' is not a valid class name unless you created a class with that name; (2) in order for the for loop to execute its code-block, the list 'listName' ('sounds', in your case') must have previously had some elements added to it; (3) you probably will not be able to get away with two variables with the same name 'sounds' (for the elements of the list AND for the list itself);
How does a spider stop?
By enchino, with 1 reply.
Replied to by danpost, over 10 years ago:
You cannot tell an object to stop -- you can only regulate when it moves.
Change volume of bullet sound
By DarkGhost, with 3 replies.
Last reply by DarkGhost, over 10 years ago:
Wait never mind i put it in the wrong place, it works now :) thank you very much for your help! :)
When obstacle on the right --> stop. How? xD
By enchino, with 4 replies.
Last reply by enchino, over 10 years ago:
danpost wrote...
Would something like this do? <Code Omitted>
nope, it wouldn't be individual, but thanks :))
Sample Chapters in the Pearson Book
By bruce.cichowlas, with no replies.
I think they meant to make the 2nd and 3rd chapters available for viewing, but instead the 2nd & 3rd sections are the ones that are available. These are "About the 2nd Edition" and "Introduction", which are not very helpful in seeing what the book is about.
Proble with scaling world projects
By fejfo, with 11 replies.
Last reply by fejfo, over 10 years ago:
I never really continu working on a project for a long time I get lots of new ideas an have about 30 unfinsihed projects
Errors I'm not sure how to correct
By sophiaking, with 3 replies.
Last reply by danpost, over 10 years ago:
You probably want to use 'counter.getValue()', not 'P1Counter.getValue(counter)'. The same kind of change should be done on line 17. The error was stating that you cannot supply any arguments (values or expressions within the round braces immediately following the method name) in a 'getValue' method call because the method is not declared to accept any values (no declared parameters).
588
589
590
591
592
593
594
X