Monday, October 31, 2011

Simple CA Grid

I cleaned up my CA grid experiments for Unity and stuck a video of the resulting general tool kit on YouTube.  At this point, the code will need to be hand tailored for use in specific games for special functions.  Really, the video just sort of highlights a few things that can be done with a grid system. 

The nice part about the grid generator is that grids are automatically built in the editor and saved as prefabs.  This means all the long calculations are made ahead of time, and the scene itself loads and runs very quickly. 

In addition, I included a grid editor tool that lets the level designer save any changes to a grid that they have made manually into an xml file.  This is handy because a visual grid with designer defined walls, soil types, etc. can have it's values saved into one file and a second invisible grid with special CA, path finding or other mechanics can then load that xml in editor to set itself up to make use of the custom form.  Again, this all happen in editor ensuring the scene loads and runs super fast in game. 

I've packed up the optimized collection as a starter kit to use whenever a grid generator or CA system seems like a good approach in my future AI work.  I'm debating releasing it to other developers, but it may fall into that gray area of "If you understand it, you don't need it.  If you need it, you won't understand it enough to use it."  Perhaps once I develop a specific form I'll release that along with what will likely be a larger collection of interlocking components.  Still, if anyone would like this kit, let me know and I'll send you a copy.


In other news, it has been decided that the next game Paul, Kyle and I work on will be an action adventure game staring one of my more unusual characters.  While we were thinking of doing Cow Catchers earlier, this as yet unnamed title is more in line with what we have all been wanting to work on and its art style is more accessible to our low budget and lack of full time artists.  A lot of the art will also be driven with code and physics, which will also play well to what we like to do.

Currently, Paul is working on a single stick character controller (similar to those found in classic 3D Nintendo games such as Mario, Zelda and Pikmin).  Kyle is tackling a camera system to ensure the view does not kill the game.  I am prototyping various ways of handling the rather plastic form of the main character.

Specifically, I am looking into code driven mesh structure, mesh topology, advanced skeletal structures, code driven deformations/movement and character animation.  It sounds a bit complex, and it is, but I'm sure I'll be able to break it down into something workable.   This week I'll be at Youmacon in Detroit MI, so I won't have much time to dig into the code, but I'm sure I'll have some potential topologies drawn up by the time I get back.

Monday, October 24, 2011

Maximum Chaos Is Done!


Sorry for the lack of updates, but since I have had no indication that anyone even reads this thing, and with crunch time in full swing, I just put it aside while finishing the game (wow that's a long run-on sentence).  If anyone does actually care about that time period, I did pseudo twitter my work flow on facebook and could transcribe the highlights here.  Let me know you want to see them, otherwise I'll be putting my time elsewhere.  The reason for the rush was to get Maximum Chaos into the Independent Games Festival for 2012, and we have done it. 

You can download and play the game 100% free from maximumchaosgame.com.  It runs on both Windows and Mac OS, 32 or 64 bit.  You can play with up to 3 friends (4 people total) by connecting USB port game controllers, but a special controller is NOT needed for single player.  Maximum Chaos isn't a huge power hog, so it should run without trouble for most people.  Just for reading my blog, I'll give you a cheat.  Click the little sun on the splash page to instantly unlock all levels and story chapters.  I'll be spilling the beans on some Easter Eggs at later dates as well.

The website for the game is pretty bare bones right now.  Only enough to let you download the game really.  I'd like to find a student to make the webpage so they can use it for their portfolio.  I know one who was interested, but he has yet to show me anything, so I'm not sure if that will go anywhere.  For now, the simple and ugly will have to do.