4nt0ineB / Retro-Battle

Class project at Université Gustave Eiffel. A tower defense in C.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Preview

Prerequisite

The mlv library is needed to run the game. See MLV Library

Help

-h      # display help
-a      # play with cli interface
-g      # play with gui interface
-x=width    # to specify gui width. Default: 1920
-y=length   # to specify gui length. Default: 1080

# ! any other parameter will be considered as the path to the level file

Exemple

./retro-battle -g -x=1280 -y=720 ./data/levels/level2 

Makefile

make run-cli l=levelnumber
make run-gui l=levelnumber      # (run with 1920x1080)

Gui controls

left click to put a tower
right click to remove a tower

Customization

► 5 Levels are available in ./data/levels/
► Add you own tower type in ./data/ntt_definition/tower_type
► Add you own enemy type in ./data/ntt_definition/enemy_type
► custom tower effects in ./data/ntt_definition/effects_by_tower_type
► custom enemy effects in ./data/ntt_definition/effects_by_enemy_type
► Link your entities types to their images in ./data/img/entity_icons/xxx_imgs

Credits

Background music

Background image

icons

About

Class project at Université Gustave Eiffel. A tower defense in C.


Languages

Language:C 99.1%Language:Makefile 0.9%