So you want to write your own shaders do you? OK, I agree, custom shaders really changes the way the game looks. You can quickly and easily stylize your game to look very different from all the other games with a few simple shaders applied to your models and sprites. But you have to write them well. I have helped port a few games over to windows the past few days (5 I think). Anyways, all 5 games had issues with their custom shaders on windows.
So you want to have constant explosions, hundreds of rockets, bullets flying all over the place and general insanity in your game. Great, so do I! But this insanity comes at a cost if you don’t manage your resources properly. When you instantiate and destroy an object, you have to allocate memory, it sits there for a while and eventually the garbage collector comes by and releases it, IF it meets all of the requirements. Well that’s the sliced down version anyways. If you are interested in more reading on the whys, here are some links to additional reading.
This article discusses one technique for helping manage those resources for objects that might quickly go through that cycle. The article is three sections, what is object pooling, what to pool and how to implement object pooling. Continue reading
I had a great meeting with the Charlotte Area Game Development Group last Monday night. The Group is sponsored by Meridian Technologies, and is hosted by the Charlotte Microsoft Office. I met the team leader, Matt Duffield, who is doing a fantastic job running and organizing the Group. The key presenter that evening was Dan Russell Pinson, the creator of Monster Physics and the upcoming game Tower Math! Dan’s work can be found on his website.
The focus for Tuesday’s meeting was on Optimizing Mobile 3D Games in Unity and exploring some of the tools, tips and tricks for deploying to the various platforms. Continue reading