Sublime Text

Sublime is just one tool you can use to create game scripts. The following plugins might help you get even more productive.

SublimeUbanita

The SublimeUbanita plugin add auto-completions for the scripting API. A snippet can be inserted by completing the ub- word.

ShellCommand

Using the ShellCommand plugin it is easy to call ubanita using keyboard shortcuts.

If you are using OSX then you can have the following shortcuts.

CMD+P       = ubanita publish from the current directory
CMD+SHIFT+P = ubanita run
CMD+ALT+P   = show the current ubanita configuration

Add the following definition to Preferences -> Key Bindings User :

[
  {
    "keys": ["super+p"],
    "command": "shell_command",
    "args": {
      "command": "source ~/.bash_profile && ubanita publish"
    }
  },
  {
    "keys": ["super+shift+p"],
    "command": "shell_command",
    "args": {
      "command": "source ~/.bash_profile && ubanita run"
    }
  },
  {
    "keys": ["super+alt+p"],
    "command": "shell_command",
    "args": {
      "command": "source ~/.bash_profile && ubanita --v"
    }
  }  
]

This example assumes that you have added the UBANITA_SDK environment vars to .bash_profile.

HTML/CSS/JS Prettify

Using the Prettify tool plugin it is easy to format your sources and even detect flaws in your code.

To format your source on every Save operation, add the following setting to Preferences -> Package Settings -> HTML/CSS/JS -> Set Plugin Options

// Automatically format when a file is saved.
"format_on_save": true,