Giter VIP home page Giter VIP logo

stealth-engine's Introduction

codecov codecov

Stealth Engine

A 2D game engine written in C++ for development in C++. Supported platforms for both development and build are Linux, OSX, Windows.

This is a personal project I am working on for training purpose. This project started as a framework I intended to use for a top-view Stealth game with a variety of AI applications, but it gradually turned into a generic 2D engine.

Current features

  • Basic physics
  • Basic input
  • Some OpenGL primitives
  • Scene-actor
  • Entity-components

Current work

Integrating CodeCov

Build dependencies

Here are some build dependencies detailed for Linux Ubuntu, and a bit of OS X.

In doubt, you can also check the .travis.yml file for the most important parts of the setup.

Box2D

Box2D requires premake5 to be built. Install premake from the website or use that snippet based on .travis.yml:

PREMAKE_VERSION="5.0.0-alpha12"
wget "https://github.com/premake/premake-core/releases/download/v${PREMAKE_VERSION}/premake-${PREMAKE_VERSION}-src.zip"
rm -rf "premake-${PREMAKE_VERSION}"
unzip "premake-${PREMAKE_VERSION}-src.zip"
if [ "$TRAVIS_OS_NAME" == "linux" ]; then
    PREMAKE_BUILD_DIR="gmake.unix"
elif [ "$TRAVIS_OS_NAME" == "osx" ]; then
    PREMAKE_BUILD_DIR="gmake.macosx"
fi
  • pushd "premake-${PREMAKE_VERSION}/build/${PREMAKE_BUILD_DIR}"
  • make ${MAKEFLAGS}
  • popd
  • mkdir "/usr/local/bin" -p
  • sudo ln -s "$(pwd)/premake-${PREMAKE_VERSION}/bin/release/premake5" /usr/local/premake5`

GLFW

To load CMake project, if using X11:

sudo apt-get install libx11-dev libxrandr-dev libxinerama-dev libxcursor-dev

To build, if using X11:

sudo apt-get install libxi-dev

OpenGL / GLU

Install the appropriate graphics packages.

MESA:

sudo apt-get install libglu1-mesa-dev

This will also install libgl1-mesa-dev and mesa-common-dev as a dependency. GLU is required for GLEW.

NVIDIA:

Install NVIDIA packages for your graphics card.

stealth-engine's People

Contributors

hsandt avatar

Stargazers

 avatar  avatar

Watchers

 avatar  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.