Logo my studio is game, portfólio is developer game

Flip 2D

In 2D platformer games, we have to turn the character to the other side.

This is enough:

private void Flip()
{
    Vector3 newScale = transform.localScale;
    newScale.x *= -1;
    transform.localScale = newScale;
}

Make contact!

Did you like this content? Let's talk...

I'm a game developer, I use unity. If you want to develop something, tell me!