Game Design, Programming and running a one-man games business…

Selecting suitable user-generated fleets

I’m hoping that the Gratuitous Space Battles campaign add-on will make use of existing player-designed fleets to give a vast population of potential enemies to fight. Although this system is coded, in-use and working, it needs a lot of tweaking. (I also suspect it might be advisable for me to have this as an option, with a stockpile of ‘cliffski-designed’ fleets available for use instead). My current basic criteria for selection from existing fleets are:

  • Produced relatively recently (no beta or massively old challenges)
  • Has a good enjoyment Rating
  • Has more than x ratings (to ensure its not just a few friends)
  • Is valid (no modded content). The client filters out expansion pack fleets for people without them automagically.

I think, from my early playtesting, that I need a bunch more criteria. I’d like to avoid spammy fleets, or fleets where any ‘tricks’ are used. I think I need to at least add this:

  • All ships have engines
  • If the fleet is larger than X ships, then there is more than 1 type of ship design present, or no design is more than 75% of the hit point worth.
  • The fleet has more than x different weapons modules if larger than Y

The pain with this sort of thing, is although it’s trivial to do this in C++, I have to code all that sort of thing in php as it runs on my server. Effectively, new challenges get processed as they get rated, and may get added to the ‘potential campaign fleets’ list. That means lower productivity, as I’m more a C++ than a php coder, but that’s progress for you.

I’ve got a good few days work done on the campaign stuff, and am dfinitely 100% back into it. It’s still a long way off (I have music for it, but no art yet, for example), but its should be good fun. As long as sales pick up a bit, I hope to continue with improving the campaign after its launch too. There is huge potential for it, if people like it.

Also, I added a retweet me button thing to the blog today, feel free to use it!

World Of Love

I was at this yesterday:

http://indiegamesarcade.com/world-of-love/

Giving a talk about the business side of indie game development. I have my phears that I will be forever known as ‘the piracy guy’ or ‘the business guy’ which would be sad. Even the ‘my powerpoint slides screwed up guy’ would be better than that.

However, I gave a talk on the topic because I know a lot of indie guys struggle financially, and I wish they could afford to be full time, supporting themselves from their games so they get to make more cool games. I hope what I said was helpful, and not too negative. When you look at the hard numbers behind indie gaming, it can seem impossible. If you can’t sell a game every 52 minutes, you will need a day job, basically. (And that means a demo download every 5 minutes, assuming an awesome game, 1 game a year, 100% of the profits, and one person consistantly making popular games without a flop, illness or other eventuality).

Anyway, I met tons of cool people, and shook hands with loads of people I’ve emailed and forum-chatted to but never met. Eskill Steenberg gave an amazing demonstration of how Love was made, which makes my tools look like the amateurish crap that they are! I finally saw a live demo of subversion, and that was fantastic. This may be the first introversion game I like enough to go buy. Plus Terry Cavanagh gave a great presentation of games that made me laugh out loud, which is rare enough.

It was also pretty surreal to end the conference in a karaoke bar singing bon jovi whilst eating chinese/japanese? food. Maybe now people will finally believe me when I say I cannot sing. I accept kierons explanation that I was trying to do ‘Bon Jovi, sung by Bob Dylan’, the best.

I am 100% convinced that waiters in karaoke bars are given special, probably year-long training not to show any facial expression as they enter a cubicle full of drunk english people singing out of tune. Especially if the song is called ‘I touch myself’. All very strange…

Back to work tomorrow methinks.

Better Smoke Clouds

Sooo…

On my list of stuff I think looks not good enough, for me to improve when I am ahead of schdule and ‘treating myself’, is the black smoke clouds left behind when ships explode (mainly cruisers). They always looked a bit poor, and were just a handful of big sprites that rotated and faded in and out.

I’ve spent a good few hours investigating techniques and ideas and ended up with this:

Looks better in motion. Despite a lot of reading about fluid dynamics and mega-particles and other stuff, I ended up just using spinning sprites again, but this time with tons of refinements, in terms of different sizes, generation delays, greater sprite contrasts, and using sine waves to control spin speed degradation, sprite size growth and also now have 2 distinct groups of them in different size distributions.

I also experimented splitting them into layers so ships could fly through the smoke, underneath half of it, but it looked a bit wishy washy so I junked it. There is some extra fillrate involved in doing this, but I don’t think GSB is maxxing out many video cards right now, and this does look better to my eye.

Also, retreating now works 100% in the campaign game. Just need to have a visual retreat countdown timer and some tutorial hints for it now.

“Tough on the causes of space battles”

Today was budget day in the UK. The chancellor abolished the plans of the last government to bring in some vague idea of subsidies for UK game developers working on ‘culturally british’ games.

Instead, amongst other things, he reduced the rate of company tax by 1% from next year.

I’m pleased. Even if my games were clearly ‘culturally british’, I’d have to have applied for the subsidy, no doubt by filling out forms that would take days, then probably have to meet someone and pitch for the subsidy, involving me travelling, then debating and arguing, and hoping that some stuffy civil servant in a suit doesnt assume I’m some dody shyster just because I wear jeans and work from home. I bet I’d never have earned a penny from it, although administering the system would doubtless have kept a few civil servants busy.

On the other hand, cutting taxes for all businesses, just makes Positech games 1% more competitive automatically, without any effort involved by anyone. It’s the smarter move, in my opinion. This seems to be a minority view, there is much gnashing of teeth by ‘industry spokespeople’. I’m surprised anyone thought that a pre-election promise to cut taxes would be honored by a different government.

I got retreating working in the campaign today (yay!)

I painted the bathroom door! (yay!)

I paid my years company tax bill today. Even though the online payment system was broken so I had to mail a check. (boo!)

Unhappy with lighting stuff

I did some campaign stuff today, but also tried to finish off my weekend stencil buffer fun, had a brief flirtation with shadows, and got loads of stuff working, but was not happy. Basically my plan was to be able to take an image and draw it so it only appears on the ships. This would work for light sources, as well as shadows.

It worked! using pixel shader version 3, mind, but that would be togglable. The downside is, it looked crap, mainly because the ships are just sprites, and shadows therefore just splat over them rather than ‘rolling’ and it looked fake, and maybe worse than none. The lighting glows stuff looks better, but still bad. Using normal maps for the ships is theoretically possible, but insane amounts of grief, especially because it wouldn’t work on the turrets without re-doing them all. Bah.

Here is how it looks, if you can even tell. There is a brighter light glow around the laser bullets, as they move over the ships.

It sucks, and I am determined to get the game looking better than this. Also looking at other potential effect improvements…