GDevelop-examples
GDevelop-examples copied to clipboard
Windows Example
Describe the example
EDIT: had a mistake renaming it, sorry, it should be called Window Example, not sure how to change it
This is an example that uses the Shape Painter object to draw a Windows 11-like window! It has few events and is extremely simple, but looks very nice. It draws 2 rectangles, and creates a close button, and a draggable area to drag the top of the window around. There is a group you can easily add objects with the "sticker" behavior to and reposition it, and it will stick to the window while it is being dragged!
This could be useful for if someone wanted to make an OS with movable windows Or an app where you can sort pieces of it around to make the layout how you'd like it This could also be useful for games with windows (e.g. a game where you have to move away or close all the windows to find something buried in it). There are probably lots more uses that I cant think of, but I think this would be a very useful example!
Checklist
- [x] I've followed all of the best practices.
- [x] My game has a proper name in the game properties.
- [x] My game package name behind with
com.example.
. - [x] My game has all events unfolded.
- [x] I've added myself as the author in the game properties.
- [x] I've included a file called "README.md" with a description in proper English, explaining what this example is doing.
- [x] I confirm that this game and all of its resources can be integrated to this GitHub repository, distributed and MIT licensed.
- [x] I've cleaned unused resources.