Hello everyone, I have made a small addon for you that gives you 3 dialog boxes for your games. I know that mike hense made a DLL to do something similar to this by showing windows default pop ups in C++ and it is pretty cool and very useful. However this addon doesn't use windows pop ups it uses ones that I have made by hand meaning they are all fully customizable.
The main purpose of this addon is to just make your life a little easier by providing you with the content pre-built so all you need to do is add it in when ever you need it.
Here is an example of the "Ok" dialog box:
The Sprite represents the text layer which you should replace with your text of course.
The three that you have (for now) are:
- Ok Dialog Box - Ok Cancel Dialog - Yes No Dialog
To change the colours of the background (default light grey) and the border (default dark grey) you can just use this...
...In the sprites properties. This only works for the background and background border. If you want to change the look of the buttons just replace the images with your own. The size of the button images are below. If you like I can provide a template button just let me know below.
To change the Event after the user selects an option you must link the Event (for example a Script) to the "button_click" timer and set it to "start".