S&box Wiki

Revision Difference

Editor#548380

<cat>Dev.Intro</cat> <title>The Editor Overview</title> # S&box Editor This is where you develop content for s&box. <upload src="a768a/8da795cde84fc18.png" size="988268" name="image.png" /> ## Opening the Editor Opening the editor can be done by one of the following three ways : + Launch s&box from steam, Select `Launch Game Editor` then click play. + Append `-tools` to your launch parameters. + Launch `sbox-dev.exe` located at the root of your s&box installation. # Editor Tools The tools can be accessed from the Tools main menu entry, or from the hotbar - these are all self-explanatory for editing different asset types. <page>Dev_Tools</page> # Editor Widgets <page text="Game">EditorGameWidget</page> - You main game window <page text="Console">EditorConsoleWidget</page> <page text="Inspector">EditorInspectorWidget</page> - Inspector where you can modify your game resources and such. <page text="Panels">EditorPanelsWidget</page> <page text="Addon Manager">EditorAddonManagerWidget</page> - Manage your addons here. <page text="Performance">EditorPerformanceWidget</page> <page text="Explorer">EditorExplorerWidget</page> <page text="Entity List">EditorEntityListWidget</page> <page text="Error List">EditorErrorListWidget</page> <page text="Assets Browser">EditorAssetsBrowserWidget</page> - Browse and manage your assets here. # Editor Overview <upload src="aa125/8dada33bd846270.png" size="1362609" name="image.png" /> ## Game View and Launcher This is your main viewport for your game. You have the launcher, basic performance statistics, and status bar controls. ### Launcher The launcher allows you to quickly hop into a game or map. You can click on the dropdown box to list configurations; a bunch of auto-generated configurations will get made for you based on your currently active projects. Click the play button to start a game or map - this will change to a restart button when appropriate. Click the stop button to stop your current game session. You can create and modify custom configurations by scrolling to the end of this dropdown and clicking **Edit Launch Configurations**. ## Inspector You can inspect and modify entities, assets, and panels in your game at runtime through the inspector. ## Assets Browser and Console ### Assets Browser The Assets Browser is where you interact with and manage all of your content. From here, you can view content from your **local addons** as well as content available on [asset.party](https://asset.party/). ### Console The console provides a command-line interface for you to interact with your games and the engine. ## Entity List and Project Manager ### Entity List This is where you can view what entities are loaded up in your specific game and or map. You can click on them to open them in the Inspector to view their properties in detail. ### Project Manager This is where you can [create new projects](CreatingAddons) - things like games, maps, addons, and tools. ## Toolbar This contains a bunch of buttons that open different tools - including the material editor, ModelDoc, and Hammer, among others. Hover over each icon to see what it does. <page text="Application Timings">EditorApplicationTimingsWidget</page> <note> These pages have pretty barebones or completely missing information for now. So if you feel like you can add additional info and or pictures to one of the individual pages, please do! Just keep additions/edits nice and tidy.</note>