|
|
Line 1: |
Line 1: |
| {{Note|This is a [[Wikipedia:Scratch_space|scratch space]] for Paradox19. Do not link to it as its contents are [https://www.dictionary.com/browse/transient transient] in nature. Also, please do not edit this page without permission.|warning}} | | {{Note|This is a [[Wikipedia:Scratch_space|scratch space]] for Paradox19. Do not link to it as its contents are [https://www.dictionary.com/browse/transient transient] in nature. Also, please do not edit this page without permission.|warning}} __NOINDEX__ |
|
| |
|
| = <nowiki>/How_To_Write_Plugins</nowiki> =
| | : ''an empty space? perhaps.'' |
| Plugins are used to add more [[Component|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#Mods_VS_Plugins|Data Model]].
| |
| {{Note|This is a guide on how to create [[Plugins|plugins]], not use them.|information}}
| |
| == Getting started ==
| |
| ''You will need to know the basics of the [https://learn.microsoft.com/en-us/dotnet/csharp/ C# Programming Language] to write plugins.''
| |
| # Download [https://visualstudio.microsoft.com/vs/community/ 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 <code>.dll</code>''
| |
| #* During installation, ensure to select .NET desktop development which will give you the .NET Framework development tools, which are required to compile a plugin
| |
| # Create a new project using the <code>Class Library</code> template (please ensure it is the C# option). You can use all the default settings.<!-- MENTION: needing to adjust framework to net48 later -->
| |
| | |
| TODO: finish this off tmrw as the tiredness is real.
| |
| | |
| <!-- remember to category:tutorial when publishing this! -->
| |