Unity 5: 2D Random Map Generation
Overview
Learn how to build randomly generated 2D maps for role-playing and real-time strategy games with Unity 5.
Learn how to build randomly generated 2D maps for role-playing and real-time strategy games with Unity 5. Jesse Freeman focuses on the basics of random map generation by teaching you how to create island-based terrains, and works his way up into more advanced techniques such as resizing the map, decorating it, and eventually creating large-scale maps with individual continents. He'll add trees, mountains, dungeons, and castles to make the map more fun to explore. He'll also teach you how to create a camera script that scrolls around the map with the mouse, and set up autotiling to give the map's coastlines a more organic look. In the end, Jesse will show you how to build an authentic 8-bit style map generation tool—perfect for your next 2D RPG game.
Learn how to build randomly generated 2D maps for role-playing and real-time strategy games with Unity 5. Jesse Freeman focuses on the basics of random map generation by teaching you how to create island-based terrains, and works his way up into more advanced techniques such as resizing the map, decorating it, and eventually creating large-scale maps with individual continents. He'll add trees, mountains, dungeons, and castles to make the map more fun to explore. He'll also teach you how to create a camera script that scrolls around the map with the mouse, and set up autotiling to give the map's coastlines a more organic look. In the end, Jesse will show you how to build an authentic 8-bit style map generation tool—perfect for your next 2D RPG game.
Syllabus
Introduction
- Welcome
- Exercise files
- Set up the project
- Create the tile class
- Create the map class
- Create the map tester class
- Connect the map tester to the map class
- Visualize the map
- Add sprites to the map
- Create a pixel-perfect camera
- Move the camera with the mouse
- Introduction to autotiling
- Connect neighbor tiles
- Calculate auto tile values
- Remove neighbor tiles
- Decorate the island
- Create the coast
- Randomize the coastline
- Add more decoration
- Cleaning up the island
- Move the camera to a tile
- Optimizations
- Next steps
Taught by
Jesse Freeman
Related Courses
Reviews
0.0 rating, based on 0 reviews