-
Notifications
You must be signed in to change notification settings - Fork 60
New extension: Align to Screen #1582
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
👋 Thanks for your submission! We are kind of confused; Your zip file contained more than one JSON file, and only one extension can be submitted at a time. Please update your original submission post with a new zip file containing only one extension file 🙏 |
👋 Thanks for your submission! We are sorry, but the filename of the extension has unrecognized characters. Since filenames with non latin characters ("ASCII") can cause issues, our system won't allow file names with other characters than latin upper- and lowercase characters or numbers. Additionally, the first character must be an uppercase character. Please update your original submission post with a new zip file containing your extension with another file name following those guidelines 🙏 |
👋 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:
Please update your original submission post with a new zip file containing your extensions updated to follow those guidelines 🙏 |
Description
This extension adds four behaviours:
Align to Screen:
Expand with Screen (For 9-Patches):
Space objects evenly (Multiple instances of an object):
Space objects evenly:
How to use the extension
If you put behaviour Align to Screen on an object, five new actions are added. There are four actions that place it a certain distance from a given edge. The 5th action centers the object on the screen.
If you put behaviour Expand with Screen on a 9-Patch, one new action is added. This action can be used to resize it such that it is a certain distance from a given edge or all edges.
If you put behaviour Space objects evenly on a sprite or a text (there are two seperate functions for these), it adds two new actions. The first action spaces the objects evenly with the first and last touching the left and right edges or a specified distance from those edges. The second action spaces the objects evenly with a given spacing and aligns them to the center.
Checklist
What tier of review do you aim for your extension?
Community (Unreviewed)
Example file
Extension file
AlignToScreen.zip
The text was updated successfully, but these errors were encountered: