Giter Site home page Giter Site logo

lpsandaruwan / savior-ship Goto Github PK

View Code? Open in Web Editor NEW
6.0 3.0 2.0 10.78 MB

SDL2 fightership game

Home Page: https://lpsandaruwan.github.io/savior-ship/

License: Other

CMake 4.09% C++ 93.15% C 0.83% Shell 0.03% Batchfile 1.90%
game-2d sdl2 cpp

savior-ship's Introduction

savior-ship

An opensource space ship fighter game using SDL2.

Building

Builds have been tested on both Linux and Windows 10.

Build Requirements

  • gcc g++, clang or MSVC Compiler (depending upon your operating system)
  • cmake

Build Dependencies

  • sdl2
  • sdl2_image
  • sdl2_ttf
  • sdl2_mixer

Linux users can download sdl2 from https://www.libsdl.org/download-2.0.php but it's recommended to instead build against the software available from the operating system's package manager instead (apt-get or dnf for example.)

Building using Windows 10

There is a build script inside of the windows directory which will download and build all of the dependencies for you using vcpkg. Please open and read the file before running it. There is some software you need to install first and two variables you will need to set to ensure that the script will run cleanly.

Once the variables have been set correctly, it should be as simple as opening a command prompt, moving into the directory and issuing the command:

build.cmd

Once the project has successfully built, you can then make your changes to the source code and run build.cmd again. Doing so will quickly rebuild the project's binaries for you.

Build in Linux

Clone repository and using cmake do,

git clone https://github.com/lpsandaruwan/savior-ship.git
cd savior-ship

cmake CMakeLists.txt

Now build and install,

make
sudo make install

From application launcher menu search for "Savior Ship".

Enjoy...!

savior-ship's People

Contributors

lpsandaruwan avatar heydojo avatar

Stargazers

Mominul Islam Hemal avatar  avatar Rushton Pippin avatar AYASAKI Hayate avatar Mohit Verma avatar Dane Feist avatar

Watchers

James Cloos avatar  avatar Dane Feist avatar

savior-ship's Issues

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.