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
I get an weird error
By XApple15, with 5 replies.
Last reply by danpost, about 5 years ago:
Those kind of errors are usually caused by having information blocks embedded in the files. Try re-saving the files w/o the information.
Change the image of an Object
By lil.bopp, with 1 reply.
Replied to by lil.bopp, about 5 years ago:
Uh sorri, I found out myself xd It's literally just <Code Omitted> well still thank you, and if this helped someone else, that's just better :p
I can't click buton after i add an actor with click
By raul124, with 1 reply.
Replied to by raul124, about 5 years ago:
I figured it. Apparenty my zone actor has a larger aria that i tought and it was covering my buton Now it works perfectly.
Spawn new actors when there are no bullets
By raul124, with 2 replies.
Last reply by raul124, about 5 years ago:
Your idea worked. But after some thinking I ended up makind to different buttons, one for each action I needed. Thank you very much!
Projectile Animation
By Genota, with 1 reply.
Replied to by danpost, about 5 years ago:
Remove line 137.
Can I add objects to the world with a for() loop?
By BlueHand, with 9 replies.
Last reply by danpost, about 5 years ago:
BlueHand wrote...
Thanks, but I notice that something is up with the last parentheses of: <Code Omitted> It says " ']' expected "
Correction: <Code Omitted>
Set image from another actor void act()
By alex_denis20011, with 3 replies.
Last reply by alex_denis20011, about 5 years ago:
Thank you Dan,I m grateful for this,sorry that i'm vague.
Shooting in both directions?
By Genota, with 1 reply.
Replied to by danpost, about 5 years ago:
If you would rather not compare ALL the possible images to the current image, I would suggest you add a
boolean
to track the currently facing direction. Update it when a movement key is pressed and use it to determine shooting direction.
Movement debug
By BogdanMicu, with 6 replies.
Last reply by danpost, about 5 years ago:
Needs collision checking in (moving) Platform class. Must keep platform off actor.
Menu music
By BogdanMicu, with 14 replies.
Last reply by BogdanMicu, about 5 years ago:
Now it works! Thanks a lot! I feel like these things are pretty obvious and straightforward but it sometimes just doesn't cross my mind. I guess it comes with experience and you gotta actually understand how Java works too :) . Thanks again!
How to spawn an enemy between two y coordinates 550 and 600?
By KeLLox, with 1 reply.
Replied to by danpost, about 5 years ago:
<Code Omitted>
Weird GIF Images Scaling results
By AnJoMorto, with 2 replies.
Last reply by AnJoMorto, about 5 years ago:
The thing is I can't figure out how to always get back the original image to scale it, since it's all changing GIFs
Scrolling world problem
By Genota, with 4 replies.
Last reply by Genota, about 5 years ago:
Okay, now it works. Thank you!
Count act rounds
By Philinö, with 1 reply.
Replied to by danpost, about 5 years ago:
Add an
int
field to maintain count of act steps. Increment it in
act
method. Do not add an
Endscreen
object into the world if one is already in the world. You could also limit incrementing of the act step count to the same condition. Maybe having the following line as first in
act
: <Code Omitted>would suffice for both.
Ennemy checking if player is close?
By AnJoMorto, with 8 replies.
Last reply by AnJoMorto, about 5 years ago:
Thank you for both of you! It was really what I needed plus I got to understand it a little more! Many thanks!
87
88
89
90
91
92
93
X