Skip to content

ryanreno/spacewar

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to SpaceWar! This is a variant of the classic 1962 computer game. It is my attempt to learn how to use an entity-component system. I made heavy use of the book SFML Game Development and Triangulum to guide me in the right direction.

Assets (textures, music, sound effects) are credited in the "Credits" menu.

Setup Instructions

git submodule init
git submodule update

Build Instructions

Linux:

mkdir -p build
cd build
cmake ..
make

Windows MSVC:

mkdir build
mkdir install
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=../install
cmake --build . --config Release --parallel 6
cmake --install .

I don't own a Mac but I'm sure XCode can interpret CMake.

Run from within the install directory so that the binary can find the assets.

The C++ standard is C++11. Compilation has been tested on Ubuntu 20.04 with GCC 9.3.0, And Windows 10 with Visual Studio 2019. I'm sure you can get away with older versions though.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 97.8%
  • CMake 2.2%