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
removing bullet
By howdoesonecode, with 9 replies.
Last reply by howdoesonecode, over 11 years ago:
danpost wrote...
It looks like (although I cannot be sure because you have not posted what your 'act' method looks like) you have this in your act method: <Code Omitted>If the actor is removed from the world in the 'destroyEnemies' method, then the 'getX' call in the 'atWorldEdge' method must fail -- the actor does not have a location in the world, so 'getX' is meaningless. To avoid the error, just make sure the actor is still in the world before calling 'atWorldEdge': <Code Omitted>
it works thankyou 5
Trying to create a video player with arrays
By Lightning, with 3 replies.
Last reply by Super_Hippo, over 11 years ago:
'setImage' is used to set the image of an actor, so not here. <Code Omitted>
Can't use the variable in my while-loop.NEED HELP!
By bramp0wnd, with 8 replies.
Last reply by bramp0wnd, over 11 years ago:
Thank you very much for your time to answer to my post. I know that my method might have been very far fetched. I haven't been programming that long (few months). FYI: I passed my Java-exam this week at school! :-)
Combining Multiple Worlds into One Composite World?
By decadence18, with 2 replies.
Last reply by decadence18, over 11 years ago:
I'm attempting to utilize this now...
Intersecting Objects
By chandler4258, with 2 replies.
Last reply by chandler4258, over 11 years ago:
Thank you for offering your help but I figured it out
Hi l have a problem
By 60sChallange, with 4 replies.
Last reply by 60sChallange, over 11 years ago:
thanks bro :D
Help with my Type box project
By fejfo, with 5 replies.
Last reply by fejfo, over 11 years ago:
thanks for your help
Set the size of the world to an amount from a variable
By jimboweb, with 9 replies.
Last reply by jimboweb, over 11 years ago:
Yes, davmac, that is exactly how I did it once I saw your suggestion. I had a subclass of the world call the factory method, and it worked great. You have the advantage of a different subclass for every world, with all the features of the superclass. Thanks for the suggestion.
HELP PLEASE
By Sam146, with 11 replies.
Last reply by danpost, over 11 years ago:
It appears your 'theCounter' field in your world class was not assigned an Overallscore object.
Removing object with a timer
By C.C.S, with 4 replies.
Last reply by C.C.S, over 11 years ago:
OK got it now. Thank you very much.
Heyy I NEED HELP
By stedmon, with 3 replies.
Last reply by danpost, almost 12 years ago:
danpost wrote...
For further assistance, show the code you tried
Noone can help you fix your code without seeing what needs fixed.
Interactive block and floor
By Jellyfish, with 2 replies.
Last reply by danpost, almost 12 years ago:
Your problem was responded to in your other discussion thread. Any issues with understanding could be brought up there. Please do not create multiple discussion threads for the same issue and respond on the other thread giving what 'stuff' you do not know the meaning of.
Does the world classes update integers within it every second?
By Sam146, with 2 replies.
Last reply by Sam146, almost 12 years ago:
thanks really helps
New Computer Programming
By superacewolf, with 3 replies.
Last reply by superacewolf, almost 12 years ago:
Thanks
Create Target Field
By lupus, with 2 replies.
Last reply by lupus, almost 12 years ago:
Now it works - thanks @dan! My problem was, that I first implemented the act method not in the subclass of my world, but in the actor class.
604
605
606
607
608
609
610
X