Revision Difference
Editor#547483
<cat>Dev.Intro</cat>
<title>s&box editor</title>
# S&box Editor
This is where you develop content for s&box.
This is where you develop content for s&box. Opening the editor is as simple as opening `sbox-dev.exe` or appending `-tools` to your launch parameters
<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⤶
⤶
⤶
# 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
⤶
## 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 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 ⤶
<page text="Editor ">Editor#sboxeditor</page>.
⤶
<upload src="a768a/8da71e8efb60d02.png" size="66722" name="sbox-editor-assetsbrowser.png" />⤶
⤶
## Addon Manager⤶
⤶
Here you can add, create, and enable/disable addons. Every type of content is an addon: games, maps, tools, etc.. ⤶
⤶
Creating a new addon can be done by doing one of the following : ⤶
⤶
+ **'+ Add' > 'Create New...'** within the Addon Manager.⤶
+ **'Addons' > 'Create New...'** located in the menu bar at the top of the <page text="editor ">Editor#sboxeditor</page> window.⤶
+ Pressing <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:⤶
⤶
+ **Game**⤶
⤶
+ **Map**⤶
⤶
+ **Tool** - In-editor tools that can be made (?)⤶
⤶
+ **Content** - Layered Addons; addons for gamemodes *(not functional)*⤶
⤶
## 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" />⤶
⤶
<page text="Game">EditorGameWidget</page> - You main game window
⤶
<page text="Console">EditorConsoleWidget</page> - Usual console output.
⤶
<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="Entity List">EditorEntityListWidget</page>⤶
⤶
<page text="Error List">EditorErrorListWidget</page>⤶
⤶
<page text="Assets Browser">EditorAssetsBrowserWidget</page> - Browse and manage your assets here.
⤶
<page text="Application Timings">EditorApplicationTimingsWidget</page>