This is a text version of the tutorial for making a rpg with most of the standard mechanics with monogame
You can support me on: https://www.patreon.com/lioncatdevstudio
Introduction
Get link
Facebook
X
Pinterest
Email
Other Apps
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?
Tile map collisions: In the previous part we finished up our tile map loader class. In this one we will be finishing up the tilemap collisions. Want a video version? The implementation: For the implementation of the tilemap I have used the object layer functionality of the Tiled editor. An object layer allows us to create shapes like rectangle(which we will be using for our collisions), polygons, etc. The rectangles created by us are they passed on into a list of rectangles from which we can then check if our player is colliding with one of them. The Code:
The Player Class: What does it contain? It contains all the functionality of the player. This includes(but not limited to) movement, animation, powerups, health, etc. The Player class: After this you got to call the Load function of your player class from the load function of your game1 class. The update function of your player class from the update function of your game1 class The draw function of your player class from the draw function of your game1 class.
Comments
Post a Comment