First release of GUIFramework - v0.0.1.0
Hello,
After a few prototype games in GameMaker, i realised i had quite a bit of common code that i was using when working on GUI's. So i've started collecting them together, making it easier for me to share fixes/solutions between projects (and for future projects). So thought id share, this basic version.
There are of course other GUI libraries/extensions out there, but i wanted to something quite light, so my current solution is just one GUI object that i make child objects from for any GUI windows i need, and that's it apart from scripts.
----------------------
Usage
----------------------
Create a child item of oGUI for each GUI window you require. By default GUIWindow[] array is created.
You can create addition windows, under one object if you prefer, just
create an array like so:-
MyExtraGUIWindow[eGUIInfo.numattributes] = 0;
InitGUIWindow(MyExtraGUIWindow);
Add/Alter scripts to use this array rather than the default GUIWindow array (in fact i might alter/add scripts to do this).
To import into your own projects just select the following folders
Sprites\nirisGUI - Several placeholder sprites (do change)
Scripts\nirisGUI - Several scripts
Objects\nirisGUI - 1 object
----------------------
Examples
----------------------
In the demo project take a look these examples:-
oScores - just a window that can show game info
oControls - a window that has a button on it (detects mouseover), checking for lmb, which shows the popup gui
oPopup - a window that has a close window button, checking for lmb
----------
Hope it helps anyone with their GUI's. I know it took me a little while to get my head around certain aspects . That's not to say my framework doesn't have any issues, but generally ok with its use in my little prototype games. Do let me know if there are bugs, or things i'm not doing the right way!! :o)
Cheers
Nick
Files
Get GameMaker GUI Framework - GMS2
GameMaker GUI Framework - GMS2
Free GUI object and scripts to handle windows and buttons
Status | In development |
Category | Assets |
Author | Niris Games |
Tags | assets, GameMaker, scripts, sourcecode |
Leave a comment
Log in with itch.io to leave a comment.