Turn-based strategy game based on colors and shapes.

Tom Bannink e59d80376a Disable sound implementation for now 2 years ago
build e59d80376a Disable sound implementation for now 2 years ago
game 865bc1180b Move primitive generation to seperate executable that saves them in model files and start working on Materials 2 years ago
include cdf9db4e34 Merge branch 'aryamodel' 2 years ago
prismer f84c0fedc1 fix some warnings 2 years ago
shaders ed3c19f473 Shadows are working now, but are very slow 2 years ago
src e59d80376a Disable sound implementation for now 2 years ago
tools 865bc1180b Move primitive generation to seperate executable that saves them in model files and start working on Materials 2 years ago
.gitignore 7e88b2c01d add prismer cmake list 2 years ago
README.md 353439cf27 Initial copy of Arya2 engine 2 years ago
TODO.md 95982cb660 Updated TODO file 2 years ago

README.md

Building on Linux

Building on Linux requires the following libraries (latest releases should work):

  • OpenGL (>= 3.0, with GLSL >= 4.0)
  • GLEW
  • glm
  • SDL2

Additionally, the following tools are needed for building

  • gcc
  • make
  • cmake

Installation of packages on Arch based systems

For gcc and make, simply run

`$ sudo pacman -S base-devel`

For the other packages:

`$ sudo pacman -S cmake glew glm sdl2`

To build, simply navigate to the root directory of the repository and run

$ cd build
$ cmake .
$ make

Running on Linux

Put the required resources in bin/, these are currently in a private dropbox folder. Then open ./bin/AryaGame to run the game, and start a local game.

Debugging

Linux: simulating network delay for debugging synchronization issues

Find name of network device (usually eth0), on recent linux distributions: $ ip link

Add a delay: $ tc qdisc add dev eth0 root netem delay 100ms

Remove delay: $ tc qdisc delete dev eht0 root