Visual Studio Code extension providing comprehensive tooling for the XS game engine, including package viewing and animation editing.
- XS Package Viewer - Visual editor for
.xspackage files - XS Animation Editor - Interactive editor for
.xsanimanimation files with timeline and grid view
xs: run engine- Launch the XS game engine with your projectxs: package game- Package your game into an.xsfilexs: package and run- Package and immediately run your gamexs: show engine info- Display information about the configured engine
- Syntax highlighting and file icons for
.xsand.xsanimfiles - Automatic activation when a
project.jsonis detected in the workspace
- XS Game Engine executable
This extension contributes the following settings:
xs.enginePath- Path to the XS Engine executable:- Windows:
C:\path\to\xs.exe - macOS:
/path/to/xs.app(select the .app bundle, the extension will find the executable inside) - Linux:
/path/to/xs
- Windows:
xs.workingDirectory- Working directory when running the engine (default:${workspaceFolder})
- Install the extension
- Open a workspace containing an XS game project (with
project.json) - Configure the engine path in settings:
- Open VS Code settings (Ctrl+, on Windows/Linux, Cmd+, on macOS)
- Search for "xs.enginePath"
- Set the path to your XS Engine executable
- Start using the XS commands and editors!
The extension provides two debug configuration templates:
Run Game - Launch the game from the source folder:
{
"type": "xs",
"request": "launch",
"name": "Run Game",
"projectFolder": "${workspaceFolder}",
"packageFirst": false
}Package & Run - Package and launch from .xs file:
{
"type": "xs",
"request": "launch",
"name": "Package & Run",
"projectFolder": "${workspaceFolder}",
"packageFirst": true
}Initial release of XS Game Engine Tools featuring:
- Package viewer for
.xsfiles - Animation editor for
.xsanimfiles - Engine integration commands
https://github.com/BredaUniversityGames/xs-vscode
MIT