S&box Wiki

Revision Difference

Editor#547257

<cat>Dev.Intro</cat> <title>s&box editor</title> # s&box editor This is where you develop content for s&box. <upload src="a768a/8da71da3870a868.png" size="1369433" name="S&amp;box_Editor_July29th2022.png" /> ## Opening the editor To open the editor you can either append `-tools` to your launch parameters or open `sbox-dev.exe`. # Tools 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 ## Console <upload src="a768a/8da7203d6eeb982.png" size="29949" name="sbox-dev_tChhEAI4GA.png" /> ## Game This is the game window⤶ This is the game window.⤶ <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. ## Error List Here is where your compile errors & warnings will be. You can choose to have it display from all addons or just one specific addon. <upload src="a768a/8da720258328a3f.png" size="15830" name="sbox-dev_CHmRT9Ynki.png" /> ## Inspector You can inspect and modify entities or panels in your game at runtime through the inspector. ⤶ ⤶ ## Addon Manager⤶ ⤶ ## Addon Manager⤶ Add, create, enable/disable addons through the addon manager. Every type of content is an addon; games, maps, etc.. creating new addons is as easy as pressing `Addons -> Create New...` and following the dialog. <upload src="a768a/8da6519114363e6.png" size="33865" name="sbox-dev_8SvztONjNt.png" /> <upload src="a768a/8da6caea391510e.png" size="34186" name="Addon_creator.png" /> Different addon types can be selected from the dropdown. <upload src="a768a/8da6518354432f6.png" size="12266" name="sbox-dev_yQonVknZ4z.png" /> ## 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" />⤶ <upload src="a768a/8da71e8efb60d02.png" size="66722" name="sbox-editor-assetsbrowser.png" />