Quick Links: Download Gideros Studio | Gideros Documentation | Gideros community chat | DONATE
scaling problem — Gideros Forum

scaling problem

hello there gideros people,

I have a question, please.

I have a character sprite, it can move left and right and jump. Simple.

The sprite is anchored at (0, 0) because I need to check for tiles collision. My problem is that when I use sprite.scaleX(-1) to flip the character it moves its coordinates as well. Everything is ok when I use anchored point at (0.5, 0.5).

What can I do?

Thanks for any hints. Peace.
my growING GIDEROS github repositories: https://github.com/mokalux?tab=repositories


Sign In or Register to comment.