/Spawn-of-Cthulhu

Unity project includes procedural map generation & pathfinding

Primary LanguageC#MIT LicenseMIT

Spawn-of-Cthulhu

This is the entire unity project im working on at the moment.
Currently I'm implementig basic features I want the game to have.
It's using an isometric projection giving it a 3D look despite being entirely 2D.
All the graphical assets were completely made from scratch using either Blender or Aseprite.
I used sprite sheets for all the tile sets and character animations in order to improve the performance.
These sprite sheets are also used for the scriptable tiles to make sure the correct tiles are displayed depending on the position or abscence of neighbouring tiles.
The random tilemap generation itself is based on the Conway's Game of Life the parameters for this algorythm can be changed depending on how the generated map should look.
By using the A* Pathfinding Project I was provided with the tools necessary to produce reliable pathfinding within the tilemap borders.
This means on every generated tilemap the walkable area will automatically be set correctly, in addition shadow casters will also automatically be created.
Because I'm using the universal render pipeline's light system I decided to also add Normal Maps to most of the textures in the scene.

Summary

  • Isometric Projection
  • Procedural Map Generation
  • Scriptable Tiles
  • A* Pathfinding
  • Shadow Caster Generation
  • Normal Maps
  • Scriptable Tiles
  • Character Animation
  • DOTween
  • Multiple Layers
  • Animated Line Renderer

Location of Scripts

Spawn-of-Cthulhu/Assets/Scripts/

Demo

Cthulhu

mapgeneration