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
tutorial methods not found
By mrsr, with 2 replies.
Last reply by mrsr, over 13 years ago:
Thank you, I will check that!
Change Worlds
By KaiBB, with 2 replies.
Last reply by IsVarious, over 13 years ago:
Remove 2 other actors when 1 is selected.
By TechWebLock, with 3 replies.
Last reply by TechWebLock, over 13 years ago:
That works perfectly, just had to shuffle the scores around so they would load. Thanks for that. As for the level classes I try and keep everything as un-complicated as possible then go back at the end and add in different more optimised codes. I will be using this when I have finished the last pieces of the game. Big thanks again :)
Problem with Creating Actors
By erdelf, with 11 replies.
Last reply by davmac, over 13 years ago:
Are A and B the class names?
And C, in my example.
Accessing Info
By JayWood860, with 2 replies.
Last reply by JayWood860, over 13 years ago:
i understand why it would limited access, since not all the files are on every computer, but how would you access this information?
Actors stopping
By Matt, with 4 replies.
Last reply by Matt, over 13 years ago:
Thanks for your help
Actor Rotation
By Matt, with 3 replies.
Last reply by trash1000, over 13 years ago:
<Code Omitted>Simple solution but not tested.
Sprinting Key!
By KaiBB, with 3 replies.
Last reply by Builderboy2005, over 13 years ago:
Alright sounds good. If you still have problems, be sure to post the whole code so we can check it out!
Saving With Another Extension
By KaiBB, with 2 replies.
Last reply by KaiBB, over 13 years ago:
Thanks!
Just wondering if this is possible
By darkmist255, with 3 replies.
Last reply by danpost, over 13 years ago:
Yeah! Make sure it is cast properly, so the compiler can find the method. Casting it in the 'for' statement gets a little messy (requiring 'List' objects and casts); that is why I cast it where I did.
weird syntax error
By Michionlion, with 2 replies.
Last reply by Michionlion, over 13 years ago:
ah... forgot a simple cast. Wow....
How do I make an object turn towards another object?
By steved, with 9 replies.
Last reply by steved, over 13 years ago:
@davmac, thanks I finally got it working! @danpost, no problem and thanks for all the help and for the random thing. @tylers, I tried that and it doesn't seem to work ill mess with it and see if I can figure that out. It sure would be simpler.
Scrolling with 2 lists, one works, other doesnt.
By matt.milan, with 3 replies.
Last reply by danpost, over 13 years ago:
I added a 'bigRefresh();' as the first statement in the scroll() method, and it seemed to work OK.
Changing specific colors in an image
By tallkid10, with 2 replies.
Last reply by tallkid10, over 13 years ago:
Wow thanks for such a quick response. I had the x and y starting at 15 from inspecting the arrays earlier, forgot to change'm when I pasted the code here. I didn't know about the getRed/blue/green() methods, I was just trying to inspect using greenfoot (which didn't tell me much). I'm guessing they are part of the Color class? Never thought to check that. I found out that the template color wasn't entered in correctly. I changed one number and it all worked! Thanks a bunch.
Moving Platform
By dark_sky, with 5 replies.
Last reply by danpost, over 13 years ago:
You could add an instance variable to the Platform class to hold a reference to the player on the platform (or null, if none). <Code Omitted>Then, when you move the platform, check for 'player' not being 'null', and if not, also move the player the same amount. If the player moves or jumps off the platform, set the platform 'playerOn' variable back to 'null'. It might be wise to have an instance variable 'onPlatform' to hold a reference to the platform the player landed on. ** On th
976
977
978
979
980
981
982
X