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
  • 7 months ago
  • 44 minutes ago
  • 12 months ago

Installs

  • Total 1K
  • Win 813
  • OS X 226
  • Linux 54
Jan 20 Jan 19 Jan 18 Jan 17 Jan 16 Jan 15 Jan 14 Jan 13 Jan 12 Jan 11 Jan 10 Jan 9 Jan 8 Jan 7 Jan 6 Jan 5 Jan 4 Jan 3 Jan 2 Jan 1 Dec 31 Dec 30 Dec 29 Dec 28 Dec 27 Dec 26 Dec 25 Dec 24 Dec 23 Dec 22 Dec 21 Dec 20 Dec 19 Dec 18 Dec 17 Dec 16 Dec 15 Dec 14 Dec 13 Dec 12 Dec 11 Dec 10 Dec 9 Dec 8 Dec 7 Dec 6
Windows 2 4 3 8 1 0 0 1 1 3 6 2 0 1 3 4 3 2 2 4 2 0 2 1 3 1 4 0 2 1 1 2 6 3 3 1 4 2 0 0 5 3 2 1 2 1
OS X 0 3 3 1 0 0 1 1 0 1 0 1 1 2 0 0 2 0 0 0 1 1 0 2 0 0 0 0 0 1 0 0 1 1 3 0 0 2 0 0 0 1 0 1 0 0
Linux 0 0 0 0 0 0 0 2 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 2 0 0 0 0 0 0 0 0 0 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.