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
Have object follow game
By TheBrains1001, with 1 reply.
Replied to by danpost, about 11 years ago:
Removing keyboard control is as simple as re-creating the class in its entirety (remove it and add it back in to your project). I hate to sound like a broken record, but you should refer to the MouseInfo class API documentation to be able to determine the location of the mouse. The Actor class API documentation can be reviewed to find methods to do the actions required to follow the movements of the mouse.
game controller with game
By TheBrains1001, with 2 replies.
Last reply by TheBrains1001, about 11 years ago:
TY
Image Border issue any help?
By Zerosigma, with 1 reply.
Replied to by danpost, about 11 years ago:
It seems to me that there are only two ways to work around the issue. You can use pixel-perfect collision (which, by the way, involves extensive checking for non-transparent colors of the image against other images and can easily cause lag in the scenario) or you can break the image into parts (legs, arms, body and head -- the arms and legs could even be upper and lower parts) which would eliminate parts of the original image that are not needed. As an example of how breaking the image up would be coded, refer to my
Animated Character
scena
why the scenarios can't open
By crazyli, with no replies.
why the scenarios can't open
How would I?
By iCodeAsian, with 2 replies.
Last reply by iCodeAsian, about 11 years ago:
@Super_Hippo My CSP teacher wants it.
Is there an "OR" thing in greenfoot
By Elexios, with 1 reply.
Replied to by danpost, about 11 years ago:
Elexios wrote...
is there something in greenfoot like an "or"
See the middle section of the linked page, with the header
Conditional Operators
, in the java tutorials.
combine two for loops together
By davemib123, with 6 replies.
Last reply by davemib123, about 11 years ago:
i know i've seen your games, i'm not a your level of java understanding yet. But i'm slightly better than I was before :)
Actors (balls) fall down
By IsabelSchouten, with 1 reply.
Replied to by Super_Hippo, about 11 years ago:
You don't write code for 'actors', you write code for 'classes'. So you could just create another instance of the class.
i need help
By miladfr1234, with 1 reply.
Replied to by lordhershey, about 11 years ago:
I do not think most of us would have the book you are referring to. :/
Chain factor
By IsabelSchouten, with 6 replies.
Last reply by danpost, about 11 years ago:
IsabelSchouten wrote...
Thanks danpost, for helping! Unfortunately, it still does not work....
How is it now not working? How exactly is it supposed to work? Where is the 'betuurBal' method called from? The action taken when the 'down' key is down should be in this order: * move down * check for limit * if limit reached, set inactive, move up slightly, and call 'spawnNewBal' in world subclass
Drop an actor
By IsabelSchouten, with 1 reply.
Replied to by danpost, about 11 years ago:
First off, this is not the entire code that controls the actor. Also, using 'while' will cause the actor to find another actor or the bottom of the world instantly (the actor will not move, but transport without visually passing through the points between where it starts and where it "should" end up.
New to Java, using the counter to go to level2
By johnb, with 9 replies.
Last reply by kev, about 11 years ago:
I'll check it out when I'm on computer it doesn't work on iPad
Greenfoot Kinect / Mac OS X 10.7 Lion - libusb-devel
By dangjavageek, with 16 replies.
Last reply by pendragon, about 11 years ago:
Thanks dangjavageek and nccb! I've gone through this process a few times as well as nccb's workaround for the configure.ac file. Either way, I get error messages. Following these steps, I get all the way to make and sudo make install and get this error message: clang: error: no such file or directory: '/opt/local/lib/libboost_thread-mt.a' clang: error: no such file or directory: '/opt/local/lib/libboost_atomic-mt.a' Contrastingly, when I've made the changes to the configure.ac file, I get this message: 4: INTERNAL ERROR: recursive push_string! autom4te: /usr/bin/m4 failed with exit
Turning towards objects
By hoothoot, with 3 replies.
Last reply by hoothoot, about 11 years ago:
thanks
Null Pointer Exception Error when I Try to add Actor
By Sammi, with 6 replies.
Last reply by Sammi, about 11 years ago:
I finally get it now~ Thank you so much!!
526
527
528
529
530
531
532
X