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 could I add lives?
By potato, with 1 reply.
Replied to by danpost, over 10 years ago:
You can do it internally, using a field; and, you can add an Actor class to display the value of the field externally.
Greenfoot Terminal, Don't Understand
By Talon, with 3 replies.
Last reply by Talon, over 10 years ago:
erdelf wrote...
I think I know the problem... the lifebar and a crab is trying to find the actor but you removed him (just a guess) if it is so, try to check stuff like this before.. you could simply use the try method <Code Omitted>
Thanks man! I just did some short changes and was able to fix this.
danpost wrote...
To be sure, post your Crab class code.
I got it all figured out, thank you tho. I have been reading the "forums" or whatever you would call this
Help with an error regarding a symbol?
By Bluephoenix14, with 2 replies.
Last reply by Bluephoenix14, over 10 years ago:
I will do that. Thank you for your help!
For loop
By hungryjunk, with 6 replies.
Last reply by danpost, over 10 years ago:
Try: <Code Omitted>
Help me please!
By Epickiller10, with 10 replies.
Last reply by Epickiller10, over 10 years ago:
Thank you for the help! i appreciate it!!
How do i make it so an eneamy will move from left to right only a certain amount
By aaronmckenzie, with 3 replies.
Last reply by aaronmckenzie, over 10 years ago:
Thanks ill try this out
Problem with Mouse Held Down
By Arbitrage, with 7 replies.
Last reply by danpost, over 10 years ago:
Arbitrage wrote...
Do I change the "This" in line 3 to something else?
No. You probably need to change line 5 to this: <Code Omitted>
Having issues understanding what seems like a simple issue
By WhiteWolfLcT, with 1 reply.
Replied to by classicjimmy, over 10 years ago:
With a number interval of 100: <Code Omitted>
Sharing a Variable Between Other Actors and the World
By Kickero, with 15 replies.
Last reply by Kickero, over 10 years ago:
Thanks again guys you saved my butt!
random movement by multiples of 60
By jreilly10, with 2 replies.
Last reply by jreilly10, over 10 years ago:
thanks for the help and the fast response
Change level
By tabitha0509, with 1 reply.
Replied to by danpost, over 10 years ago:
A few questions: (1) what class do your Level1, Level2, etc. classes extend? (2) will the number of apples eaten always be 5 when changing from Level1 to Level2; and will the number always be the same when changing from any level to the next (but not necessarily 5)? (3) is there only one Schwein object added into any world?
I am trying to implement a 'change key' function
By karolis, with 6 replies.
Last reply by danpost, over 10 years ago:
I think you missed something in my last post. Line 2 (the while statement) has a semi-colon at the end of it. This says to run the loop without processing anything until a key of length one is entered through the keyboard. There is actually no code within the loop.
How to make a actor turn when it reaches the edge of the World?
By AabisHussain, with 1 reply.
Replied to by Retluoc, over 10 years ago:
<Code Omitted>
3d z-sorting
By wabuilderman, with 10 replies.
Last reply by wabuilderman, over 10 years ago:
Also, the anotation is very much appreciated. and so is your patience with me.
How do I make an object keep moving at the world's edge?
By pmerrill21, with 3 replies.
Last reply by danpost, over 10 years ago:
pmerrill21 wrote...
How would I be able to make the car go back and forth?
danpost wrote...
The line 'setRotation(180)' is one directional. It will never set the rotation back to zero.
Either use: <Code Omitted>
620
621
622
623
624
625
626
X