|
Hi guys, I am working on a background with mountains and trees and stuff that this little dude can traverse. I have gotten his feet to look like they are walking using the special sprite byte, i just flip him horizontally, but the problem is that he totally looks like he is booking! You walk him a couple steps to the right and his feet zoom in place like 50 times. Hehe its actually kindof funny. Anyway I was thinking to combat this, maybe I could test the X axis (just one axis for now) to see if its value was an even number, and then only if it is even do the horizontal flip of the sprite. That way his feet would only move every other X axis value. Do you guys think this would work? Also, how to implement? I was thinking of doing a shift right on the X axis value and if there was a 1 it would carry out or something, then I could branch on carry. I have the general concept down but I'm a little fuzzy on the details. Any pointers? Thanks.
-Pulper
|