/Tiny-Spirit-Game

A University Game Project using C++ BGI Library

Primary LanguageC++

Tiny Spirit Game

Welcome to the Tiny Spirit game! Here you face multiple challenges from your enemies and levels!

  1. Tiny Spirit Character Your character: A blue alien like.
  2. Tiny Spirit Enemy Your enemy: A crab
  3. Tiny Spirit Health Regenerate health: Using this collectible will grant you +1 health back.
  4. Tiny Spirit coin This will grant you to go to the next level.

Programming Language & Libraries

How maps are generated?

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.

What do the numbers represent?

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.

Assets:

  1. Free Tiny Hero Sprites Pixel Art
  2. Castor's Forest Pixelpack Tileset
  3. COIN - 2D ANIMATION
  4. RPG Characters Pack