GithubHelp home page GithubHelp logo

hurricangame / hurrican Goto Github PK

View Code? Open in Web Editor NEW
58.0 10.0 22.0 114.65 MB

Freeware jump and shoot game created by Poke53280, based on the Turrican game series by Manfred Trenz

License: MIT License

C++ 98.38% C 0.09% GLSL 0.37% Shell 0.05% Makefile 0.43% CMake 0.69%
turrican retrogaming sdl2 run-and-gun

hurrican's Introduction

CI build

A fork of Hurrican, freeware jump and shoot game created by Poke53280, with SDL2 enabled by default, support for libopenmpt and CRT simulation. Also uses XDG compliant data/config paths on UNIX. Additional userlevels from http://turricanforever.de included.

Original code by Eiswuxe (Poke53280) [Winterworks]
Further work by Pickle136, Stefan Schmidt (thrimbor) and Leandro Nini (drfiemost)
CRT simulation partially based on CRT effect - Shadertoy, Unity article from luka712's blog

screenshot


Dependencies

The code depends on SDL2 (or the old deprecated SDL) with the image and mixer components, and libepoxy. Optionally libopenmpt can be used for the music in place of the standard from SDL_mixer (see below). A compiler with c++17 support is required.

Building

The code can be built using cmake (tested on Linux and MinGW)

git clone --recurse-submodules https://github.com/HurricanGame/Hurrican.git
cd Hurrican/Hurrican
mkdir build && cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
cmake --build .

The following build options are available:

Predefined platforms

  • -DPLATFORM=<RPI|GCW|RDU|RDU2|PANDORA> : Compile for the specified platform, setting the correct options

OpenGL Options

  • -DRENDERER=GL1 : Use the OpenGL 1.X code (fixed pipline)
  • -DRENDERER=GLES1 : Use the OpenGL 1.X code with ES compatible
  • -DRENDERER=GL2 : Use the OpenGL 2.0 code (programable pipline) [this is the default if not specified]
  • -DRENDERER=GLES2 : Use the OpenGL 2.0 code with ES compatible
  • -DRENDERER=GL3 : Use the OpenGL 3.0 code (programable pipline)
  • -DRENDERER=GLES3 : Use the OpenGL 3.0 code with ES compatible
  • -DFBO=ON : Add FBO support, allow screen to be scaled to arbitrary dimensions, available only with GL2 or GL3 and enabled by default
  • -DDEFAULT_SCREENBPP=<16|24|32> : Set the default screen depth, 32 if not specified

Sound

  • -DOPENMPT=ON : Use the libopenmpt code for music (SDL2_mixer uses libmodplug while SDL_mixer uses the lower quality mikmod engine)

Generic

  • -DFAST_RANDOM=OFF : Use standard C random function in place of the fast LCG
  • -DFAST_TRIG=ON : Use fast approximation for trigonometric functions
  • -DDISABLE_EXCEPTIONS=ON : Disable exception handling to reduce binary size
  • -DUSE_PRECOMPILED_HEADERS=ON : Enable pre-compiled headers for better compile time

Debug

  • -DDISABLE_MEMPOOLING=ON : Bypass pooled memory manager
  • -DCMAKE_BUILD_TYPE=<Asan|Ubsan>: Enable the Address or Undefined Behaviour Sanitizer

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.