This site requires JavaScript, please enable it in your browser!
Greenfoot back

Comments for Dude Walking

Return to Dude Walking

mjrb4mjrb4

2009/12/17

Not a bad start! I'd personally disable up and down movement (makes it look a bit odd when he's just floating.) It'd also be cool if he went back to the same pose when he stopped? Sometimes he has his legs crossed which looks a bit strange! Oh, and there's the small issue that before you hit the run button his legs are rather detached ;-)
A new version of this scenario was uploaded on Thu Dec 17 15:10:32 UTC 2009
AndresAndres

2009/12/17

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.
Jesusgeek94Jesusgeek94

2009/12/18

why not just use different images and animate them instead of using different objects..?
bluedgbluedg

2009/12/18

yes, that would be rather better and easier
AndresAndres

2009/12/18

I always do. I'm in between semesters and i was just bored so I tried something new.
theDoctortheDoctor

2011/9/22

Pretty cool for a dude walking!
meazalplaqmeazalplaq

2014/12/2

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,
danpostdanpost

2014/12/2

@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.
danpostdanpost

2014/12/2

@meazelplaq, read my last post. A correction: September of 2011 -- over three years ago should be December of 2009 -- about five years ago
meazalplaqmeazalplaq

2014/12/2

OK! Thank you. http://www.greenfoot.org/topics/find/47754#post_47754