As the title suggests, Constructor is a plugin for YellowAfterlife's GMEdit, which allows you to compile from the editor just as you can in the GameMaker IDE.
Currently, Constructor about matches the capabilities of builder, which is another plugin serving the same role, but as GM now uses Igor as a commandline tool to automate things, it means that interacting with the compiler is a lot easier and a lot less error-prone (especially as GM changes, which invoking the AssetCompiler directly cannot cope with.)
Constructor can currently compile for the current build target (your OS), and can switch between build configs.
#macro SOMETHING:Config ...
support)Installation is the same here as any other GMEdit plugin - clone it into your plugins
folder (see below), or download the .zip
from Releases, and extract the contained folder into plugins
.
git clone https://github.com/thennothinghappened/GMEdit-Constructor %appdata%\AceGM\GMEdit\plugins\GMEdit-Constructor
git clone https://github.com/thennothinghappened/GMEdit-Constructor "~/Library/Application Support/AceGM/GMEdit/plugins/GMEdit-Constructor"
See GMEdit#Installing plugins for more details!
Shortcut | Key |
---|---|
View the Control Panel | Ctrl+` |
Run the current project | F5 |
Clean the current project's files | Ctrl+F7 |
Package the current project | Ctrl+F5 |
The above are the defaults provided. You can rebind these through GMEdit's Edit Keyboard Shortcuts option in Preferences!
devices.json
(compile on another machine via ssh
as you can in the IDE)If you have any issues with Constructor, feel free to either ask on Discord (below), or make a post on the GitHub Issues page. I'll try to get back to you when I can, but no guarantees.
If there's anything else you'd like out of Constructor that isn't mentioned here, the same applies as above with issues - make a feature request by opening an issue on GitHub!
I hope Constructor is a useful tool - though please note that I can only test on the machines I have available to me, so there's gonna be edge cases.
Finally, I also have a thread for this project on the GameMaker Kitchen Discord server, for quick feedback!
Thanks, and have fun :)