GameMaker Language (GML) Bundle
A sublime bundle for GameMaker Language (GML)
Labels language syntax
Details
Installs
- Total 3K
- Win 3K
- Mac 591
- Linux 176
Apr 3 | Apr 2 | Apr 1 | Mar 31 | Mar 30 | Mar 29 | Mar 28 | Mar 27 | Mar 26 | Mar 25 | Mar 24 | Mar 23 | Mar 22 | Mar 21 | Mar 20 | Mar 19 | Mar 18 | Mar 17 | Mar 16 | Mar 15 | Mar 14 | Mar 13 | Mar 12 | Mar 11 | Mar 10 | Mar 9 | Mar 8 | Mar 7 | Mar 6 | Mar 5 | Mar 4 | Mar 3 | Mar 2 | Mar 1 | Feb 28 | Feb 27 | Feb 26 | Feb 25 | Feb 24 | Feb 23 | Feb 22 | Feb 21 | Feb 20 | Feb 19 | Feb 18 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 2 | 0 | 0 |
Mac | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 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 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Linux | 1 | 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 | 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
, andprint
that writesshow_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.