Introduction

 Making a RPG In Monogame

Introduction:

In these tutorial series I will be teaching you the process of making a simple rpg with monogame, monogame extended and c#.

By the end of this you will have now only a fully working game but also a fully functional game engine which then you can use according to your needs.

Want to try out the game before following the series?

Download it from here (the game is not yet completed I need to add the enemies)

Prerequisite:
For this tutorial I will be assuming that:
1.You already know some amount of C#

2.You have already set up your favorite ide with monogame and are looking for some tutorials to get started

If you are an absolute beginner in coding (or in c#) then
Here are some useful websites which you should look through before starting

1. C# tutorials

2. Monogame docs

3. Monogame Extended docs

Software/Tools I will be using:

1. Tiled map editor(For the tile map)

2. Sprite Factory(For making our life easier while making the animations)

3. Tiled Sharp library for loading the tile map

4. Monogame extended for loading the animations

5. I will be using these assets but you can use any asset pack

6.Visual Studio 2019

7.Github repository

Setting up the Project:





1.Creating a new project:


Open up visual studio 2019 and select "Create a new project"





2.Select Monogame OpenGL project






2.Visual Studio Project menu


3.Create the project:

And visual studio should open up a new project for you.
Just run the project once so that we know the project is properly running. 
You should see a blue window window pop up like this one on the left



3.Monogame window


4.Installing Monogame Extended:

From the tools menu select "NuGet Package Manager" and then select "Manage NuGet Packages for
solution"
It should open up this window on the left



4.NuGet package manager


5.Search for monogame extended:

Install monogame extended and monogame extended.content pipeline.

6.Adding reference to the content manager:

Open the content pipeline
Select the monogame icon
Scroll down the properties 
Select reference
Navigate to the folder where monogame.extended.pipeline has been installed.
It is usually installed in
C:\Users\[Username]\.nuget\packages\monogame.extended.content.pipeline\3.8.0\tools

7.Download tiled sharp from the github repository:
Download it as a .zip file and extract it 
Now inside the extracted folder you will find a folder called TiledSharp along with others
Copy this TiledSharp folder to your project

And Viola your project has been set up perfectly










Comments

Popular posts from this blog

Loading the tile map

Tile map collisions