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
Twitter
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 Maps: What is it? "Tilemaps are a very popular technique in 2D game development, consisting of building the game world or level map out of small, regular-shaped images called tiles . This results in performance and memory usage gains — big image files containing entire level maps are not needed, as they are constructed by small images or image fragments multiple times." - From developer.mozilla.org In This tutorial we will be using the Tiled Map Editor I will not be showing how to use it or anything there are lots of resources for that. You can use your own tilemap but just in case you want to use the one I will be using Here it is Want a video version? The Text version: The Code and Explanation: The Tilemap manager class: The Game1 class:
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:
Comments
Post a Comment