Skip to content

Conversation

@github-actions
Copy link
Contributor

Description

This extension adds skew and shear transformation capabilities to 2D objects in GDevelop. You can distort objects by slanting them along the X or Y axis, which transforms rectangles into parallelograms. This is useful for creating visual effects such as perspective distortion, speed motion, wind effects, or artistic stylization in your games. The extension automatically converts between radians used internally by PixiJS and degrees for easier use by developers.

How to use the extension

To use the Skew 2D extension in GDevelop, first install the extension and add it to your project. Once added, select any 2D object in your scene that you want to skew. In the Events Editor, use the actions provided by the extension, such as Set Skew X or Set Skew Y. Enter the skew angle in degrees. Positive values will tilt the object in one direction, while negative values will tilt it in the opposite direction.

You can retrieve the current skew of an object using the SkewX and SkewY expressions. These expressions return the skew angle in degrees and can be used in calculations, conditions, or displayed using text objects.

Image Image Image

Checklist

  • I've followed all of the best practices.
  • I confirm that this extension can be integrated to this GitHub repository, distributed and MIT licensed.
  • I am aware that the extension may be updated by anyone, and do not need my explicit consent to do so.

Example file

[SkewExtension.zip] (https://github.com/user-attachments/files/24200623/SkewExtension.zip)

Extension file

Skew2D.zip


Extension by @Carrotstudio0

You can update the extension on this "Pull Request" by commenting the update command: in the comment field, type !update, then drag and drop a zip file with your extension file in the commenting field, like how you initially submitted the extension. It should look like this:

!update [MyExtension.zip](https://github.com/GDevelopApp/GDevelop-extensions/files/12709661/MyExtension.zip)

It can take a few seconds for the file to fully upload and show as the above. Once it is like shown above, click "Comment" and let the bot do the rest!

@github-actions github-actions bot requested a review from a team as a code owner December 17, 2025 20:33
@github-actions github-actions bot added the ✨ New extension A new extension label Dec 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

✨ New extension A new extension

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants