This site is a self-contained 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.
Saturday, 29 March 2008
Just a very quick and simple tip for your site. Why not add an iPhone compatible icon to your site. When a user adds your site to their iPhone / iPod touch home screen, rather that a clip of the page, it will use your specified icon.
Start by creating a 60px x 60px png image that you want to show as your icon, I've opted for a cheesy example :).
Then, in your site, add the following line to the head:
<link rel="apple-touch-icon" href="/images/iphone_icon.png" />
Then, when someone adds your site to their home screen, they see the nice, purpose made icon rather than a flakey corner of the webpage.
Friday, 21 March 2008
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.
Saturday, 08 March 2008
Just watched the apple keynote on the new iPhone sdk. I was very impressed by the apparent ease of use of the Api's and the comprehensive yet straight forward development tools and environments.
It gave me some great ideas for projects anyway!
I'm glad that apple were sensible with the pricing structure. Free meaning free in every respect. This allays some fears I had of spending a fortune on apps for my ipod touch. phew.