animation problem
I have 2 lines in my dink.ini:
load_sequence_now graphics\dink\idle\ds-i2- 12 250 33 73 -12 -9 12 9
and
load_sequence_now graphics\dink\walk\ds-w2- 72 43 33 73 -12 -9 12 9
the first one is dink standing still facing southern direction, and the second one is dink walking southern direction.
Now, both coordinates and all that jazz are the same. The 2 graphics (the standing and walking ones) are completely the same.
However, when I play the dmod and I'm standing still, and I start to walk, dink moves some coordinates down and left. I have absolutely no idea how to fix this weird problem, because everything is the same about these 2 things...
sooooooooo.. can anyone help me out here?
thanks
load_sequence_now graphics\dink\idle\ds-i2- 12 250 33 73 -12 -9 12 9
and
load_sequence_now graphics\dink\walk\ds-w2- 72 43 33 73 -12 -9 12 9
the first one is dink standing still facing southern direction, and the second one is dink walking southern direction.
Now, both coordinates and all that jazz are the same. The 2 graphics (the standing and walking ones) are completely the same.
However, when I play the dmod and I'm standing still, and I start to walk, dink moves some coordinates down and left. I have absolutely no idea how to fix this weird problem, because everything is the same about these 2 things...
sooooooooo.. can anyone help me out here?
thanks
not to sound stupid, if you stacked the graphics on top of each other, do they line up?
If i remember correctly the format goes like this.
load_sequence path
center x
center y
left boundery
top boundery
right boundery
bottom boundery
it looks liek your depth dot (center x and center y) are diffrent, is this intentional? Try to get the sprites to have the same depth dot (yes, they may diffrent value wise) in the same spot on the two sequences, then place each sprite on a screen at the same cords (like 200,200), and see if they match up. If not, tweak it but lowering/raising the x,y cords fro the depth dot and that will move it up down left or right depending on the tweak.
load_sequence path
center x
center y
left boundery
top boundery
right boundery
bottom boundery
it looks liek your depth dot (center x and center y) are diffrent, is this intentional? Try to get the sprites to have the same depth dot (yes, they may diffrent value wise) in the same spot on the two sequences, then place each sprite on a screen at the same cords (like 200,200), and see if they match up. If not, tweak it but lowering/raising the x,y cords fro the depth dot and that will move it up down left or right depending on the tweak.
when I place the 2 sprites on the exact same coordinates in DinkEdit, they are precizely on top of each other, but when I launch the game, the walking sprite is some coordinates below and left from the idle sprite.