Giter Site home page Giter Site logo

mohamedliratni / bambi-ball Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mahmoudmans/bambi-ball

0.0 0.0 0.0 24.07 MB

Freshman project : A c programming game that consists of a ball called bambi that must cross obstacles and tests to reach the finish line

License: Other

Shell 3.33% C 48.45% CMake 48.22%

bambi-ball's Introduction

SDL2 Based game - BambiBall

gamesdl

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

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

This game was developed during the ISS Course project during my Freshman year at the Mediterranean Institue of Technology (Medtech). In this game, the player will play with a ball called Bambi and will have to travel over the map to finish the level and win.

Authors / Original developers

The project was originally developed by:

Contributing

Thank you for your interest in our project. There are many ways to contribute, and we appreciate all of them :

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

Do not hesitate to open a pull request of you find an error or if you want to add a features.

Contributions should be under the terms of the MIT license <LICENSE>.

Dependencies

For the Dependencies and the build you can directly see them in Build

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

This project also use this libraries:

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

Authors: Amine B. Hassouna @aminosbh

Mahmoud Mansouri

Mohamed Achref Liratni

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

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

bambi-ball's People

Contributors

mahmoudmans avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.