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
Text size
By Solomon, with 2 replies.
Last reply by Solomon, over 9 years ago:
nevermind i got it to work now thx
File cannot be null in array of Images
By Huntwa, with 3 replies.
Last reply by Nosson1459, over 9 years ago:
A side thing which I noticed in your code is that you have your for-loop going from 1 - 12 instead of from 0 - 12 for your "<Code Omitted>" (Arrays are zero-based so they start from 0 and go to one less than the number you put in, which you obviously know already because of "i<13").
Making this code easier?
By Hoppa, with 13 replies.
Last reply by Hoppa, over 9 years ago:
Thanks Danpost, Your a genius ;-). Such a simple code... <Code Omitted>
For loop to addObjects
By puddle148, with 4 replies.
Last reply by puddle148, over 9 years ago:
Thanks danpost everything is working now!
Continuity problem
By Hondrok, with 2 replies.
Last reply by Hondrok, over 9 years ago:
danpost wrote...
Replace line 94 with the following: <Code Omitted>
thank youu
Breakout paddle collision problem
By thebutterycanadian, with 1 reply.
Replied to by danpost, over 9 years ago:
Try this. Add the following to the ball class (or if you already have the first line in the code, add the code in the block to the end of the block in your code): <Code Omitted>This will show the extent of the actual image unless your background is dark, in which case you can change 'black' to 'white'. Report back what y
Maze runner
By Ponce09, with 1 reply.
Replied to by Super_Hippo, over 9 years ago:
<Code Omitted>Replace MyWorld with the name of your starting world class.
game
By jacquelinereilly, with 15 replies.
Last reply by jacquelinereilly, over 9 years ago:
it worked. thank you
Shooting
By Hondrok, with 10 replies.
Last reply by Hondrok, over 9 years ago:
Nosson1459 wrote...
spaceDown is not supposed to be a method (though you could have a method for checking the key), it's a boolean variable which you define in the beginning of your class (if you define it in the method you're calling then it won't do anything because you keep on resetting it).
danpost wrote...
Add a boolean field to track the state of the 'space' key. Use it in conjuction with 'isKeyDown':
Changing the font size of showtext()
By BigGrosse, with 2 replies.
Last reply by BigGrosse, over 9 years ago:
Okay thank you @danpost i will try it out!
Other
By Nosson1459, with 8 replies.
Last reply by Nosson1459, over 9 years ago:
davmac wrote...
I personally think it is much better to...
We had different opinions, but when you told me to start a new topic, I did so now everything's fine.
How to stop array from going out of bounds.
By nat12, with 6 replies.
Last reply by nat12, over 9 years ago:
Oh... I always make it sound more complicated than it actually is. Thanks once again.
Getting objects to move
By cooknj, with 2 replies.
Last reply by cooknj, over 9 years ago:
It's okay. Problem solved.
Shooting Actor heeelp
By Hondrok, with 8 replies.
Last reply by Hondrok, over 9 years ago:
Super_Hippo wrote...
Try this: <Code Omitted>
yeah it works thank youu
2 scorboards
By yeags, with 1 reply.
Replied to by danpost, over 9 years ago:
yeags wrote...
how do i have 2 separate actors have different scoreboards
Set up a scoreboard for one of your actors. Then, expand it for the other one. If you get stuck, post what code you currently have (for both) and explain what is creating trouble for you.
405
406
407
408
409
410
411
X