An Aussie's guide to completing your first roguelike in Unity!
In this tutorial, you will learn how to create a classic roguelike game using Unity. This tutorial assumes that you have some basic knowledge of Unity and C# programming, but don't worry if you don't, I will guide you through every step of the way.
If you find my tutorial useful, please consider giving it a Star 🌟 to show your support. Thank you!
To get started with this tutorial, you will need to have Unity installed on your machine. If you don't have it installed, you can download it for free from the Unity website.
The tutorial is divided into several parts, each covering a specific aspect of creating a roguelike game in Unity. Here are the different parts of the tutorial:
Part 0 - Setting Up
Part 1 - Drawing the ‘@’ symbol and moving it around
Part 2 - The generic Entity, the render functions, and the map
Part 3 - Generating a dungeon
Part 4 - Field of view
Part 5 - Placing enemies and kicking them (harmlessly)
Part 6 - Doing (and taking) some damage
Part 7 - Creating the Interface
Part 8 - Items and Inventory
Part 9 - Ranged Scrolls and Targeting
Part 10 - Saving and loading
Part 11 - Delving into the Dungeon
Part 12 - Increasing Difficulty
Part 13 - Gearing up
Extras - Multi Tiled Entities
Extras - Miniupdate #1 (Better Turn Management)
Extras - Adding Doors
Each part will build on the previous one, so make sure to follow them in order.
This repository contains all the code and assets used in the tutorial. Each part of the tutorial has its own branch, so you can switch to a specific branch to see the code at that stage of the tutorial.
To get started with the tutorial, switch to the "part-0" branch by entering the following command in your terminal:
git checkout part-0-setting-up
Alternatively, you can use the branch dropdown menu on GitHub to switch to a specific branch.
If you find any errors or issues in the tutorial or the code, feel free to open an issue or submit a pull request in 2D-Roguelike-Kit.
Contributions are always welcome!
This tutorial was created by TheSleepyKoala AKA Chizaruu and is based on the Yet Another Roguelike Tutorial by TStand90.
All code and assets are licensed under the MIT license, unless otherwise specified.
This project is licensed under the MIT License - see the LICENSE.md file for details.