Walk infront of character

Started by MotatoChisp, Tue 01/06/2021 20:59:12

Previous topic - Next topic

MotatoChisp

Hello!
My player character always walks behind the other characters, since most of them are supposed to be sitting in the background, i would like to make them walk infront of the characters.
Is it possible to do that?

Greetings!

Khris

Of course it's possible; the drawing order is determined by baselines, which are at the characters' feet by default.
Baseline further down the screen means gets drawn on top of stuff with a baseline further up.

So the question really is: why are these background characters' baselines further down than your main character's?

Can you post a screenshot?

MotatoChisp

Quote from: Khris on Tue 01/06/2021 22:52:24
Of course it's possible; the drawing order is determined by baselines, which are at the characters' feet by default.
Baseline further down the screen means gets drawn on top of stuff with a baseline further up.

So the question really is: why are these background characters' baselines further down than your main character's?

Can you post a screenshot?

Ohh, now I understand why. I had some placeholder sprites in there and the way they were placed put the baseline under where the player character is. I placed them a bit up and it all looks the way I wanted it now.
Thank you!

SMF spam blocked by CleanTalk