Monster shader by NGuillemot

[raw]
made by NGuillemot for LD33 (COMPO)
FOR GRAPHICS NERDS
==================

The fancy thing about this game is that everything (except the text) is rendered in fullscreen one fragment shader pass with no textures.

If you edit shaders/game.frag, it should update live. This might be fun to play with. It might also make your computer very warm.

Monster shader - the werewolf game with a big shader
====================================================

This is a local multiplayer werewolf/mafia game. There are three jobs: villager, priest, and monster.
One player is randomly chosen to be the monster, one to be the priest, and the rest are villagers.

Each player controls 2 pieces in the game.
As long as one of their pieces is alive, they can act. If none of their pieces are alive, they are defeated.
If the monster is defeated, the humans win.
If all humans are defeated, the monster wins.

At each game tick, a game piece becomes highlighted.
While the game piece remains highlighted, each non-defeated player can decide to act by pressing their key (each player has one key, see below.)

If a player decides to act, the effect depends on their job:
If they are the monster, the highlighted game piece is killed.
If they are the priest, the highlighted game piece is revived or protected from the monster. The priest cannot defend himself from the monster.
If they are a villager, they cast their vote to lynch the piece. If all villagers vote to lynch, then the piece is killed.

Player keys are the number key displayed on their pieces:
----------------------------
Player 1: '1'
Player 2: '3'
Player 3: '5'
Player 4: '7'
Player 5 (if activated- requires recompilation): '9'

Press 'space' to reset the game.

This game requires OpenGL drivers to be available. It works on my low-end laptop from ~2010, but I haven't tested widely.

Feedback

Sam Twidale
24. Aug 2015 路 18:41 UTC
Can't run it :(

Getting this error when I click the .exe: "The procedure entry point __telemetry_main_return trigger could not be located in the dynamic link library *the path to monstershader.exe*"
馃帳 NGuillemot
24. Aug 2015 路 19:13 UTC
I have no idea what __telemetry_main_return is.
馃帳 NGuillemot
24. Aug 2015 路 19:31 UTC
Edited 2015/08/24: Fixed some compilation bugs in the shader on Intel
Saiyanator
28. Aug 2015 路 13:32 UTC
Wow, this game is at first sight confusing, but then somehow interesting. It feels sometimes more than art like a game, but it's cool :D
ceosol
29. Aug 2015 路 16:22 UTC
It just sits at "A new game has begun"
okmmjyygv
31. Aug 2015 路 13:51 UTC
It looks like a nice idea but the gameplay is a little confusing.