How to Center Sprite?

Started by Sydrik, Sun 05/04/2009 17:48:18

Previous topic - Next topic

Sydrik

Is there a way to center a sprite for a view?

The problem I am having is that my sprite seems to be leaning a little above to the top. As a result, as my character is walking on the walkable area, he seems to move higher than he should, thus making him walk on walls.

You can download my compiled work here. Move the character below a wall, and you'll see what I mean.

Thank you.

monkey0506

Unless you have transparent pixels lining the bottom of your sprites this shouldn't be happening anyway, but you could use Character.Z to offset them.

SMF spam blocked by CleanTalk