PuzzleScript TextMate Grammar

This package provides syntax highlighting for PuzzleScript source code in GitHub, Visual Studio Code, Atom, and other editors that support TextMate grammars.

Features

This grammar correctly highlights:

  • Metadata sections (title, author, homepage, etc.)
  • Section headers (OBJECTS, LEGEND, RULES, etc.)
  • Sprite definitions
  • Game rules and syntax
  • Color definitions (both named colors and hex codes)
  • Comments
  • Level layouts
  • Sound effects

Installation

For Visual Studio Code

  1. Download or clone this repository
  2. Copy the grammars folder to your VSCode extensions directory
  3. Restart VSCode

For Atom

  1. Download or clone this repository
  2. Run apm link from the repository directory
  3. Restart Atom

About PuzzleScript

PuzzleScript is an open-source HTML5 puzzle game engine by Stephen Lavelle. It allows you to create turn-based puzzle games using a simple, custom programming language.

Learn more at:

License

This project is licensed under the MIT License - see the LICENSE file for details.