Introduction

Welcome

Welcome to Procedural Map Generation. In this course, you will learn the foundations of procedural map generation to generate unique maps based on pre-defined maps created using ASCII.

Map generation slowed down for the video.

Course Outline

This course will cover the following topics:

Creating Tiles

You will be creating basic tile assets to prototype the map generation. This is a good way to start to see what works and what does not, before spending too much time creating assets.

Data Tables

You will be using data tables to help manage tile assets, loot, and enemies to keep things organized and easy to access from Lua scripts.

2D to 3D Map Creation

You will learn how to read a 2D text map and convert it to a Lua table that can be used to create a 3D map in the world using tile assets. You will be working out how to spawn tiles based on cardinal direction checks to improve the look of the map.

Modular Lua Code

You will learn how to create clean and modular code using APIs. This will help keep useful functions centralized and help reduce duplicate code.

Spawn Points

You will learn how to dynamically spawn in players based on a location set in the ASCII map data.

NPC AI Kit

You will learn how to use the NPC AI Kit from Community Content to add enemy AI to the map that will attack the player.

Runtime AI Nav Mesh

You will be adding a Nav Mesh component and integrating it into the code to create an AI Nav Mesh at runtime. You will display a progress bar to the player while the map is being generated, and then spawn them in.

Post a comment

Leave a Comment

Scroll to Top