S&box Wiki

Revision Difference

ProjectTypes#560958

<cat>Dev.Projects</cat> <title>Project Types</title> # Game This one is obvious, everything exists within a game. # Library ⤶ <warning>Libraries are currently broken</warning>⤶ The library project is our equivalent of nuget packages. You can create a common library of code and publish it as a package. This enables you to re-use the same code over multiple games by adding the package as a reference. Once you have made your library public you should be aware that if you remove or change the public API of the assembly you risk breaking projects that are referencing it. <note>In the future we'll be offering tools to help avoid this situation, like letting you reference a specific version of a package, and letting you test your library changes against other packages that are referencing it before publishing</note> # Addon ⤶ Addons allow you to build on top of and modify existing games.⤶ <warning>Addons no longer exist. They will come back eventually, but they're low priority.</warning>⤶ Addons allow you to build on top of and modify existing games.⤶ Addons can target a specific game, or work universally across all games. Though not every game will support loading addons. ⤶ # Content⤶ ⤶ Content addons are primarily used to share assets between projects. Such as models, materials, and particles.⤶ # Tool ⤶ Tool addons are run within the editor and allow you to customize, add on to, or make new tools.⤶ Tool addons cannot be uploaded to asset party. To share tool addons, upload to a site like github where others can download it.⤶ ⤶ To use a tool addon, Enable it in the project list while a project is loaded.⤶ https://docs.facepunch.com/s/sbox-dev/doc/editor-project-LuRHQgnNjC