Git Product home page Git Product logo

mini-projet-c's Introduction

Mini-projet Language C

This repository contains my modified version of the gorila game example of the raylib library.

How to use on Linux

It should be as simple as:

git clone <this repo URL> MyRaylibGame
cd MyRaylibGame
make
./main

How to use on Windows

You should have mingw32 installed. Then, you should replace ./lib/libraylib.a by a Windows version: either get a compiled version from the Raylib Website or github or recompile Raylib by yourself. The Makefile contains all compilation instructions.

VSCode

This repository also contains the required configuration files to easily compile and execute using F5.

How to play

The goal is to destroy the opposing tank.

You can play alone or with a friend by playing in hotseat.

Keybinds:

  • P to pause the game.
  • Left Click to shoot.

Files modified

I modified exclusively the main.c, I implemented a soundtrack, sprites for the tanks, sounds for the explosions and modified the physics and ballistic of the shell.

What could be improved

I'd like to rotate the turrets as you aim as well as implementing a score system.

If I had a lot of time, I'd make a version where the tanks can actually move and replace the rectangle-built map with a manually crafted one.

mini-projet-c's People

Contributors

thiblmt avatar

Watchers

 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.