ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Game​Maker Language (GML) Bundle

by Uduse ST2/ST3

A sublime bundle for GameMaker Language (GML)

Details

  • 4.1.0
  • github.​com
  • github.​com
  • 3 months ago
  • 23 minutes ago
  • 8 months ago

Installs

  • Total 749
  • Win 564
  • OS X 150
  • Linux 35
Sep 26 Sep 25 Sep 24 Sep 23 Sep 22 Sep 21 Sep 20 Sep 19 Sep 18 Sep 17 Sep 16 Sep 15 Sep 14 Sep 13 Sep 12 Sep 11 Sep 10 Sep 9 Sep 8 Sep 7 Sep 6 Sep 5 Sep 4 Sep 3 Sep 2 Sep 1 Aug 31 Aug 30 Aug 29 Aug 28 Aug 27 Aug 26 Aug 25 Aug 24 Aug 23 Aug 22 Aug 21 Aug 20 Aug 19 Aug 18 Aug 17 Aug 16 Aug 15 Aug 14 Aug 13 Aug 12
Windows 1 3 0 1 2 0 3 4 2 1 4 3 6 1 2 1 1 4 3 4 1 2 5 1 1 2 2 1 0 1 4 1 1 1 1 3 3 1 2 0 2 4 1 2 2 2
OS X 1 2 1 2 0 0 0 0 2 0 0 0 0 1 0 0 0 0 1 1 0 0 0 1 1 0 0 1 0 0 0 1 2 1 1 0 0 2 1 1 0 0 2 0 2 0
Linux 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 1 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 1 0 0 0 1 0 0 0

Readme

Source
raw.​githubusercontent.​com

GameMaker Language (GML) Bundle for Sublime

Features

  • Syntax Highlighting
  • Keywords/Built-In Variables Autocompletion
  • User-created Resources Autocompletion
  • Function/Control Snippets
  • Auto Indentation
  • Create new script through Sublime (Beta)

Installation

Using Sublime Package Control:

Command Palette (⌘⇧P)  ➤  Package Control: Install package  ➤  GameMaker Language (GML) Bundle

Restart your Sublime and you're ready to rock!

Usage

GameMaker: Studio 2

  • Checkout my tutorial on setting up your GameMaker Studio: 2 for Sublime!
  • Name your source file with extension gml. For example, example.gml. Syntax highlighting will be applied automatically.
  • Partially type keywords, built-in variables, and names of user-created resources to trigger autocompletion. To enable user-created resources completions, make sure your project root directory is opened in Sublime.
  • Partially type function names to trigger function snippets. If multiple parameters are avaliable, TAB (↹) to go to next one. Most of the built-in functions are avaliable as snippets.
  • Other custom snippets are: for, if, else, repeat, switch, while, with, and print that writes show_debug_message.
  • To indent your gml file, use: Command Palette (⌘⇧P) ➤ Indentation: Reindent Lines.
  • To create a new script, use: Command Palette (⌘⇧P) ➤ GameMaker: New Script

GameMaker: Studio 1.4 or earlier:

  • You need to copy & paste manually between Sublime and GameMaker: Studio.
  • Name your source file with extension gmll, the extra 'l' stands for legacy. For example, example.gmll.
  • User-created resources autocompletion is not supported.
  • Everything else is pretty much the same as GameMaker: Studio 2.