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.
- Easily run, package releases, or clean projects from GMEdit!
- Execute multiple builds side-by-side in managed separate directories (disable reusing tabs for this.)
- Build and Runtime error parsing (view them nice and neat rather than scrolling the log!)
- Close a build tab to stop it (or use the hotkey.)
- Switch between VM or YYC. (Building for other systems is planned, eventually.)
- Switch build configurations (
#macro Config:SOMETHING ...
) via the Control Panel, or by right-clicking a config in the project sidebar. - Support for Beta, Monthly, and LTS runtimes, with a per-project switch, and warnings for project-incompatible selections.
- Automatic update-checking. (This calls the GitHub API to check the latest release and can be toggled off.)
- Readable, central error messages - the Control Panel shows any configuration issues, or internal errors. All errors display context, and most try to provide tips to resolve the issue where possible.
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"
git clone https://github.com/thennothinghappened/GMEdit-Constructor "~/.config/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 |
Stop the current compile job | F6 |
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!
- Support for other targets:
- HTML5
- Android
- Remote compilation for other platforms using
devices.json
(compile on another machine viassh
as you can in the IDE)
- Option for docked console as opposed to full-window
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 :)