Giter VIP home page Giter VIP logo

fly's Introduction

Fly

fly-screenshot collision gif

A simple flight simulator in C++11/OpenGL.

Features a procedurally generated infinite terrain over which you can fly around. With explosions!

Controls:

WASD or Arrow keys to change the plane's direction. Click anywhere on the screen and move the mouse to rotate the camera, and scroll to change zoom.

Command line arguments:

usage: Fly [options...]

-h   | --help        Print this help text and exit
-w X | wX            Set window width to X (default: 1024)
-H Y | HY            Set window height to Y (default: 720)
-s Z | sZ            Set seed to Z (default: random seed)
-f   | --fullscreen  Set fullscreen mode (default: false)
--wireframe          Render in wireframe mode (default: false)
--plane-box          Draw a bounding box around the plane (default: false)

YouTube Playlist:

Link to YouTube Playlist

Compiling

You need:

  • SFML 2.1+ development headers and library
  • C++11 compliant compiler
  • CMake 3.11+
  • GLEW

Once you have the dependencies, run cmake on the source directory, if the dependencies aren't in a standard path, you may have to specify their paths. e.g., on Linux/OS X/FreeBSD:

$ git clone https://github.com/amhndu/Fly
$ cd Fly
$ mkdir build/ && cd build/
$ cmake ..
$ make -j4

On Windows, you might find cmake-gui useful, set the build and source directories, run configure. If dependencies weren't found, add their paths in the gui, then generate makefiles/Visual Studion solution to compile.

Contact:

amhndu ..at.. gmail

fly's People

Contributors

amhndu avatar aryalaadi 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  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  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

fly's Issues

Setup Travis CI for autobuild AppImage (portable package for Linux)

Lets setup Travis CI for auto-build AppImage (portable package for Linux) for each commit:

  1. Create .travis.yml in the root of active branch.
  2. https://github.com/appimage/AppImageKit
    1.1. https://github.com/probonopd/linuxdeployqt
    1.2 https://github.com/linuxdeploy
  3. https://github.com/probonopd/uploadtool
  4. Enable Travis CI pushing to GitHub releases for this repo.

For example, take a look on LeoCAD .travis.yml implementation:

And here is what resulted builds would look like:

For any support ask here:

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.