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
isAtEdge not working
By ADAM68801, with 3 replies.
Last reply by ADAM68801, about 4 years ago:
Thanks, it worked
Hello and thank you that you take time to help.
By Pasce, with 1 reply.
Replied to by Super_Hippo, about 4 years ago:
Do you ever set the ‘attachedActor’ to anything?
Changing actors
By ADAM68801, with 7 replies.
Last reply by Spock47, about 4 years ago:
The if-statements that replace the buy-icon with the equip-icon are currently in the constructor of class Shop. That means, that they are only executed when the new Shop gets created. But you want them to be checked continuously while the shop is shown. The method that is executed continuously as long as the object is shown, is the act-method. So, if you move these statements into the act method, it should work. (Note that you will have to adjust the needed variables from being defined in the constructor to be private attributes of the class, so that the if-statement in the act method ca
Changing variable value
By ADAM68801, with 1 reply.
Replied to by Super_Hippo, about 4 years ago:
<Code Omitted> If the actor is in the world, you can then do this to set it to 100 for example. <Code Omitted>
how do u make the bullet disappear after hitting the enemy or the end of the world
By Beebon, with 2 replies.
Last reply by Beebon, about 4 years ago:
thx
HELLO PLS HELP ME
By Beebon, with 10 replies.
Last reply by Beebon, about 4 years ago:
thakns u
Actor disappearing for seemingly no reason
By Harrypotamus, with 14 replies.
Last reply by Harrypotamus, about 4 years ago:
I found the issue, I had the initialization as "public void token()" instead of "public token()"
Cut and paste not working in Stride
By lester52, with no replies.
The Stride editor will not cut, copy or paste. The standard editor works fine. Thankyou.
how do u make shots delay
By Beebon, with 5 replies.
Last reply by danpost, about 4 years ago:
The
Gun
class needs a field for the number of bullets it has to shoot. When shooting, the value should be decremented and then checked to see if any are left. If none left, remove gun from world.
HELLO PLS HELP ME
By Beebon, with 8 replies.
Last reply by Beebon, about 4 years ago:
thx alot :D
Problem: after scenario was restarted score does not reset
By verstruGGelt, with 4 replies.
Last reply by verstruGGelt, about 4 years ago:
Thanks for your time. I figured it out by myself, but appreciate your help
Problem playing sounds (MP3).
By Harrypotamus, with 4 replies.
Last reply by Harrypotamus, about 4 years ago:
I got it to work soon after I posted this, thanks!
this is title
By AlphaKennyOne, with 2 replies.
Last reply by AlphaKennyOne, about 4 years ago:
damn yo!
How do I make a input box?
By Billkingtang, with 1 reply.
Replied to by danpost, about 4 years ago:
Billkingtang wrote...
I want to make a label thats editable by the user. So they can click on it and change it to any value they want. << Image Omitted >> (For the money settings) It would be very much appreciated if you have any idea how to do this thanks!
What have you tried? Have you done any searches? I have a
Dialog
class that contains elements for this and more. See my support collection.
acceleration
By ADAM68801, with 1 reply.
Replied to by danpost, about 4 years ago:
Anything proportional to zero will be zero, so there must be some initial speed that is added non-proportionally to start it moving. The simplest way would be something like this: <Code Omitted>However, the actor will quickly accelerate off to the edge of the window. Placing a cap on the speed might be helpful. Also, using location values that are smaller that one pixel would aid in a slower speed-up as well as allowing a smaller proportionality. Unfortunately, this becomes not so simple.
41
42
43
44
45
46
47
X