User:Paradox19/scratch space

From Resonite Wiki
Revision as of 22:29, 13 July 2024 by Paradox19 (talk | contribs) ([SANDBOX] how to plugin. please dont proof read this -- im about to pass out from tiredness.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
This is a scratch space for Paradox19. Do not link to it as its contents are transient in nature. Also, please do not edit this page without permission.

/How_To_Write_Plugins

Plugins are used to add more Components and ProtoFlux nodes to Resonite by programming them using C#. They are not to be confused with Mods which do not add things into the Data Model.

This is a guide on how to create plugins, not use them.

Getting started

You will need to know the basics of the C# Programming Language to write plugins.

  1. Download Visual Studio Community edition, which allows for easier programming and compilation of plugins. However, you can use your favourite code editor as long as you know how to compile C# into a .dll
    • During installation, ensure to select .NET desktop development which will give you the .NET Framework development tools, which are required to compile a plugin
  2. Create a new project using the Class Library template (please ensure it is the C# option). You can use all the default settings.

TODO: finish this off tmrw as the tiredness is real.