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
Need help with kill proximity
By tissuepaper, with no replies.
in SpaceAttack, we changed the player and bomb image, and now the bomb kills the player when it is somewhat close to it, rather than when it hits it. <Code Omitted>
Need Help about my Score counter
By cgrent, with 9 replies.
Last reply by Super_Hippo, over 10 years ago:
In the original code above, you can remove lines 23 and 24. 'leafs' is never used and variable is initialized to 0 by default. How are you trying to add points? When eating a leaf, you will need something like this if you don't have a reference to the counter. Condition for this is that there is always one counter in the world. <Code Omitted>
Are there any good programs to share/sync code with someone else
By jimicoolio, with no replies.
Im working on a project with a freidn and im looking for a good program to work on the same project at the same time which updates frequently anyone got any goods?
How to make youWin board appear when the score reaches certain number
By codedroid, with 1 reply.
Replied to by danpost, over 10 years ago:
In your bg class act method, add the following: <Code Omitted>Of course, you need to put the score you want the youWin actor to appear in the code. You may need to do something about actions of the other actors; but, you will have to see what needs done after implementing the 'youWin' actor.
HELP
By PaoloLim17, with 1 reply.
Replied to by danpost, over 10 years ago:
I see an issue with the patty class (one where an run-time error will occur); but, I do not see any issues (other than methods that are not being called; at least, not that I can see) with the other ones. Maybe you should post your
MyWorld
class code.
Help, can't figure out how to detect walls in my open world
By ccnetminder, with 1 reply.
Replied to by danpost, over 10 years ago:
As coded, your 'handleKeyPresses' method needs an int argument ( 'moveAmt' ); but, line 9 does not give a value for that argument. By the way, you said you got errors, but you did not post what they were. It would help if next time you show what error you are getting.
Help with automating cars(move())
By Vatgas, with 10 replies.
Last reply by Vatgas, over 10 years ago:
Thank you so much! I got it to work.
Help with getting more than one of same actor's X and Y in code
By Sammi, with 5 replies.
Last reply by Sammi, over 10 years ago:
Got it, thanks!!
Cannot find symmbol - class wall.
By RedPanda98, with 1 reply.
Replied to by danpost, over 10 years ago:
Do you have a subclass of the Actor class called Wall? If so, show its code. Also, please indicate which line the error occurs on. Line 13 calls a method called 'Wall' which is not currently in the class given. However, that would not produce the error message you show in the title.
Help I can't get my counter to work
By cgrent, with 1 reply.
Replied to by danpost, over 10 years ago:
If you are getting any error messages either when compiling or during execution, you should indicate -- rather, copy and post them -- here. I can say that line 66 has a missing character, a 'v', in it. The name of the method does not appear to be one provided by
mic
as well. It should either be 'getValue' or 'getNewValue' -- not 'getnewValue'.
start menu with movement ?
By chamot, with 3 replies.
Last reply by danpost, over 10 years ago:
One way is to provide different implementations for your actors depending on the world they are in: <Code Omitted>This format can be used in the act method of your actor classes to do just that.
Variable issue
By GreenMan15, with 8 replies.
Last reply by GreenMan15, over 10 years ago:
Thank you so Much! It worked!
Help on Scenario
By DancingSouls, with no replies.
http://www.greenfoot.org/scenarios/16031 i need help reducing lag and other code stuff, more in the description, help please!
run and reset button
By Mux, with 82 replies.
Last reply by iCODER, over 10 years ago:
step3 : download this: export.zip than unzip it into a folder, and replace the one you found in step2(include those files in the folder, replace them all) by this one
Could you please re upload the file
help with spawn
By khoalabear, with 4 replies.
Last reply by Vellyxenya, over 10 years ago:
And don't forget to write "counter--" whenever you destroy the enemy, or it exits the World
495
496
497
498
499
500
501
X