(Alternative) Manual Setup
June 24, 2017 ยท View on GitHub
If you don't want to use GeonBit's template (not recommended!), you can also install GeonBit manually:
Setup GeonBit.UI
First setup GeonBit.UI, which is the UI system that comes with GeonBit. Its git and installation instructions can be found here.
Setup GeonBit Core
After the UI is setup, install the GeonBit NuGet package with the following command:
Install-Package GeonBit
This will also install the required dependencies.
Once the all the NuGet packages are successfully installed, follow these steps:
- Add all the Content that comes with the package (under the
Content/GeonBit/folder). - Instead of implementing
MonoGame'Game' class, inherit and implement aGeonBit.GeonBitGameclass, and implement the following functions:Draw()to add extra drawing logic.Update()to add extra update logic.Initialize()to create your scene and initialize stuff.
- From your program's
Main()function, Run GeonBit with your GeonBitGame class:GeonBitMain.Instance.Run(new MyGeonBitGame());