Skip to content

Classic helicopter game written in C (Allegro5)

Notifications You must be signed in to change notification settings

coregameHD/Cavecopter-Lite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cavecopter

Simple helicopter game created by C (Allegro 5)

Description

This game, Cavecopter Lite, is simple but addictive game. Guide the helicopter through the cave without hitting walls or obstacles. hold space bar button to go up/ Release to go down.

Cavecopter Screenshot Cavecopter Screenshot

Tool

C with Allegro 5

More information about Allegro 5 (A game programming library)

Developer Guide

  • #define _CRT_SECURE_NO_WARNINGS is to prevent a warning in Visual Studio 2015
  • enum STATE { TITLE, PLAYING, GAMEOVER }; consist of 3 game states.
    • TITLE is title menu which instructions is included. player have to press 'a' in order to play
    • PLAYING is main gameplay. (Note: The helicopter will go up instantly)
    • GAMEOVER is a screen which shows score and wait for the player to press 'play again' button.

Resources