21-08-2006, 10:18 AM
For you problem with the standing sprite.
You want it so that when you stand still, you appear standing still, but only if you are standing still for a while, without moving.
Otherwise you want alternating animations of the other two.
I started work on this a while ago, for Naruto Realm.
I couldn't get it working at all.
My idea was to add a new Timer in PlayerRec, and if you stand still (in check movement) it saves the tick count.
Then, in bltPlayer, if the timer + w/e > Gettickcount then animation = standing animation.
I could never get it to work though.
Oh, and I couldn't find out a way to do the 3 animations themselves.
Initially, I was going to get some code out of my source, but I have edited bltPlayer so much I couldn't really find anything that would work in a Vanilla Mirage.
Sorry,
~Kite
You want it so that when you stand still, you appear standing still, but only if you are standing still for a while, without moving.
Otherwise you want alternating animations of the other two.
I started work on this a while ago, for Naruto Realm.
I couldn't get it working at all.
My idea was to add a new Timer in PlayerRec, and if you stand still (in check movement) it saves the tick count.
Then, in bltPlayer, if the timer + w/e > Gettickcount then animation = standing animation.
I could never get it to work though.
Oh, and I couldn't find out a way to do the 3 animations themselves.
Initially, I was going to get some code out of my source, but I have edited bltPlayer so much I couldn't really find anything that would work in a Vanilla Mirage.
Sorry,
~Kite
Quote:Robin:
Why aren't maps and shit loaded up in a dynamic array?
Jacob:
the 4 people that know how are lazy
Robin:
Who are those 4 people?
Jacob:
um
you, me, and 2 others?