New extension: <Skew>
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.
Checklist
- [x] I've followed all of the best practices.
- [x] I confirm that this extension can be integrated to this GitHub repository, distributed and MIT licensed.
- [x] 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
👋 Hey @Carrotstudio0, thanks for your submission! Unfortunately, all submitted extensions have to meet some minimal quality standard - the extension best practices - and our system has found that your extension does not fully comply 😔. You can find all of those rules on the GDevelop wiki.
The following issues have been found by the system concerning the respect of those best practices by your extension:
⟶ ❌ [Dots in sentences]: Field 'description' of the function 'SkewX' misses a dot at the end of the sentence!
⟶ ❌ [Dots in sentences]: Field 'description' of the function 'SkewY' misses a dot at the end of the sentence!
⟶ ❌ [Internal name validity]: The internal name of the extension Skew 2D is invalid! It should only contain normal latin upper- and lowercase characters and numbers. The first letter must be an uppercase character.
⟶ ❌ [Extension name consistency]: Extension filename should be exactly the name of the extension (with .json extension). Please rename 'Skew.json' to 'Skew 2D.json'.
Please update your original submission post with a new zip file containing your extensions updated to follow those guidelines 🙏
Please stop opening new issues for the same thing and read the directions given by the bot.
Hey @Carrotstudio0, please stop spamming or we will block your account. Please also let us know if your submissions are AI generated or not. We appreciate contributions but quality and following instructions is key. Thank you!
Hello, I apologize for bothering you, but the problem seems to be strange regarding the extension name.
Artificial intelligence really helped me understand Pixi and applying that extension is relatively simple.
I built it based on an idea from a friend, who is an EG developer, and he also worked with me on programming it.
Using AI is fine as long as you can ensure that every single line of code in the extension is fine and understood by you, and as long as your messages are not a wall of AI generated text. Otherwise, this put the stress on us to see what's really hiding behind useless information (I don't care about descriptions generated by AI, I just want something that is simple, bug free and 100% correct. AI can help, but not generate a huge wall of text that makes me lose time reading it :)).
I literally don't know how to write a proper description. I do have some problems with my writing style in English. ...
I created this extension for my friend Mustafa (eg dev) because he asked me for help, and indeed I made it for him because he is a good friend. Therefore, I hope that what I have created reaches as many people as possible so that they can benefit from it. We are trying to make as many people as possible comfortable through our help.
👋 Hey @Carrotstudio0, thanks for your submission! Unfortunately, all submitted extensions have to meet some minimal quality standard - the extension best practices - and our system has found that your extension does not fully comply 😔. You can find all of those rules on the GDevelop wiki.
The following issues have been found by the system concerning the respect of those best practices by your extension:
⟶ ❌ [Dots in sentences]: Field 'description' of the function 'SkewX' misses a dot at the end of the sentence!
⟶ ❌ [Dots in sentences]: Field 'description' of the function 'SkewY' misses a dot at the end of the sentence!
⟶ ❌ [Internal name validity]: The internal name of the extension Skew 2D is invalid! It should only contain normal latin upper- and lowercase characters and numbers. The first letter must be an uppercase character.
⟶ ❌ [Extension name consistency]: Extension filename should be exactly the name of the extension (with .json extension). Please rename 'Skew.json' to 'Skew 2D.json'.
Please update your original submission post with a new zip file containing your extensions updated to follow those guidelines 🙏
👋 Hey @Carrotstudio0, thanks for your submission! Unfortunately, all submitted extensions have to meet some minimal quality standard - the extension best practices - and our system has found that your extension does not fully comply 😔. You can find all of those rules on the GDevelop wiki.
The following issues have been found by the system concerning the respect of those best practices by your extension:
⟶ ❌ [Dots in sentences]: Field 'description' of the function 'SkewX' misses a dot at the end of the sentence!
⟶ ❌ [Dots in sentences]: Field 'description' of the function 'SkewY' misses a dot at the end of the sentence!
Please update your original submission post with a new zip file containing your extensions updated to follow those guidelines 🙏
👋 Hey @Carrotstudio0, thanks for your submission! Unfortunately, all submitted extensions have to meet some minimal quality standard - the extension best practices - and our system has found that your extension does not fully comply 😔. You can find all of those rules on the GDevelop wiki.
The following issues have been found by the system concerning the respect of those best practices by your extension:
⟶ ❌ [Dots in sentences]: Field 'fullName' of the function 'SkewX' has a dot, but it is forbidden there!
⟶ ❌ [Dots in sentences]: Field 'fullName' of the function 'SkewY' has a dot, but it is forbidden there!
Please update your original submission post with a new zip file containing your extensions updated to follow those guidelines 🙏
Simply my brothers this extension from my idea and he made it and I helped him to improve it and make it usable
And if u want simple description for this extension that it :-
With this extension you can make smooth and special animation to make your game more juicy and better look
Animation made with this extension :-
Push and free animation With their interactionIn their interaction with the air or the movement of the player in front of it, where the tree or shrub sways right and left, with the angle of the lower part of it being fixed, as it gives the game a better shape.
Or a little knock back effect you can make it with this extension
And more.
Thanks for reading