This site is a low down on what's going on in my life, what I'm working on, what I'm thinking about, and how I'm feeling about life in general.
Friday, 21 March 2008 22:45
For a long time now I've fancied trying to make an online web-based ajax-powered 4x game for myself. It would be a space-based game, similar to a game I used to love, Star Wars Supremacy (Rebellion in the US).
I used to stay up till the early hours grinding away at that game. It was not well received critically but it struck a chord with me anyway.
The only part I wouldn't be able to replicate is the real-time 3d space combat component, which is only a small piece of the game anyway. I don't really plan on hosting the game, though I may offer it for free download if I think it's any good.
I've worked out the majority of algorithms already, either by myself or by googling. The last one was how the combat system would work. In the end, I decided to give each vessel an attacking and defensive value to start with, that gives us a simple calculation for victory.
Sum of attack from side a versus sum of defense from side b, and vice versa. For example:
It is a high level approach, playing real-time the result may differ through tactical deployment of assets and targeting strategically.
Add to this captain bonuses for game characters on-board the ships and it does get slightly more complicated, but that's a different discussion.
Anyway, back to the topic. As a proud Mac owner and an iPod touch owner, I've decided to side-line the web-based version and concentrate on a version for the iPhone / iPod touch using the highly capable iPhone SDK.
Having seen the demos, I think it might be possible to create a 3d space battle engine also, which would just be amazing.
We'll see how it goes, I'm going to dust of my C programming skills and brush up on objective-c through a couple of books that I've ordered and see where it takes me.