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

Game​Maker Language (GML) Bundle

by uduse ALL

A sublime bundle for GameMaker Language (GML)

Details

Installs

  • Total 3K
  • Win 3K
  • Mac 580
  • Linux 168
Nov 21 Nov 20 Nov 19 Nov 18 Nov 17 Nov 16 Nov 15 Nov 14 Nov 13 Nov 12 Nov 11 Nov 10 Nov 9 Nov 8 Nov 7 Nov 6 Nov 5 Nov 4 Nov 3 Nov 2 Nov 1 Oct 31 Oct 30 Oct 29 Oct 28 Oct 27 Oct 26 Oct 25 Oct 24 Oct 23 Oct 22 Oct 21 Oct 20 Oct 19 Oct 18 Oct 17 Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 Oct 11 Oct 10 Oct 9 Oct 8
Windows 1 0 0 0 0 0 0 0 0 1 0 0 0 2 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0
Mac 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 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.