Zombies! Endless amounts of zombies! Guns, Guts, & Glory is a wave-defense FPS game with a comical cell-shaded style. Tons of weapons, upgrades, and enemies. With a level editor, and mods its endless zombie fun.
Hello IndieDB community! Here is our weekly update on 3G for the 3rd week of August. We are going to try and keep up with these to keep the community informed.
If you read our last post, we talked about how we where building a custom pathfinding solution to solve some of the issues we have had with attempting to use some pre-made solutions. And as promised, a tutorial has been started on the subject! You can view the first installment now on my wordpress (temporary location until an official website is setup) here:
That article talks a bit about the limitations that forced us to development a new solution, and explains the A* Pathfinding Algorithm in it's basic form. The next installment will dive into building custom components with Unity Editor Extensions to get some tasty productivity out of it.
Pathfinding makes it a lot easier for zombies to find their way around obstacles and through the rooms inside. Room purchases will turn "nodes" on to allow zombies to use them in pathfinding. At this moment, the first edition of this system is running pretty smooth! The graph refresh only happens once at the start and helps pre-calculate the connections, timed at around 6 milliseconds. Now, the enemy path calculation takes a bit longer then we wanted. Searching ~30 nodes takes just under 2 milliseconds to produce a path.
Now besides the fancy pathfinding we did play around a bit with the graphics. We wanted to save this until later, but sometimes it's good to get a general idea going. Unfortunately, the computer we used for the 3D modelling is down at the moment, so we have to continue with the placeholder primitives. An interesting thing though, is that for the cell-shading we went about creating a bunch of custom shaders to handle the job. This way we could incorporate a more "posterized" feel to the textures. We also needed to get around a caveat of Unity's built-in shaders, being that Unity accepts 2 UV coordinates with imported meshes but the shaders don't use them. So because the models coming out of Blender will use 2 UV maps for the materials, it was only fitting that our shaders actually used them!
It might not look like much right now, but there's some potential power behind the shaders. At their most complex they actively posterize the diffuse map and light map, use ramp powered lighting, use 2 UV maps for diffuse and lightmap, and feature normal map and specular mapping. All while giving that classic outline.
Besides the technical looks and algorithms, the gameplay is starting to shape up! The waves are working. For debugging we've limited it to just one, but with a quick change it can go infinitely now. As of now, they are pretty easy to hold back when they are outside of the windows, but ammo doesn't last forever. Which gives you 2 options. First, you can open one of the rooms and purchase some much needed ammo from the box. Or second, you can let them tear the windows down and turn them into an item-drop gauntlet!
Zombies drop random power-ups when killed inside. It's almost motivation to let them in. Currently the only types of power-ups are: points, cash, health, and ammo. Later on we will add stuff like super strength, electro-bullets, invincibility, etc. If you wanted to go with option 1 and buy the ammo, that is also possible! Thanks to a very handy base-class, making new vendor types is a breeze. As of now, the ammo box charges you based on the weapon you have. This way refilling a pistol can be cheaper then refilling a not-so-light machine gun. Can't wait to get some new models and textures so we can ditch these placeholder models!
Well we hope this has peaked your interest! And in case you wondering, this next week we hope to add some of this lovely stuff:
We hope to see you next time, and we would appreciate any comments! Also please feel free to track this game, or send it to your friends. And just for fun, if you are a Unity developer and are interested, here's one of our early versions of the super-toon shader: