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