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 to drag a world?
By roronoa, with 7 replies.
Last reply by danpost, over 12 years ago:
I came up with this code to drag an oversized image on the world background.
for loop problems
By erdelf, with 6 replies.
Last reply by erdelf, over 12 years ago:
yeah, when I didn't used the for loop for a while, I forget the most parts.
Breakout code, very confusing? care to explain
By hamchi, with 3 replies.
Last reply by danpost, over 12 years ago:
The code says the same thing as the following <Code Omitted>which might make more sense. If the objects are closer along the x-axis than half the width of the object (which should be the width of the block or paddle -- not the width of the ball) then the ball must be hitting the top or bottom face of the block or paddle and so the y-direction must reverse; otherwise, the x-direction must be reversing. It would seem, however, that corner bouncing would not simulate natural behavi
How to change the cursor image?
By roronoa, with 1 reply.
Replied to by Gevater_Tod4711, over 12 years ago:
In
this scenario
by Busch2207 the mouse disappears (like the name already says), because the mouseImage changes to a transparent image. If you use another image the mouse will look like this. You could also look at the world class of
this
game. There I used an image.
Ending game when eaten
By Penguins_and_Orbs, with 23 replies.
Last reply by davmac, over 12 years ago:
If you actually do have a 'canSee' method, you can write: if (! canSee(Penguin.class) && ! canSee(Bee.class)) { The '!' means 'not'.
Looping through a string
By mickyg, with 4 replies.
Last reply by mickyg, over 12 years ago:
Thanks again! It's very much appreciated as I have spent a fair bit of time trying to figure this out.
@nooby123 Some suggestions
By Upupzealot, with 4 replies.
Last reply by nooby123, over 12 years ago:
Wow thanks! That looks actually pretty cool!
Demon time coming soon!
By Game/maniac, with 5 replies.
Last reply by Game/maniac, over 12 years ago:
Its out early!
Need help with working across classes
By iWin4Poland, with 5 replies.
Last reply by danpost, over 12 years ago:
You can find the methods you can use on String objects
here
.
Crab scenario question
By mncomic, with 5 replies.
Last reply by Upupzealot, over 12 years ago:
XD you are welcome
Help with Object Interaction
By PoleBro764, with 8 replies.
Last reply by Upupzealot, over 12 years ago:
XD
need help with String.replace()
By Gevater_Tod4711, with 4 replies.
Last reply by SPower, over 12 years ago:
O, I always click on the old API :(, I'll keep that in mind next time ;)
Help with delay on backgroundmusic
By Tezuka, with 12 replies.
Last reply by danpost, over 12 years ago:
You just need to call this method from the act method without condition <Code Omitted>
is it possible to insert web page?
By won0c, with 9 replies.
Last reply by Upupzealot, over 12 years ago:
Yes, and davmac saw that also, he said the way I'm using maybe unsafe... Now I was worrying about whether I have caused some trouble here
Display on External Monitor ?
By mattdodo, with 3 replies.
Last reply by SPower, over 12 years ago:
Maybe this helps getting the scenario full screen:
http://www.greenfoot.org/topics/find/12042#post_12042
926
927
928
929
930
931
932
X