Animation Problem - Actor image is not restored

ckurt25ckurt25 Member Posts: 122
edited November -1 in Working with GS (Mac)
Hi Gang!

I've had this problem with my iFore! game for a while but it really hasn't bugged me until I started working on it for the iPad. I had someone redraw my character so it looks a lot more professional but I still have a problem. My main guy walks back and forth and the animation is smooth and looks good. When there is no input (accelerometer or arrow keys on keyboard), the character returns to his normal standing position. Sometimes, he'll get stuck in mid stride and it looks funny (in a bad way) that he's not moving but has a leg up in the air.

I'm fairly certain this happens when there is rapid change of direction when using the accelerometer or if you jam on both the right and left arrow keys. I'm not too worried about it happening on a Mac since its only being sold in the App Store. Any ideas on how I can always get it to restore actor image when done? And yes, that box is checked.

The right movement rule I have is Attribute game.accelerometer.y > .12 then Move & animate. Left is < -.12. I've played around with the value but always seem to get the same results.

I'm thinking I may need a rule that says if accelerometer.y <.12 & >-.12 then change image (?) or do something to force the restore of the image. I wanted to throw it out here to see if there were any suggestions.

Thanks in advance for the help.
Sign In or Register to comment.