Turn-based strategy game based on colors and shapes.

Tom Bannink f3279c1485 Shadow map can be shown in a View with the command 'shadowmap' in the console 2 years ago
build 47b2b968cd Added Arya::CommandHandler to handle (console) commands. Game example binds quit/exit 3 years ago
game ed3c19f473 Shadows are working now, but are very slow 2 years ago
include f3279c1485 Shadow map can be shown in a View with the command 'shadowmap' in the console 2 years ago
prismer 1fb29bd8f6 add fps counter 2 years ago
shaders ed3c19f473 Shadows are working now, but are very slow 2 years ago
src f3279c1485 Shadow map can be shown in a View with the command 'shadowmap' in the console 2 years ago
tools 353439cf27 Initial copy of Arya2 engine 3 years ago
.gitignore 7e88b2c01d add prismer cmake list 3 years ago
README.md 353439cf27 Initial copy of Arya2 engine 3 years ago
TODO.md 5f2dc7f658 Updated TODO list 3 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