sbox-public README

The project's README from github.com/Facepunch/sbox-public. As one markdown file: README.md.

s&box logo

Website | Getting Started | Forums | Documentation | Contributing

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.

s&box editor

If your goal is to create games using s&box, please start with the 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

If you want to build from source, this repository includes all the necessary files to compile the engine yourself.

Prerequisites

Building

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

Once you've cloned the repo simply run Bootstrap.bat which will download dependencies and build the engine.

The game and editor can be run from the binaries in the game folder.

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.

sbox-public (Facepunch/sbox-public)

Searching Database…

这是什么?s&box 是一款现代化的游戏引擎,基于 Valve 的 Source 2 技术和最新的 .NET 构建,并附带一个用于创作游戏的编辑器。这个仓库是该引擎的源代码,面向想要构建引擎或为引擎做贡献的人。
编译之前,我需要先安装什么?你需要先安装 Git、Visual Studio 2026 和 .NET 10 SDK。
有没有不用自己编译、就能直接使用 s&box 的更简单方法?有的——大多数人完全不需要这个仓库,直接从 Steam 下载 s&box 编辑器即可,无需从源代码构建。
我可以在 Mac 或 Linux 上构建这个引擎吗,还是只能在 Windows 上?构建过程依赖 Visual Studio 2026 和 Bootstrap.bat 脚本,二者都是 Windows 专用工具,文档中也没有提到其他操作系统,因此从源代码构建实际上只能在 Windows 上进行。
整个引擎都适用同一个开源许可证吗?引擎源代码本身采用 MIT 许可证,但 game/bin 中的某些原生二进制文件适用单独的 s&box 最终用户许可协议(EULA),你必须同意该协议;部分第三方组件则保留其各自原有的许可证。
究竟是什么技术在驱动 s&box?它将 Valve 的 Source 2 引擎与现代 .NET 技术相结合,使编辑器既拥有 Source 2 的渲染和工具基础,又具备基于 .NET 的脚本与游戏逻辑层。
我在哪里可以学习如何真正用 s&box 制作游戏?用于制作游戏(而非编译引擎)的完整文档、教程和 API 参考位于 sbox.game/dev,与本源代码仓库是分开的。
Creator
Facepunch
Size
28.9 MB
Stars
6.5K
Updated
CommitOct 17
Age
10mo
Commits · 90 Days