Git Product home page Git Product logo

outrun's Introduction

Logo

Out Run

A tribute to the original arcade version from 1986

 

State License: GPL v3 windows Linux Version made-with-C++ SFML

GitHub All Releases Github Stars Github forks

 

Introduction

This is an open source Out Run remake project. This new version has been inspired by its earlier versions, which correspond to the 1986 arcade machine version and the 1991 Sega Mega Drive version.

 

Outstanding features

This new the following features with respect to the original versions:

  • Realistic and spectacular graphics in 2.5D
  • Compatible with many screen resolutions
  • Automatic and manual gears
  • Fantastic soundtracks and SFX fully customizable
  • Various difficulty levels
  • Numerous types of artificial intelligence integrated
  • Configuration of the controllers customizable
  • Completely new maps available
  • Customizable settings
  • Multiple game modes: Original Mode, Continuous Mode and Survival Mode

 

Tools and technologies used

  • C++14
  • OpenGL 6.14.10.13440
  • SFML 2.5.1
  • CodeBlocks 17.02
  • MinGW

 

Controllers

These are the default controllers of the game, but the player can change them whenever he wants:

  • Acceleration: Left Control
  • Braking: Left Alt
  • Turning left: Left arrow of the cursor
  • Turning right: Right arrow of the cursor
  • Up gear: Z
  • Down gear: Right control
  • Select an option: Enter
  • Exit menus and pause the game while the player is driving: Esc

 

Compilation project

In order to compile the file, you must create a project with all the files provided in this repository, including the resources folder and the resource.rc and the icon.o files. Besides the opensource framework called SFML must be installed in your computer in order to let the project recognise the libary files. The framework must be downloaded in the following link.

https://www.sfml-dev.org/download.php

 

Running and execution

In order to run Out Run on your personal computer you can either compile and run the project you have created locally on your computer or make use of the executables provided in the Release section of the repository. Now, Out Run can be played in Windows, like before, and also it is available for Linux.

Windows version: Out Run Windows x64

1. Extract all files from outrun-4.0-W64.zip
2. Run the executable file Outrun.exe

Linux based version: Out Run Linux

1. sudo apt-get install libsfml-dev 
2. Extract all files from outrun-4.0-linux.zip
3. ./Outrun

 

Supporting the project

This is the fourth version of the video game. I have tested it as best as I could but I'm absolutely aware that some fault may have due to its complexity. The fact that the project is open source is the real way for the community to solve all the possible problems together, feel free to open an issue or do a pull request. See the open issues for a list of known issues (and proposed features).

 

Screenshoots

 

Intro Options menu
Controls Menu Gears menu
Vehicle Menu Radio Music menu
Scenario Two Scenario Five
Scenario Six Scenario Eight
Scenario Ten Start
Fork Green car
Orange car Yellow car
Cian car Dark blue car car

 

Trailer and gameplay

The following link shows the trailer and a gameplay of the videogame in the followuing links:

 

Authors

This version of Out Run has been programmed by the following developers:

outrun's People

Contributors

agavinm avatar zgzinfinity avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

dcxcn fkobon sysfce2

outrun's Issues

Añadir opción de IA de los vehículos

Igual que con el volumen, que haya un ajuste de IA (por defecto vale 0), y los valores entre 0 y 100 indican la agresividad de la IA, es decir, si los coches van a fastidiar al jugador o no. Por ejemplo los coches se ponen en la trayectoria del jugador y frenan para fastidiar.

Compile fails with error: "Input.h:127:63: error: field 'resolutions' has incomplete type "

I set up a project in codeblocks and wanted to compile the master branch on my Linux box. But I get the error I pasted below.

My gcc version is: gcc (GCC) 12.2.0

-------------- Build: Debug in OutRun (compiler: GNU GCC Compiler)---------------

