Discord
Login
Community
DARK THEME

easiest way to flip a sprite?

I want to make a little strategy game. Two opponents, sprites should be flipped on y-axis. screen.setScale not working for me

That flips the whole screen.

To flip single sprites you use .setDrawScale() before you draw the sprite.

Don't forget to reset it afterwards :)

https://microstudio.dev/i/JimB007/spriteflip/

Post a reply

Progress

Status

Preview
Cancel
Post
Validate your e-mail address to participate in the community