s&box
RustCounter-Strike 2s&boxDeadlock
Wiki
Get s&box on Steam
Browse
OverviewGetting StartedCreating GamesEngine & ToolsDocumentationCommunity GamesResources
s&boxCreating Games
SOURCE 2 · C#
Build and play games with s&box.

Facepunch's game engine and creation platform — make games in C#, or jump straight into community games.

Get s&box on Steam

s&box Wiki

  • Overview
  • Getting Started
  • Creating Games
  • Engine & Tools
  • Documentation
  • Community Games
  • Resources

Tools & Community

  • Getting Started
  • Creating Games
  • Engine & Tools
  • Resources

Platforms

  • RustBattle
  • CSBattle
  • Rust Game Wiki
  • CS2 Skins Wiki
  • Deadlock Wiki

About

  • Official Site
  • Developer Wiki
  • GitHub
  • Get on Steam
NOT AFFILIATED WITH FACEPUNCH STUDIOS · © 2026 s&box Wiki (community)
Creating Games

Creating games in s&box

Games are written in C# against a modern scene system, with changes hot-loading into the running game.

How games are made

C# and the scene system

Game logic is written in C# on .NET, using a scene system of GameObjects and components — a model familiar from Unity or Godot — so a game's structure is easy to see and iterate on.

Instant hotload

Change your C# and it takes effect immediately in the running game — no recompiling or restarting. The write-test loop tightens dramatically.

Publishing your game

Share games in-platform, or — thanks to the March 2026 Valve agreement — export them as standalone Steam games, royalty-free. You can also monetise via Facepunch's “playfund”.

API references, tutorials, and sample projects are maintained by Facepunch on the developer wiki, with the engine source on GitHub.

Community wiki — not affiliated with Facepunch Studios. For the latest and most authoritative information, see the official developer wiki.