Prehistoric dig is a plaforming game with mining mechanics, made by 2 developpers, as part of my studies at Rubika, with Superpowers.
The goal of the player is to find the last dinausaur egg, hidden at the bottom of the mine. For that, he will have to exploit the ressources and sell it to buy better equipement. Furthermore, he will have to be carefull to the energy and the health of his character.
The controles of the game are simple, you use the arrow keys to move, and the left click of the mouse to mine and interact with object, the the right click to put ladders.
Playable here : http://nicolas.laurent.re/PrehistoricDig/index.html
The sources are on github : https://github.com/larnin/DigGame
Production
I have mainly worked on the level generation system, his render and the shop and the effects of the objects that are sold.
The map is generated and redered in several stages.
- The dirt and stone blocks are placed on the tilemap, with an highter probability to have stone in depth. They are harder to line, and add some difficulties as the game progress.
- Then the galeries are dug with a simplex noise.
- Next the ore are placed on the type of material that correspond to them (the coal is on dirt, and diamond on stone), as well as the decoration elements.
- The chest are added, and a room is dug if needed.
- Finaly, the render of the map is made, with the connexion between blocks to have a better visual.
- When the player dug a block, or place a ladder, the render is redone for the 9 adjacent blocks, to update the block connections.
Some pictures

