Okie dokie, he doesnt move up and down anymore, and he reverts to standing when hes not walking. Ill rewrite the addObjects in the world later to put the limbs in the right spot... but im just working on trying to get him to die or something when he intersects with a rolling pumpkin.
Hello,
I love the idea for this type of animation; however, when I download the scene and run it in Greenfoot, the arms and legs rotate in a circle. How would I fix this?
Thanks,
@meazalplaq, I have downloaded and ran the scenario and found the same issue. Being that it appears to work properly on the site AND that there is a check for 'getRotation() == -20' in the code (which today can never return true), it would seem that the implementation of 'getRotation' was changed between then and now. Today, it returns a value in the range of zero to 359; where at the time this was created, it would seem that it returned a range of -180 to 179. (this scenario was uploaded September of 2011 -- over three years ago, with probably one of the first versions of Greenfoot). If you start a discussion thread, I will post my corrected Torso class for you.
2009/12/17
2009/12/18
2009/12/18
2009/12/18
2011/9/22
2014/12/2
2014/12/2
2014/12/2
2014/12/2