Skipping file (no compiler program set): ../../../src/OutRun/Resources/resource.rc
g++ -Wall -g -std=c++14 -c /home/nhaede/src/OutRun/src/Audio/Audio.cpp -o obj/Debug/src/OutRun/src/Audio/Audio.o
g++ -Wall -g -std=c++14 -c /home/nhaede/src/OutRun/src/Car/PlayerCar/PlayerCar.cpp -o obj/Debug/src/OutRun/src/Car/PlayerCar/PlayerCar.o
g++ -Wall -g -std=c++14 -c /home/nhaede/src/OutRun/src/Car/TrafficCar/TrafficCar.cpp -o obj/Debug/src/OutRun/src/Car/TrafficCar/TrafficCar.o
g++ -Wall -g -std=c++14 -c /home/nhaede/src/OutRun/src/Car/Vehicle/Vehicle.cpp -o obj/Debug/src/OutRun/src/Car/Vehicle/Vehicle.o
g++ -Wall -g -std=c++14 -c /home/nhaede/src/OutRun/src/Game/Game.cpp -o obj/Debug/src/OutRun/src/Game/Game.o
g++ -Wall -g -std=c++14 -c /home/nhaede/src/OutRun/src/Gui/Button/Button.cpp -o obj/Debug/src/OutRun/src/Gui/Button/Button.o
g++ -Wall -g -std=c++14 -c /home/nhaede/src/OutRun/src/Gui/Huds/HudBonus/HudBonus.cpp -o obj/Debug/src/OutRun/src/Gui/Huds/HudBonus/HudBonus.o
g++ -Wall -g -std=c++14 -c /home/nhaede/src/OutRun/src/Gui/Huds/HudCheckPoint/HudCheckPoint.cpp -o obj/Debug/src/OutRun/src/Gui/Huds/HudCheckPoint/HudCheckPoint.o
/home/nhaede/src/OutRun/src/Car/PlayerCar/PlayerCar.cpp:26:9: warning: #pragma once in main file
26 | #pragma once
| ^~~~
/home/nhaede/src/OutRun/src/Gui/Button/Button.cpp: In member function 'void Button::setButtonState(const ButtonState&)':
/home/nhaede/src/OutRun/src/Gui/Button/Button.cpp:86:12: warning: enumeration value '__COUNT' not handled in switch [-Wswitch]
86 | switch (state) {
| ^
g++ -Wall -g -std=c++14 -c /home/nhaede/src/OutRun/src/Gui/Huds/HudRound/HudRound.cpp -o obj/Debug/src/OutRun/src/Gui/Huds/HudRound/HudRound.o
In file included from /home/nhaede/src/OutRun/src/Audio/Audio.h:36,
from /home/nhaede/src/OutRun/src/Audio/Audio.cpp:26:
/home/nhaede/src/OutRun/src/Audio/../Input/Input.h:127:63: error: field 'resolutions' has incomplete type 'std::array<std::pair<int, int>, 4>'
127 | std::array<std::pair<int, int>, (int)Resolution::__COUNT> resolutions;
| ^~~~~~~~~~~
In file included from /usr/include/c++/12.2/mutex:38,
from /home/nhaede/src/OutRun/src/Audio/Audio.h:33:
/usr/include/c++/12.2/tuple:1595:45: note: declaration of 'struct std::array<std::pair<int, int>, 4>'
1595 | template<typename _Tp, size_t _Nm> struct array;
| ^~~~~
/home/nhaede/src/OutRun/src/Audio/Audio.h:171:74: error: field 'themes' has incomplete type 'std::array<std::unique_ptrsf::Music, 16>'
171 | std::array<std::unique_ptrsf::Music, (int)Soundtrack::__COUNT> themes;
| ^~~~~~
/usr/include/c++/12.2/tuple:1595:45: note: declaration of 'struct std::array<std::unique_ptrsf::Music, 16>'
1595 | template<typename _Tp, size_t _Nm> struct array;
| ^~~~~
/home/nhaede/src/OutRun/src/Audio/Audio.h:174:67: error: field 'effects' has incomplete type 'std::array<std::unique_ptrsf::Music, 66>'
174 | std::array<std::unique_ptrsf::Music, (int)Sfx::__COUNT> effects;
| ^~~~~~~
/usr/include/c++/12.2/tuple:1595:45: note: declaration of 'struct std::array<std::unique_ptrsf::Music, 66>'
1595 | template<typename _Tp, size_t _Nm> struct array;
| ^~~~~
Process terminated with status 1 (0 minute(s), 1 second(s))

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.