Skip to content

VietHungUET/Game_SDL_project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Game_SDL_project

This is a project about horror game using SDL. Players have the task of controlling death to destroy the enemy and get the highest score. Each time you play, there will be 5 lives. And when 5 lives are over, the game will end. However you can click play again to improve the score. I hope you enjoy the game.

🚀 About Me

Full name: Vũ Việt Hùng

Student code: 22028124

Date of birth: 8/10/2004

Class: CA-CLC2

Features

  • Control the character with the keyboard.
  • Save the highest score.
  • Rich, diverse sound.

Installation

Install my-project with SDL2, SDL2_image, SDL2_mixer, SDL2_ttf.

  ● Download https://www.libsdl.org/releases/SDL2-devel-2.0.5-mingw.tar.gz
  ● Download https://www.libsdl.org/projects/SDL_image/release/SDL2_image-devel-2.6.3-mingw.tar.gz
  ● Download https://www.libsdl.org/projects/SDL_ttf/release/SDL2_ttf-devel-2.20.2-mingw.tar.gz
  ● Download https://www.libsdl.org/projects/SDL_mixer/release/SDL2_mixer-devel-2.6.3-mingw.tar.gz
● Extract to a certain folder, in which there are 2 folders
○ 32bit version: i686-w64-mingw32
○ 64bit version: x86_64-w64-mingw32
● Here we use the 64 bit version (because CodeBlock is using mingw32),
In this folder there are 4 folders bin, include, lib, share
● The bin directory contains SDL2.dll (link at runtime, copy this file to the directory
project source code)
● The include directory contains .h files (such as stdio.h) that declare SDL functions
● The lib directory contains the libraries (object code) for linking the program

Releases

No releases published

Packages

No packages published

Languages