razterizer / Pilot_Episode

My first terminal based game. It uses libraries Core, Termin8or and 8Beat.
MIT License
2 stars 1 forks source link
flight plane shooter shooter-game terminal-based terminal-based-game ufo

Pilot Episode

GitHub License Static Badge

build ubuntu build macos build windows

Top Languages GitHub repo size Commit Activity Last Commit Contributors

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

ubuntu_cbbbzvqdup_360

ubuntu_gk3dzzntm0_360

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>/lib/TrainOfThought          ; TrainOfThought 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:

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

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!

You can also build it by going to <my_source_code_dir>/Pilot_Episode/Pilot_Episode/ and build with build.bat. Then you run by typing x64\Release\pilot_episode.

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.