Giter Site home page Giter Site logo

razterizer / pilot_episode Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 1.0 394 KB

My first terminal based game. It uses libraries Core, Termin8or and 8Beat.

License: MIT License

C++ 91.53% C 1.03% Shell 0.38% Python 7.07%
flight plane shooter shooter-game terminal-based terminal-based-game ufo

pilot_episode's Introduction

Pilot Episode

Licensing

For 3rd-party license-compatibilities, please refer to the information here: https://github.com/razterizer/8Beat/blob/main/README.md

About the Game

A cross-platform (Lin/Mac/Win) terminal-based shooter game.

image image image image image image image image image

https://www.youtube.com/watch?v=6ycg91F3Pn4

https://www.youtube.com/watch?v=MCauEDtP2ZU

Build & Run Instructions

There are two options on dealing with repo dependencies:

Repo Dependencies Option 1

Run the following command from <my_source_code_dir>.

./Pilot_Episode/fetch-dependencies ./Pilot_Episode/dependencies

This will make sure you are running the latest stable versions that work with Pilot_Episode.

This script was created by Thibaut Buchert.

Repo Dependencies Option 2

You need the following header-only libraries that I've made:

Make sure the folder structure looks like this:

<my_source_code_dir>/lib/Core/                   ; Core repo workspace/checkout goes here.
<my_source_code_dir>/lib/Termin8or/              ; Termin8or repo workspace/checkout goes here.
<my_source_code_dir>/lib/8Beat/                  ; 8Beat repo workspace/checkout goes here.
<my_source_code_dir>/lib/AudioLibSwitcher_OpenAL ; AudioLibSwitcher_OpenAL repo workspace/checkout goes here.
<my_source_code_dir>Pilot_Episode/               ; Pilot_Episode repo workspace/checkout goes here.

These repos are not guaranteed to all the time work with the latest version of Pilot_Episode. If you want the more stable aproach then look at Option 1 instead.

Windows

You also need the following 3rdparty folder with subfolders:

<my_source_code_dir>/lib/3rdparty/
<my_source_code_dir>/lib/3rdparty/include/
<my_source_code_dir>/lib/3rdparty/include/OpenAL_Soft/
<my_source_code_dir>/lib/3rdparty/lib/

<my_source_code_dir>/lib/3rdparty/lib/ should contain:

  • OpenAL32.lib.

<my_source_code_dir>/lib/3rdparty/include/OpenAL_Soft/ should contain:

  • al.h.
  • alc.h.
  • alext.h.
  • efx.h.
  • efx-creative.h.
  • efx-presets.h.

I will change the audio library to something like libsoundio in the future though for licensing reasons.

Then just open <my_source_code_dir>/Pilot_Episode/Pilot_Episode/Pilot_Episode.sln and build and run. That's it!

MacOS

Make sure you have OpenAL-Soft installed: brew install openal-soft.

Then goto <my_source_code_dir>/Pilot_Episode/Pilot_Episode/ and build with ./build.sh.

Then run by typing ./bin_linux/pilot_episode.

Linux (Ubuntu)

Make sure you have OpenAL-Soft installed: sudo apt install libopenal-dev.

Then goto <my_source_code_dir>/Pilot_Episode/Pilot_Episode/ and build with ./build.sh.

Then run by typing ./bin_linux/pilot_episode.

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.