July 11, 2011
Filed under Uncategorized
Ever since I stopped playing MMO’s I found myself with an excess of free time on my hands, and I eventually decided I wanted to get back into game-making. I’ve done some game programming way back when I was in school in C++ when DirectX 8 was still fresh, but things have changed a lot since then, so I studied up on my different options. Chris Park (Arcen Games / AI Wars developer) spoke some praise about porting his own games to Unity, which put it on my radar for gaming projects. I do PHP and web scripting professionally now, but I wanted to get into c#, and Unity would provide a pretty good way to get into that language.
I spent a few weeks reading up unity tutorials and watching various videos. The Simple 2D Shooter in unity series at 3dbuzz.com more or less got me filled in on all the basics I needed to get going for real, and google would fill me in on the rest. I needed a way to make assets for a game, so I did a crash course of tutorials on the internet of various blender tutorials. I don’t remember what I used for beginner tutorials, but blendercookie.com had some that got me up on rigging and just general workflow.
Part of the game design sketch
Being overly ambitious is the downfall of most game projects, so I started with something very basic. I sketched out on a couple pieces of paper what I wanted my assets to look like and how the game would play. You can even see the original scanned document here. The plan was simple, it would be a single stage shmup game consisting only of a boss encounter with a (mostly) stationary object.
So that’s the story about it. Overall from start to finish the game took about a week and a half. Google saved my butt more than a few times, and Unity Answers had a lot of useful information, even though I only needed to ask 1 question (which was answered almost instantly!). I did expand the scope a bit once everythign was done, as I added a couple extra things like multiple difficulty levels and the ability to auto-orient your ship, but it more or less followed the original document.
Overall I was really impressed with how easy it was to get build a decent game using unity. I used a couple of libraries, specifically iTween and Detonator to speed/spice things up, both are pretty awesome tools. I will probably continue to use Unity for game development, as it seems to simplify the process to a point where I don’t have to worry about low level details but still gives me full control over the game itself.
Anyways give the game a shot and see how you like it. It’s only a few minutes long, and let me know what you think (and how well you do!).
Play the Game in Browser
Additionally, I’ve included the project and all related source files on the game page. I don’t know how useful it is, the code is (in my opinion) a bit of a mess, and has a few code based limitations based on the design (such as only having a single enemy). Hopefully someone out there might find it useful though!
I’m looking at perhaps doing something a bit more ambitious now, we’ll see how it turns out!