Screenshot of an xs sample game

About xs

xs is an extra small, educational 2D game engine with Wren scripting. It's made with the goal of being the smallest game making tool possible. It used to teach introduction game engine programming at Breda University of Applied Sciences.

Wren Scripting

Uses the lightweight Wren scripting language - easy to learn, fast to run, hot-reloadable in microseconds

2D Graphics

Render pixel-perfect sprite graphics or sharp vector shapes

Entity-Component

Easy to use EC system for organizing your game logic

Audio Support

Super simple audio interface or state of art audio engine provided by the Fmod integration*

Multi-Platform

Build for PC, macOS, iOS, Nintendo Switch, and PlayStation 5

VS Code Extension

Integrated development with xs extension - visual editors, launch commands/buttons, and debug templates

Alpha: xs is early development. API may change from version to version. Some features might be missing or not be stable.
Fmod: Fmod integration is optional and requires a separate license from Fmod. The basic audio system is free to use without Fmod.

What's Inside

Quick Start

  1. Download and run the xs-setup installer — no admin required, adds xs to your PATH
  2. Open a new terminal and run xs run samples/hello
  3. Follow the Getting Started guide to create your first game

Ready to make games? Check out the Getting Started guide or browse the API Documentation.