Welcome to the Tiny Spirit game! Here you face multiple challenges from your enemies and levels!
- Your character: A blue alien like.
- Your enemy: A crab
- Regenerate health: Using this collectible will grant you +1 health back.
- This will grant you to go to the
next level
.
- Language used: C++
- Library: Borland Graphics Interface (BGI) for Windows
I have used Tiled Map Editor to create maps on one layer, then extract it as JSON
, get the data out of the file, and put it in a Multidimensional Array called maps.
This is not the most efficient way to generate maps, but it makes it 10 times easier for my university project.
Number | Represents |
---|---|
0 | Air |
1 | Dirt Tile |
2 | Grass Tile |
3 | Heart Collectible |
4 | Player Spawn |
5 | Enemy Spawn |
6 | Next Level |
The project full map creation files can be found at this repository.