Play the game.

That’s our 9th Ludum Dare, so we decided to make something challenging this time. We’ve tried to create multiplayer action-horror-shooter thingy with two characters trying to kill each other. One is a werewolf (short-range attack, wide angle of view), other one is a hunter (long-range attack, small view angle and viewing distance). And yeah, that was pretty challenging indeed for some reasons, such as:

  1.  Networking
    We’ve made our first network game for LD#34. It was quite primitive, peer-to-peer game for two players. But it proved that our team can handle network-game-specific issues and make network game at least playable. This time we decided to go further and create server which would interconnect all game instances into pairs. That is still quite simple client-server architecture, but it required lots of time to implement and some knowledge of websockets magic.
  2. Dynamic shadows
    Our game is based on libgdx engine which is quite simple and, of course, doesn’t have any built-in shadow support. So, shadows were made using bunch of black triangles, dozens of math and sorting obstacles by distance, from farther to closer. Looks pretty realistic though:
    za_bochok
  3. Collisions detection

    Characters should not go through trees, right? Libgdx has built-in box2d engine support, but for such simple task it adds so much overhead to code that we decided to make everything on our own. That required some math too, and sometimes leaded to funny bugs such as trees making you stuck inside them and tear you apart.
  4. Soft torch beam effect
    It may look simple. But inside it carries some OpenGL vertex and fragment shaders magic. One of us spent 5 hours or something making this effect look properly and be configurable too. This soft-beam torch effect could be also achieved with gradient transparent bitmap, but it would be less challenging and less funny to make.
  5. Balancing and small details
    After basic game mechanics was complete, we decided to add some more features to make game better balanced and more interesting to play. First, we’ve made a wolf jump over the trees to compensate hunter’s advantage in attack range, and then we’ve added traces to our characters to help them find each other in dark forest.

After all, we are completely happy with the result and we hope you’ll enjoy playing this. It’s hard to find opponent sometimes, so be ready to grab your friend and play with him over the Internet. We also have page with game statistics here: https://catinthedark-dashboard.herokuapp.com/

Screenshot - 26.04.2016 - 22:27:26

and Telegram chat for everyone who wants to receive notifications about active players waiting for opponent: https://telegram.me/joinchat/BECxPgbnSIAUB3XsqAfHIg

So, our Ludum Dare entry http://ludumdare.com/compo/ludum-dare-35/?action=preview&uid=27523


Leave a Reply

You must be logged in to post a comment.

[cache: storing page]