GDevelop-extensions
GDevelop-extensions copied to clipboard
[Auto PR] Minimap Drawer
Description
You can draw a semi-customizable minimap using a ShapePainter object.
You can set the scale, width and height with offsets on both the X and Y. It also includes the ability to customize the color and shape of the things to be drawn, it's 99.9% accurate!
https://user-images.githubusercontent.com/80867295/147755488-70d2e4e2-f2c1-464f-aaa4-fdd683232ba9.mp4
How to use the extension
It can be used to draw minimaps for battle royals, topdown shooters, platformers and more!
All you need is: -A layer for the minimap -A ShapePainter object that will draw the minimap -A target to be followed -Obstacles to be show where the target can't go -Room object to tell on which room the player is in
The scale is the size of the minimap(For technical reasons, the scale is from bigger numbers to smaller numbers), the width and height are the width and height of the area the map will be drawn on. And last but not the least, the X and offsets are just the distance the map will be drawn from the top-left corner of the screen.
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
Extension file
Setting as WIP as title says In Development
!rebase
A build error occured while rebasing:
❌ 3 Errors found in extension 'MinimapSystem':
⟶ ❌ (🔧) [Dots in sentences]: Field 'shortDescription' of the extension description misses a dot at the end of the sentence!
⟶ ❌ (🔧) [Dots in sentences]: Field 'description' of the function 'DrawMap' misses a dot at the end of the sentence!
⟶ ❌ [Extension name consistency]: Extension filename should be exactly the name of the extension (with .json extension). Please rename 'MiniMapExtension.json' to 'MinimapSystem.json'.
❌ 3 Errors found in extensions - please fix them before generating the registry.
Hello @mistafixxa069 👋
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 @mistafixxa069 👋
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!