Is it possible to skew an sprite?

I couldn’t find it on the actions panel. I would be a great feature for certain kinds of effects. Anyone knows a way to skew an image?

1 Like

You are perfectly right, it could be useful for perspective for example.
In same cases, a workaround could be drawing your sprite turned of an angle, and then scaling it on the X axis for getting a skew deformation

Skewing should be done in GIMP before importing the resources.

I mean dynamically skewing. Just as scaling and rotating to create animations.

I think I didn’t get it. Could you kindly give me a visual example please?

You can obtain a skewing like this:
https://games.gdevelop-app.com/game-344af037-ab50-4e44-95af-734123701891/index.html

using for example a sprite turned of 45°

Cattura

using X scaling an changing the angle:

Depending on the sprite angle (in thi case 45°) you will get different skews

1 Like