S&box Wiki

Revision Difference

Editor#547368

<cat>Dev.Intro</cat> <title>s&box editor</title> This is where you develop content for s&box. <upload src="a768a/8da71da3870a868.png" size="1369433" name="S&amp;box_Editor_July29th2022.png" /> <upload src="a768a/8da795cde84fc18.png" size="988268" name="image.png" /> ## Opening the editor Opening the editor is as simple as opening `sbox-dev.exe` or appending `-tools` to your launch parameters. # 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 Windows # Editor Widgets ## Game This is your main viewport for your game. You have the launcher, basic performance statistics, and status bar controls <upload src="a768a/8da720e4ccca91d.png" size="821057" name="game_window.png" /> **A** - Choose launch a configuration, start & stop a game. **B** - Basic performance statistics such as Frames Per Second Average, Frame Time Average (milliseconds), and Approximate Memory Usage. **C** - Status bar controls. ## Assets Browser The Assets Browser is where you interact with and manage all of your content within the S&box editor. <upload src="a768a/8da71e8efb60d02.png" size="66722" name="sbox-editor-assetsbrowser.png" /> ## Addon Manager Add, create, enable/disable addons through the addon manager. Every type of content is an addon: games, maps, tools, etc.. creating new addon is as easy as pressing **'+ Add' > 'Create New...'**, **'Addons' > 'Create New...'**, or <key>CTRL</key> + <key>N</key>. <upload src="a768a/8da749bb197356d.png" size="23396" name="addon-manager.png" /> <upload src="a768a/8da6caea391510e.png" size="34186" name="Addon_creator.png" /> <upload src="a768a/8da6518354432f6.png" size="12266" name="sbox-dev_yQonVknZ4z.png" /> >>>Different addon types can be selected from the dropdown menu as shown above. ## Inspector You can inspect and modify entities, assets, and panels in your game at runtime through the inspector. ### default view of the inspector <upload src="a768a/8da72a0a840db10.png" size="131799" name="inspector.png" /> ## Console <upload src="a768a/8da7203d6eeb982.png" size="29949" name="sbox-dev_tChhEAI4GA.png" /> ## Error List Here is where your compile errors & warnings will be, you can click on them and they will take you straight to your ide and into the problem area in your code. You can choose it to display from all addons or just a specific addon. <upload src="a768a/8da720258328a3f.png" size="15830" name="sbox-dev_CHmRT9Ynki.png" />