Skip to content

stuprog/SDL-Game

Repository files navigation

SDL2 game animation -LIMITLESS

image

This project is written in C and uses CMake as a build system.
It shows how we can make a basic animation using SDL2 : Flying plane.

It could be used as a base for any SDL2 game. Just fork it, clone it and execute the rename_project.sh script. You will be prompted to enter the new project name, the new executable name and the new git repository, but you can keep the autodetected values. Finally, just commit and push the result to your repository.

Description

game screen

In my Freshman year we developed this game which was part of the ISS Course project at the Mediterranean Institue of Technology (Medtech). The concept of the game that The player will play with a hero character and he will fight enemies to survive. After, he finished the first map he will go throw a portal to go to the next map.

Authors / Original developers

The project was developed by:

Contributing

We appreciate your interest in our porject.You have many ways to contribute:

  • Source Code
  • Unit tests
  • Bug Reports
  • Documentation
  • Localization
  • Etc

If you have a new feature idea or if you find an error don't hesitate to do a pull request.

All contributions need to be under the Mit license terms MIT.

Dependencies

On Debian/Ubuntu based distributions, use the following command:

sudo apt install git build-essential pkg-config cmake cmake-data libsdl2-dev libsdl2-image-dev libsdl2-gfx-dev

Optional packages:

sudo apt install libsdl2-ttf-dev libsdl2-net-dev libsdl2-mixer-dev

Build instructions

# Clone this repo
git clone https://gitlab.com/aminosbh/flying-plane-sdl-animation.git
cd flying-plane-sdl-animation

# Create a build folder
mkdir build
cd build

# Build
cmake ..
make

# Run
./flying-plane-sdl-animation

Note: To use SDL2_ttf, SDL2_net or SDL2_mixer, you should uncomment some instructions in the CMakeLists.txt file and re-execute the make command.

Open the project with an IDE under Linux

See IDE_USAGE.md for details.

License

Author: Amine B. Hassouna @aminosbh

This project is distributed under the terms of the MIT license <LICENSE>.

The images under the assets directory are distributed under different licenses:

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •