Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
S

sbox-public

> 编程语言
Open source

s&box is a modern game engine, built on Valve's Source 2 and the latest .NET technology, it provides a modern intuitive editor for creating games

6.4K stars0 likes0 views
WebsiteGitHub

About

s&box is a modern game engine, built on Valve's Source 2 and the latest .NET technology, it provides a modern intuitive editor for creating games

s&box

s&box is a modern game engine, built on Valve's Source 2 and the latest .NET technology, it provides a modern intuitive editor for creating games.

If your goal is to create games using s&box, please start with getting started guide. This repository is for building the engine from source for those who want to contribute to the development of the engine.

Getting the engine

Steam

You can download and install the s&box editor directly from Steam.

Compiling from source

This repository contains the C# engine, editor, tooling and game content. The native Source 2 core is distributed as prebuilt binaries that setup downloads for your platform, so no C++ toolchain is needed.

Platform Setup Notes
Windows 10 / 11 (x64) Setup.bat
Linux (x64) ./Setup.sh Binaries target the Steam Linux Runtime, most distros should work.
macOS (Apple Silicon) ./Setup.sh Intel Macs are not supported.

Prerequisites

  • Git
  • .NET 10 SDK
  • An IDE for the C# code is recommended: Visual Studio 2026 or Rider on Windows, Rider or VS Code on Linux and macOS.

Setup

bash
# Clone the repo
git clone https://github.com/Facepunch/sbox-public.git
cd sbox-public

# Windows
Setup.bat

# Linux / macOS
./Setup.sh

Once setup completes, the game (sbox) and editor (sbox-dev.exe) run from the game folder.

Staying up to date

Pulling on Git will run a hook that fetches any new native binaries or content that changed and regenerates the interop bindings. Build the C# code from your IDE as usual, or rerun Setup.bat for a full incremental rebuild including shaders and content.

Contributing

If you would like to contribute to the engine, please see the contributing guide.

If you want to report bugs or request new features, see sbox-issues.

Documentation

Full documentation, tutorials, and API references are available at sbox.game/dev/.

License

The s&box engine source code is licensed under the MIT License.

Certain native binaries in game/bin are not covered by the MIT license. These binaries are distributed under the s&box EULA. You must agree to the terms of the EULA to use them.

This project includes third-party components that are separately licensed. Those components are not covered by the MIT license above and remain subject to their original licenses as indicated in game/thirdpartylegalnotices.

Issues· 2447 open

View all issuesOpen on GitHub
  • #11921

    Undoing something on a bone object causes it to become a normal object

    Updated Sep 24, 2026
  • #2896

    Stencil buffer manipulation

    Updated Sep 24, 2026
  • #11929

    Audio input device should be a choice just like output

    Updated Sep 23, 2026
  • #11928

    [PolygonMesh] Ability to export a PolygonMesh to fbx, obj directly

    Updated Sep 23, 2026
  • #10027

    [Modeldoc] "export as..." option doesn't seem to function

    Updated Sep 23, 2026
  • #11926

    Add a supported headless CLI for compiling, testing, validating, running, and exporting projects

    Updated Sep 23, 2026
  • #11925

    SpriteRenderer with Billboard set to None have some weird depth issues (with other SpriteRenderer, WorldPanels and TextRenderer)

    Updated Sep 23, 2026
  • #11751

    [Launcher] Launcher flickering

    Updated Sep 22, 2026
  • #11804

    EnvmapProbe performance issue, vulkan crash, high vram usage, error spam in the console

    Updated Sep 22, 2026
  • #11922

    Upscaling causes shader to not fill the screen

    Updated Sep 22, 2026

> Tags

C#gamedevsboxsource2

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 24, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言