You are on page 1of 8

MINI PROJECT (KCS-554)

HELICOPTER GAME USING SDL GRAPHICS


TEAM MEMBERS

Anand Srivastav Amisha Rajput


(1802710014) (1802710013)

Anubhav Gautam Ishika Agarwal


(1802710023) (1802710055)
INTRODUCTION
‘The Helicopter Game’ is an attempt to create an
interesting game/console application designed in the
object oriented programming language – C++, with
the use of SDL graphics.

SDL Library
SDL(Simple DirectMedia Layer) is a cross-platform development library designed to provide low level
access to audio, keyboard, mouse, joystick, and graphics hardware via OpenGL and Direct3D.It can be
used to make animations and video games.
 It basically provides a set of APIs to interact with various devices like graphics hardware, audio,
keyboard, mouse, etc.
 It is written in C programming language and works with C++ and various other languages like c#
and python.
Over 700 Games
180 Apps Cross Platform, Easy
120 Demos to setup and use
(available on the
web)

No expensive Has been used


hardware and in the
software development of
requirements prominent game
engines
The syntax of SDL is function-based: all operations done in SDL are done by
passing parameters to subroutines (functions). Special structures are also used
to store the specific information SDL needs to handle. SDL functions are
categorized under several different subsystems.
SDL is divided into several subsystems:
1) Basics
Initialization and Shutdown, Configuration Variables, Error Handling, Log Handling
2) Video
Display and Window Management, surface functions, rendering acceleration, etc.
3) Input Events
Event Handling, Support for Keyboard, Mouse, Joystick and Game controller
4) Audio
SDL_audio.h implements Audio Device Management, Playing and Recording
5) Threads
Multi-threading: Thread Management, Thread Synchronization Primitives, Atomic Operations
6) Timers
Timer Support
7) File Abstraction
Filesystem Paths, File I/O Abstraction
8) Shared Object Support
Shared Object Loading and Function Lookup
9) Platform and CPU Information
Platform Detection, CPU Feature Detection, Byte Order and Byte Swapping, Bit Manipulation
10) Power Management
Power Management Status
11) Additional
Platform-specific functionality
Notable Games That make use of SDL

Counter Strike : Source (Nov 2004) Secret Mario Chronicles (Jan 2003)

Counter Strike : Global Offensive (Aug 2012)


Basic Layout of The Project:

The user has to maneuver the helicopter object using the arrow keys of their keyboard in order to dodge
the floating ‘obstacles’ while the game audio plays in the background.
The application consists an introdcuctory audio and a gameplay audio.
As soon as the helicopter touches one of the obstacles, a crashing sound plays in the background
followed by a page displaying “Game Over” along with a score card.
Indvidual Contributions
Game Functions Play - Anand
Timer, constants and variables – Amisha
Obstacles and window – Ishika
Helicopter object, highscore - Anubhav

Bibliography

www.libsdl.org
Opengenus.org
Youtube (official channel “Madsycode”)

You might also like