Getting Started
Welcome to ctx.gg — an open source gaming platform built on the Mortar engine.
What is ctx.gg?
Section titled “What is ctx.gg?”ctx.gg (Create Test eXecute) is a platform for creating, sharing, and competing on custom game maps. The platform has two main parts that players and creators interact with:
- Desktop App — Download this to play games. It manages the Mortar engine for you, keeping it up to date automatically. Browse maps, join tournaments, and launch games all from one place.
- Map Editor — A collaborative 3D editor that runs in the browser at editor.ctx.gg. Build maps with friends in real-time and publish them to the platform.
Under the hood, the platform is powered by:
- Mortar Engine — The C++ game engine that runs your maps. Built with Vulkan rendering, flecs ECS, Jolt physics, and miniaudio. The desktop app downloads and updates this for you.
- API — The backend service that handles authentication, map storage, and tournaments.
How It Works
Section titled “How It Works”- Download the desktop app — Available for Windows, macOS, and Linux
- The app installs the engine — On first launch, the app downloads the latest version of the Mortar engine. It checks for updates each time you open it.
- Create or browse maps — Use the browser-based editor to build maps, or browse community maps in the desktop app
- Play — Click Play on any map and the app launches the Mortar engine with that map loaded
Quick Links
Section titled “Quick Links”- Installation — Download the desktop app and get playing
- Your First Map — Create a map in the editor and play it
- Engine Architecture — Understand how Mortar works under the hood
- API Reference — Integrate with the ctx.gg API
Open Source
Section titled “Open Source”All components are open source under the MIT license:
- contextgg/mortar — Game engine
- contextgg/mortar-app — Desktop app
- contextgg/map-editor — Map editor
- contextgg/mortar-api — Backend API