Description
ImGuiGML is a DLL / GML wrapper of the popular Dear ImGui, library for GameMaker Studio 2
It's available on the Windows, macOS, and Ubuntu platforms! It supports both x64 and x86 on Windows, as well as both M1 and Intel macOS architectures.
ImGui is a UI library designed for fast implementation and iteration, using an 'Immediate Mode GUI' paradigm You will primarily be putting your GUI functions in step events that are called each step, rather than an event / retained based paradigm of only making updates.
Installation Notes
- If you have a pre-v1.100 version of ImGuiGML, it's best to remove it and reinstall completely. The format has changed for GMS 2 2.3+
Usage
- drop the
imguigml
object into your game, and voila. it begins activated. - call
imguigml_deactivate();
andimguigml_activate()
for hiding/showing, which also stops all updates.- imgui is inaccessible completely when deactivated
- Note: in some cases, its necessary to make sure
imguigml_ready()
is true right before calling functions using it.
For most imgui functions, it's a straight wrap! Call whatever you're looking for with:
imguigml_<function>
as opposed to ImGui::<function>
from the C++ analog.
Now, each step that you'd like to show some ImGui, just call all of the functions that make up your UI. See the example provided for details!
- See the full documentation: http://imguigml.rou.sr/
Extension by babyjeans (Follow babyj3ans) Special Thanks to @net8floz for additional programming and the excellent example screenshots!
Special Special Thanks to JujuAdams for supporting the project!
Looking for support for a Rousr extension? - [ Join Our Discord ]
[ rou.sr ]
End User Licence Agreement (EULA)
Age Rating: 4+
Versions
GMS2 - Version 1.91.0. Published July 20, 2019
GMS2.3 - Version 2.0.0. Published December 20, 2021
Fix imkeys so a
doesn't submit input fields / Update a whole bunch of Enums / Rename sr_buffer
functions so ImGuiGML can co-exist with rousrCore