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
counter
By lbk14, with 3 replies.
Last reply by davmac, over 13 years ago:
There are plenty of examples out there, see
tutorial #6
for instance.
Constructor
By Matt, with 5 replies.
Last reply by Matt, over 13 years ago:
I tried it and it worked. Thanks for all your help
Reset atWorldEdge
By needcodehelp, with 1 reply.
Replied to by SPower, over 13 years ago:
When you detected you 'fall off' an edge, you need to reset the world doing this: <Code Omitted>Replace 'MyWorld' by your own subclass of World.
Stopping at walls
By TheYoung0ne, with 8 replies.
Last reply by TheYoung0ne, over 13 years ago:
Thanks for all of your help...everything works as intended.
How do you make a method to check if on ground?
By kevinchaoo, with 8 replies.
Last reply by davmac, over 13 years ago:
For reference:
First Jumping video tutorial
Second Jumping video tutorial
Animation problems
By dlanni, with 3 replies.
Last reply by dlanni, over 13 years ago:
Yay, it works! Thanks again for all your help. Now all I have to do is draw a few more walking Lanas so it doesn't look so clunky, then implement your collision detection in one of the rooms, then make the NPC cat wander around, then draw a wardrobe and install it and code it, then make GUIs for various choices, then figure out how to use scale, then...all before next Wednesday!
Radius Collision
By Gazzzah, with 3 replies.
Last reply by davmac, over 13 years ago:
Gazzzah, I think the suggestion was that you actually check the documentation, and see what methods are available. In terms of getting the finer details working, I think you need to narrow your questions down a bit, and perhaps post some code (whatever you have) to provide a basis for suggestions.
getWorld().removeObject(this); // Actor not in world error
By needcodehelp, with 3 replies.
Last reply by needcodehelp, over 13 years ago:
Thank you, will try!
How do you detect whether certain actors are gone
By kartikitrak, with 5 replies.
Last reply by kartikitrak, over 13 years ago:
Thanks so much! It worked perfectly : D
A strange NullPointer
By darkmist255, with 3 replies.
Last reply by darkmist255, over 13 years ago:
Well, all appears to be fine and dandy after cleaning up a bunch of code, I think I must've called the method twice? That was more difficult than it should've been :D.
nullpointerexception
By tylers, with 1 reply.
Replied to by davmac, over 13 years ago:
Then 'p' is null.
Help with a function? :)
By Jesse_Orange, with 9 replies.
Last reply by Jesse_Orange, over 13 years ago:
This code in SnakeHead adds a SnakeBody <Code Omitted> This is the SnakeBody
onGround question
By xChocoMel, with 1 reply.
Replied to by MrDoomsday, over 13 years ago:
Why not just add a second boolean like "onPlatform()" and use Platform.class in that one instead?
make .apk
By akin, with 3 replies.
Last reply by trash1000, over 13 years ago:
Sorry, I really don't know what you're trying to say.
What program should I use to make the sprites for my programs?
By steved, with 4 replies.
Last reply by steved, over 13 years ago:
Thanks everyone! I have paint.net now and I'm happy with it.
974
975
976
977
978
979
980
X