This package provides syntax highlighting for PuzzleScript source code in GitHub, Visual Studio Code, Atom, and other editors that support TextMate grammars.
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
- Download or clone this repository
- Copy the
grammars
folder to your VSCode extensions directory - Restart VSCode
- Download or clone this repository
- Run
apm link
from the repository directory - Restart Atom
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:
This project is licensed under the MIT License - see the LICENSE file for details.