Feb 282013

*NOTE – This post was written awhile ago and everything below is outdated. Sanitarium Massacre is on hold and I’m no longer beta testing it. See the FAQ page for more information.

Time to test shit again. Here’s where things stand…

The bulk of the game (the sanitarium part) is playable but buggy as hell and I’m not sure if the gameplay is any good.

So I need your help with testing it out. I’ve been thinking about how to do this efficiency and here’s what I’ve got…

1. Send me an email: info[at]pigfarmergames.com, SUBJECT: Sanitarium Massacre Tester.
In the body of the email list your system specs: Windows version, CPU, GPU, RAM. I’ll send you the game when it’s ready which will probably be next week.

2. Register on the forums (http://pigfarmergames.com/forums). I’m going to make a thread for testers: game feedback, ideas, parts you’re stuck on, etc.

3. Record your gameplay with some kind of screen capture software (FRAPS or other) and upload it to youtube for me to review. Make it a private video and allow my account (pigfarmerproductions) access. This is the best way for me to find game bugs without you keeping a written log of everything that went wrong.

Excited for you guys to try out what I have so far. Not exactly looking forward to the massive debugging and gameplay adjustments but I guess it has to be done.

 February 28, 2013  Posted by at 3:45 am Sanitarium Massacre 5 Responses »
Feb 072013

Just finished the new escape system I wrote about (here) and everything seems to be working so far.

With standard game pathfinding, you pick an NPC and tell it where to go. It then calculates the shortest path to get there and follows it. This works fine in most cases: make a noise, the npc goes toward the noise to investigate; a cop sees you, walks towards your position and shoots, etc.

Designing a system where NPCs flee from you is a bit more complicated. People being afraid of you is kind of the whole point to a game like this. If they see you they should run away, towards an exit or hide. However, because standard pathfinding calculates the shortest path to a point, if you’re standing in that path, instead of running away from you, the NPC with run towards you to get to the exit. This breaks the game.

I won’t go into the old system I had set up (you can try it in Halloween Beta 3.2) but it had a major problems scaling to larger levels and didn’t work in the more linear areas. So I came up with something new.

The game takes the node that the player is standing closest to and switches it off. The nodes surrounding the player are taxed and picked last, so the NPC won’t run by the player unless there is no other way.

The npc then calculates a path to each exit point (up to 2 per level) and picks the shortest one. Each time the NPC reaches a new node on that path, it draws a new path. Because the player is always moving, the NPC needs to take the player’s new position into account at every node.

If the player is spotted, the NPC spins around in the opposite direction, screams, and draws a new path. If they ever get cornered, they give up and surrender.

The good news is that the debugging to make all of that work is probably the biggest pain the the ass I had left for completing the game.

 February 7, 2013  Posted by at 4:12 pm Sanitarium Massacre 6 Responses »
Jan 182013

New interview with Lunchmeat VHS blog. Check it out!


Less than two days left in the Sanitarium Massacre indiegogo campaign. If you still want to contribute or pre-order, click the banner at the top of the page.

Sorry about the lack of updates lately. I’ve been working full time so game production is a bit slow right now.

 January 18, 2013  Posted by at 1:56 pm Sanitarium Massacre No Responses »