Quantcast
Channel: ZDoom
Viewing all articles
Browse latest Browse all 3391

Scripting • Player actor sprite vertical offset not working

$
0
0
I don't know if I'm doing something wrong but whenever I try to set a custom sprite vertical offset for the player it doesn't seem to work.

[imgur]https://imgur.com/a/9Tn9e1U[/imgur]

As you can see, in the images I have set the vertical offsets for each sprite, 51, 52, 51 and 52

In game I expect to see the player sprite going up and down while walking, but it does not happen, it's always the same height

Ironically, this happens only with rotations 2 and 8, with the other rotations, the exact opposite happens.

If I'd like all the images to have the same offset (for example all 51 vertical) I'm expecting the player sprite in game to keep the same height while moving, but it goes up and down (?)

Are the offsets for the player defined elsewhere? Or am I doing something wrong?

Thanks in advance

Statistics: Posted by zvx333 — Fri Apr 05, 2024 3:37 pm



Viewing all articles
Browse latest Browse all 3391

Trending Articles