menu_bookDocumentation
Explore the Engine - s&box Documentation
Explore the Engine
Learn how s&box works by exploring the testbed and understanding the core concepts.
Play Testbed
Start s&box (not the editor) and find the game called testbed. This game exhibits and tests engine features.
When you enter the game you'll find a menu of scenes. Each scene tests a different engine feature:
- Physics scenes
- Rendering tests
- UI demonstrations
- Audio examples
The Scene System
The testbed demonstrates s&box's scene-based architecture:
Scenes
Scenes are JSON files that store GameObject hierarchies. They're fast to load and switch between.
GameObjects
GameObjects are the basic building blocks. They have transforms and can contain Components.
Components
Components provide functionality to GameObjects. The developer creates games by programming new Components and configuring scenes.
Source Code
Download the testbed source from GitHub:
- Clone the repository
- Open the .sbproj file in s&box editor
- Explore the different scenes in the Asset Browser
- Edit and play with them locally
Next Steps
- Scenes & GameObjects — Deep dive into the scene system
- Code — C# programming in s&box
- Editor — Learn the editor tools
- Gameplay — Input, navigation, terrain, VR
- Networking — Multiplayer systems
- Graphics — Shaders, effects, post-processing
Was this helpful?