Awesome
GMEdit
GMEdit is a high-end, open-source code editor for GameMaker.
It represents what I consider to be the most important when working with code - being able to edit code quickly and comfortably, with features expected from a modern day code editor and conventional tabbed document design.
Rough lineup of features:
- Supports a variety of versions, including GameMaker: Studio, GameMaker Studio 2 (pre-2.3 and 2.3 formats), and limited support for legacy (GameMaker≤8.1) projects.
It can also be used to edit code for GML-based mods for games like Nuclear Throne or Rivals of Aether. - Spots a high-performance code editor (Ace), extended and fine-tuned for GML.
Comes with GameMaker-styled keyboard shortucts that can be customized. - Has combined editors for objects, timelines, and extensions, allowing to view/edit multiple events/moments/scripts at once.
- Fast save and load operations; only changes files it needs to.
- Has a variety of syntax extensions to ease writing repetetive bits of code.
Changes are non-destructive and the code remains readable/editable in base IDE. - Has custom theme and plugin support.
- Free and open-source.
Overall, it can be viewed as a more pleasant alternative to GameMaker's base IDE, and becomes increasingly more advantageous the more code you write or the more complex your code gets.
By design it is something that you run alongside the base IDE, but there are ways you can avoid switching back and forth to run the game.
NEW! Try GMEdit online!
This web-based version has some limitations compared to the downloadable one, but can give you a general idea of what GMEdit can do, and can also be used to open GameMaker projects without installing anything!
Maintained by: YellowAfterlife
Pre-built binaries
Stable binaries can be found on itch.io.
Same page also houses screenshots and development log.
Building
First time setup
-
Download/clone the repository.
-
Install a current version of Haxe.
-
Setup Electron by your preferred method:
-
Run
npm install
. -
Download a pre-built 33.x Electron binary and extract the files into
bin/
directory (so that you havebin/electron.exe
on Windows orbin/electron
on Mac/Linux). Inbin/resources/app
, runnpm install
to grab needed native packages. -
Extract an existing GMEdit Beta to
bin/
without replacing files. This will also provide the extra non-MIT licensed components of GMEdit.
-
Compiling
-
Build the project via
haxe build.hxml
or
npm run compile
or open and run the included FlashDevelop/HaxeDevelop project.
-
Run the compiled output with electron via
npm start
or just run the according Electron binary inbin/
, if you chose this option.
Credits
- Programming language: Haxe
- Code editor: Ace (with custom plugins and some minor edits)
- Tab component: Chrome tabs (moderately edited)
- Native wrapper: Electron
- Light theme tree icons: Silk (slightly edited)
- Dark theme tree icons: Font Awesome
- zlib decompression: pako
- Windows title bar color detection: this library
- System font enumerator for the font editor: font-scanner (slightly edited)