GDevelop-extensions
GDevelop-extensions copied to clipboard
[Auto PR] New extension: Building System
Description
This extension allows developers to create a tile-based building system in-game, assign tiles to buildable and assign a group of objects as protected! Instantiate your tiles on click, enable or disable grid snap anytime, and more!
How to use the extension
You can assign Tile to Build behavior to a Tile or any object that's going to be the placeholder!
Which only shows when you enable is selected from events!
Is Selected helps you to decide whenever you want to activate building mode!
As default buildable tile follows your mouse! If you want you can check custom position from behaviors and add custom functions to your buildable tile!
You can also use the action Instantiate Tile
to place the tile in the position of your buildable tile! (usually its better to add this in an On Mouse click event)
Don't Overlap Group
allows you to protect objects from Overlapping your builder tile! you can also set a disabled icon to it!
This extension currently has 2 build modes Pencil and Eraser, one creates the tile, the other destroys. (You can switch this by calling the action Change Build Mode
)
If you don't want to Snap to the grid for some conditions you can always change it by events; Snap To Grid
If you don't like where your tile stands on your cursor you can add Padding to it by Set Extra Padding
Grid size doesn't have to be a square, if you need you can adjust the Grid block size from Behavior settings or by Events Block Size
Lastly, you can check if the position where your buildable tile stands are protected or not by Is Protected?
Working progress: Buildable Area
This has some slight issues, I don't understand maybe it's because of the game I made but you can try it! Buildable Area allows you to set a group of objects as the buildable areas that you can only place tiles in that place.
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.
Example
https://kosmotion.itch.io/bridge This game is made for GDevelop Gamejam it's also a good sample for what this extension is capable of.
Extension file
Thank you for submitting this extension. Please can you attach the project of the example? It help reviewers to understand and test the extension.
Thank you for submitting this extension. Please can you attach the project of the example? It help reviewers to understand and test the extension.
Oh Hi! Sorry for the late reply, let me quickly upload the project I made for GDevelop Game Jam! Game Jam GDevelop.zip This is the project folder! Hope it helps.
Thank you for submitting this extension. Please can you attach the project of the example? It help reviewers to understand and test the extension.
Hi! I wondered, do I need to fix anything if I have to what do I need to fix? Regards, Mehmet Ozen
I took a quick look at the example and I think it could be interesting to also submit it. Using an extension to organize the events is a really good practice and it will be nice to go through the example submission process to have an example to show how to use custom made extensions to build a game.
After the example is published, we'll come back to the extension to see which parts are generic enough to be used in other games.
I will remove some unnecessary parts then! After that I can share it publicly.
Hello @mehmet0zen 👋 !
A review has started for this extension, but a new option has presented itself in the meantime. We now have a list of unreviewed "Community extensions", and your extension can be added to it, bypassing the review phase.
If you chose to not take a review, you need to keep the following in mind:
- As of now, community extensions are not yet shown to users, but they should be until next update
- Community extensions will never be shown to GDevelop users directly, they will have to check a checkbox for them to be shown
- All community extension have a warning about them being unstable and unreviewed displayed on their store page
- Your extension will be added immediately, no question asked, and without you needing to do any changes to your extension
- You will still need to make an extension that passes the bot's tests (meaning you still should respect the extension best practices)
tl;dr You will not need to do any more (or only minimal) work on your extension, but it might not meet the standards of all users, and reach less users.
If you chose to continue on with the review:
- The reviewing process might require of you to make some changes to your extension until it meets our reviewer's standards
- Your extension will reach more users
- You will be delivering a better extension to the community
- It will take a bit more time for your extension to be added to the store
tl;dr You will need to do a bit more work but deliver a high quality contribution that will reach more people
The choice is yours, please tell us how you would like to continue.
Hello @mehmet0zen 👋
It seems you never responded to our messages. Without hearing back from you, we sadly cannot continue the submission process. Please respond in the next 10 days, or we will assume you will not come back and have to close this submission.
Thanks!
Hey @arthuro555 My apologies for not paying attention to this, It has been a busy month but if I still can do something for the extension please let me know! Thanks.
Since there has not been any activity on this submission for a year, I'll be closing it. Please make a new submission if you still want to submit the extension.