Giter Site home page Giter Site logo

nommiin / gmedit Goto Github PK

View Code? Open in Web Editor NEW

This project forked from yellowafterlife/gmedit

0.0 3.0 0.0 5.93 MB

A high-end code editor for GameMaker: Studio / GameMaker Studio 2

License: MIT License

Batchfile 0.01% JavaScript 57.24% Game Maker Language 6.23% CSS 1.44% HTML 0.54% Haxe 34.53% PowerShell 0.02%

gmedit's Introduction

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

  • Download a pre-built 18.x Electron binary and extract the files into bin/ directory (so that you have bin/electron.exe on Windows or bin/electron on Mac/Linux).

    You can find which exact version GMEdit is using by evaluating process.versions.electron in the JS console (Ctrl+Shift+I).

    Alternatively, extract an existing GMEdit Beta to bin/ without replacing files.

Compiling

  • Build the project via

    haxe build.hxml
    

    ,

    npm run compile
    

    , or open and run the included FlashDevelop/HaxeDevelop project.

    You'll need a current version of Haxe installed.

  • Run the compiled output with electron via npm start or just run the according Electron binary in bin/.

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)

License

MIT license

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.