
- #HOW TO DOWNLOAD UNITY 2D ROGUELIKE TUTORIAL HOW TO#
- #HOW TO DOWNLOAD UNITY 2D ROGUELIKE TUTORIAL UPDATE#
- #HOW TO DOWNLOAD UNITY 2D ROGUELIKE TUTORIAL TRIAL#
- #HOW TO DOWNLOAD UNITY 2D ROGUELIKE TUTORIAL FREE#
So when, for example, the player will try to move to a new tile, it will check the target tile adress on the map, and see if there is an enemy there, or if the tile is walkable.
#HOW TO DOWNLOAD UNITY 2D ROGUELIKE TUTORIAL UPDATE#
Every time anything will move or change state on the map, it will update the information on this map. We need only to add a Tile variable to the MapManager class, like this: It sounds complicated, but it’s not that much. Let’s create a map out of that tile, shall we? It’s simple, we just need a two-dimensional array of Tiles. For now, we won’t need much, just the x and y positions, and the game object that is on that position on the map. The Tile class will hold every information of any tile. So, create a cs script called MapManager and open it.ĭelete the “: MonoBehaviour,” as this script won’t inherit from it and won’t be attached to any GameObject.ĭelete the Start() and Update() functions.īelow the end of the MapManager class, create a new one, a public class named Tile. It’s a straightforward script, but it will store the majority of the relevant information of the game. This is the first script you’ll create, and it will be the spine of your game. So I bet you’ll be able to handle it too.


It was actually my way of increasing my skills, learning by going there and doing stuff. With that we’ll have a sound roguelike, and you’ll have improved your gamedev skills a lot. Now, let’s list all the features we’ll have on our Roguelike, on the order we’ll implement it: Just make sure to give the appropriate credits in your game.
#HOW TO DOWNLOAD UNITY 2D ROGUELIKE TUTORIAL FREE#
Do your own, or use a premade free tileset you can find here, here, or through a google search. Or throw it all aside, take what you’ve learnt, and start again from scratch your way. Then we’ll have a roguelike framework you can expand onto, do your own twists, and then make it your own. So, following Josh Ge’s advice, we’ll beeline with our features towards that goal. The player should be able to go down the stairs a couple of levels, let’s say five, level up, get better, and at the end fight a boss and win. It should have a dungeon generation, a player that moves around, a fog of view, some enemies and some items. So, what is our goal with this tutorial? It is to have a basic, simple, and solid roguelike to play with. Seriously, go there and either read the post or watch the video, and then come back here. Mostly we’ll follow some sound advice from Cogmind’s dev Josh Ge on this link here.

It’s easy to get lost on game features, as it is to get lost on roguelike dungeons. It’s good for you to plan the game, and it’s good for me to plan the tutorial, so we won’t get too much out of focus after a while. If you are stuck on anything, go to one of the awesome communities we have on Discord and don’t hesitate on asking for help there: I won’t focus at all on the hows of the engine, instead, I’ll be focusing on the hows of the game we’ll be creating together.
#HOW TO DOWNLOAD UNITY 2D ROGUELIKE TUTORIAL HOW TO#
Don’t expect me to teach you how to create a spritesheet, there are dozens of wonderful tutorials out there about that. I will assume you are at least familiar with the basics of Unity, like how to create a prefab, or a script, and things like that. And even some stuff I’ll be actually learning along with you as I go.
#HOW TO DOWNLOAD UNITY 2D ROGUELIKE TUTORIAL TRIAL#
And probably not the best or more effective, just the way I learned by trial and error.

This is my first tutorial ever, and I don’t know how good it will end up being, or even if good at all.ĭISCLAIMER: I’m not saying this is THE way of building roguelikes on Unity. Not for arrogance, but just to share a bit of my knowledge with people who are on the point I was not so long ago. There aren’t many tutorials for how to make a roguelike on Unity out there, so I thought I would create one.
