Coder Social home page Coder Social logo

icodein / triplane Goto Github PK

View Code? Open in Web Editor NEW

This project forked from suomipelit/triplane

0.0 1.0 0.0 7.91 MB

Triplane Classic - a side-scrolling dogfighting game

Home Page: http://triplane.sourceforge.net/

License: GNU General Public License v3.0

Shell 0.40% C++ 91.25% C 6.33% HTML 1.15% CMake 0.88%

triplane's Introduction

Triplane Classic - a side-scrolling dogfighting game

Build Status Downloads Latest release

Intro

Triplane GIF

Try live browser version here!

Triplane Classic is a side-scrolling dogfighting game featuring solo missions and multiplayer mode with up to four players. It is a port of the original Triplane Turmoil game for DOS and aims to match the original game exactly so that high scores remain comparable to the original.

Please read the manual page for information on how to actually play the game.

Copyrights

The original Triplane Turmoil was developed by Markku Rankala, Teemu J. Takanen and Henrikki Merikallio. Some work was also contributed by Risto Puhakka, Antti Lehtoranta and Mikko Kinnunen.

The portable SDL version was created from the original source by Timo Juhani Lindfors ([email protected]), Teemu J. Takanen ([email protected]), and Riku Saikkonen. We also thank Timo Lilja for his earlier Xlib porting efforts and Sami Liedes for spellchecking and optimization ideas.

Dodekaedron Software Creations Oy is the current copyright holder for the Triplane Classic source code, documentation, images and sounds. In 2009 it granted a license to distribute these under the terms of the GNU General Public License version 3 or later.

SDL2 porting and CMake build scripts were done by Suomipelit Organization.

Trademarks

Triplane Turmoil is a trademark of Dodekaedron Software Creations Oy.

Triplane Turmoil 2 is a trademark of Draconus Entertainment Ltd.

Triplane Classic is not a trademark. However, if you make substantial modifications that, for example, change the scoring system, we encourage you to pick a new name for your modified game so that users are not confused.

Compiling from source

Requirements

  • CMake
  • C++ compiler: At least gcc, clang and Visual Studio are supported
  • Libraries: SDL2, SDL2_mixer
    • On macOS, you can install these with Homebrew. brew install sdl2 sdl2_mixer
    • On Windows you can download these from SDL website

Building

mkdir bin
cd bin
cmake ..
cmake --build .

On Windows, you may need to explicitly specify paths to your SDL libraries, like

cmake -DSDL2_PATH="C:\\<path>\\SDL2-2.0.9" -DSDL2_MIXER_PATH="C:\\<path>\\SDL2_mixer-2.0.4" ..

which produces project files for 32-bit target. For 64-bit target, use e.g. cmake -G "Visual Studio 15 2017 Win64".

Browser build

Emscripten JavaScript/WebAssembly build for browsers is also supported. You can try it live here.

fokker.dks main data file must be built separately or borrowed from release package. Paste it to binary directory before progressing further.

cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE=<path to>/emsdk/upstream/emscripten/cmake/Modules/Platform/Emscripten.cmake ..
cmake --build .

For best performance it is recommended to build with -DCMAKE_BUILD_TYPE=Release.

It might be easiest to run local HTTP server with Python

python -m http.server

and opening the game with supported browser at http://localhost:8000/triplane.html.

Releases

v1.0.8-SP2 - 2020-07-21

  • Web port
  • Adjust window scaling with Alt + (KeyPad) Plus/Minus
  • Fix cursor position in window mode
  • Fix aspect ratio in full screen mode
  • Fix mouse sensitivity in full screen mode
  • Fix few busy loops

v1.0.8-SP1 - 2019-12-14

  • Update to SDL2
  • Add fullcreen option to GUI
  • Toggle fullcreen with ALT + Enter
  • Fix split transition
  • Fix start-up problem if no player was created
  • Minor maintenance

Contact

Suomipelit Slack

Original SDL port

Teemu J. Takanen [email protected]

Timo Juhani Lindfors [email protected]

triplane's People

Contributors

veikkos avatar lindi2 avatar akx avatar akheron 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.