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
Collision
By tallyaka, with 30 replies.
Last reply by tallyaka, about 13 years ago:
Ok, I will. I'll get back to you tomorrow. For now I have to go to bed though. it's 10:30 and I have school tmrw.
Splitting a String
By Busch2207, with 8 replies.
Last reply by Busch2207, about 13 years ago:
Omg! Now I understand the page, that Duta postet! xD Sry, but I read the page under stress, bevore school today morning and so I haven't thought so much! xD Now it's clear! I haven't thought about, that this was a String and so you need two backslashes instead of one. xD Thank you guys!
Health
By Dom, with 1 reply.
Replied to by Duta, about 13 years ago:
If you look in danpost's Bar.class, you'll see that there are the methods: - public void add(int amount) - public void subtract(int amount) You call these methods to add or subtract health. There are other ways to do this but here's one way: (1) Go to your
world
class. Add the following:
moving through objects
By mrlegs, with 1 reply.
Replied to by danpost, about 13 years ago:
If the river is part of the world's background, you would have to either map the rivers and cross-check using the map, or check the color where the man moves. Move him, then check, If is has a high amount of blue (for the river) then back him up and turn him.
CACC
By Duta, with 3 replies.
Last reply by Duta, about 13 years ago:
@davmac I was assuming that it was a class, its just a shame that users uploading individual scenarios will be knocked off the front page really quickly. Its not the end of the world, just a little strange logging in to so many versions of one thing.
open editor failed
By Baxtor, with 4 replies.
Last reply by Baxtor, about 13 years ago:
thx, so i will use greenfoot ;-)
Greenfoot 2.2?
By DonaldDuck, with 3 replies.
Last reply by davmac, about 13 years ago:
Is turnTowards() like facing a different class?
It can be used to face towards another
object
, which could be of the same or a different class.
documentation
By vbh, with 6 replies.
Last reply by vbh, about 13 years ago:
sorry im danish try to translate as good as i can. for some very strange reason its working today. thak you for trying to help me.
Image Tracking...
By Omniscience, with 2 replies.
Last reply by Omniscience, about 13 years ago:
Thanks
davmac
, again incredibly helpful. I do appreciate the corrections in the terminology; it definitely will help me in an exam :) ... On careful thought, I think I will opt for your first possible solution, seeing as the images are very small, so the inefficiency itself, for me, will be near to negligible. EDIT: ah, it didn't work! Well, lets try the
seemingly
long-winded alternative...
Removing requests to add to collection does not appear to work
By danpost, with 4 replies.
Last reply by danpost, about 13 years ago:
It works now, thank you so much!
book scenarios??
By vbh, with 2 replies.
Last reply by vbh, about 13 years ago:
i did find it in the end :-) ty for your replay
Creating multiple levels
By Dave, with no replies.
Hello, after extensive research I can not figure out how I can add multiple levels into my scenario while keeping the same screen, objects and existing code as the last so that I can just add more objects to the same thing but on another level if that makes sense? Dave
How to add an object with a specific image.
By murphys, with 2 replies.
Last reply by murphys, about 13 years ago:
Thank you danpost for your reply. Yes, the Key class does provide specific images (white key or black keys) when the keys are constructed. I guess I should look at that code and adapt it for my purposes. That "one last question" was Colombo-esque in its pertinence. Thank you again.
Sin, cos, and tan?
By nooby123, with 9 replies.
Last reply by Duta, about 13 years ago:
If its that you're wanting to do,
click here.
(^Shameless self promotion)
Menus, Score-counters and Lives?
By Dom, with 1 reply.
Replied to by danpost, about 13 years ago:
See 'reply to Game Help'.
1000
1001
1002
1003
1004
1005
1006
X