Giter Site home page Giter Site logo

projectcarracing's Introduction

About this projet

INFORMATION

This project is a university project created to discover C++ and the SFML library on a more or less proffesionnel level. It was made in a two months time so it isn't yet finished.
This project is still under developement, and will be continued even after the project dead line at a slower path.

HOW TO RUN THE GAME

LINUX

  1. Use the command : make, to compile
  2. To create the map use the command : ./carRacing edit
    REFER TO THE "HOW TO EDIT THE MAP" THAT EXPLAINS HOW TO EDIT THE MAP.
  3. Run the game normally using the command : ./carRacing
    PS: You don't need to compile one more time after editing the map, just once at the start is good enough.

WHAT'S NEEDED TO RUN THE GAME

The sfml library in provided only for windows version.
Therefore, you'll need to install it.
On debian systems : sudo apt-get install libsfml-dev
On other systems, it will much likely be something similar.

WINDOWS

  1. Compile the program using the file : compiler.bat
  2. To edit the map open the file : wMapEdit.bat
    REFER TO THE "HOW TO EDIT THE MAP" THAT EXPLAINS HOW TO EDIT THE MAP.
  3. Run the game using the file : wGame.bat

HOW TO EDIT THE MAP

IMP : When the map editor is open, you MUST place the first block of the road at the top left of the screen, as this is where the car spawns at the start!

  1. Click on the left button of your mouse to change the two forms of the map either straight blocks on corner blocks.
  2. Click on the right button of your mouse to change the angle of each chosen block.
  3. Click on "spacebar" to place it when the cursor is inside the top left corner.
  4. You can move the screen afterwards using the right/left/up/down key to place the other blocks anywhere on the map.
  5. When you finish creating the map click on esc to close.
    PS: Please create a logic map.

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.