The Cave Miner
All the level is generated randomly to make infinite number of levels to reduce the work for a level designer.
Mechanisme
There are 4 parts in the mechanism.
- Player movement.
- Block Destruction
- Tools System.
- Shop System.
Level Generation
Using the grid system can make the level design easier by only placing blocks on an array of 2d In Inspector.
– using the GPU Drawing to spawn a cube that contains small cubes to collect, this approach optimizes the performance.
Ai
Using the A* algorithm make the AI able to follow the player and patrol the map, and the Behaviour Trees give the ai certain Orders to achieve.
-The game has 2 types of AI
- allies
- enemies