|
|
|
# Setting up the development environment
|
|
|
|
|
|
|
|
## Windows
|
|
|
|
|
|
|
|
1. Install [VisualStudio 2017](https://visualstudio.microsoft.com/downloads/)
|
|
|
|
2. Install [MonoGame for VisualStudio](http://www.monogame.net/2017/03/01/monogame-3-6/)
|
|
|
|
|
|
|
|
## Ubuntu
|
|
|
|
|
|
|
|
1. Install [Mono](https://www.mono-project.com/download/stable/#download-lin)
|
|
|
|
2. Install MonoDevelop 6 by running the following commands. You need Monodevelop 6.2, MonoDevelop 7.x will not work.
|
|
|
|
```
|
|
|
|
wget https://github.com/cra0zy/monodevelop-run-installer/releases/download/6.2.0.1778-1/monodevelop-6.2.0.1778-1.run
|
|
|
|
chmod +x monodevelop-6.2.0.1778-1.run
|
|
|
|
sudo ./monodevelop-6.2.0.1778-1.run
|
|
|
|
```
|
|
|
|
3. Install MonoGame by running the following commands. Also install any dependencies the installer tells you to install by using sudo apt install.
|
|
|
|
```
|
|
|
|
wget http://www.monogame.net/releases/v3.6/monogame-sdk.run
|
|
|
|
chmod +x monogame-sdk.run
|
|
|
|
sudo ./monogame-sdk.run
|
|
|
|
```
|
|
|
|
|
|
|
|
In some cases the MonoDevelop installations the shortcut does not work correctly and you will need to create one manually. You can create a shortcut manually by creating a new .desktop-file with the following contents.
|
|
|
|
```
|
|
|
|
[Desktop Entry]
|
|
|
|
Type=Application
|
|
|
|
Terminal=true
|
|
|
|
Exec=sudo mono /opt/MonoDevelop/bin/MonoDevelop.exe
|
|
|
|
Name=MonoDevelop
|
|
|
|
```
|
|
|
|
|
|
|
|
# Running the game
|
|
|
|
|
|
|
|
## Windows
|
|
|
|
|
|
|
|
Start the game by running VirtualFriend.exe.
|
|
|
|
|
|
|
|
## Ubuntu
|
|
|
|
|
|
|
|
Start the game by running the following command in the folder with VirtualFriend.exe.
|
|
|
|
```
|
|
|
|
sudo mono VirtualFriend.exe
|
|
|
|
``` |