Log entry #012I've been working on a random cloud generator for some time and I think I've finally found the right approach for it. I used particle emitters to make up the clouds in an earlier implementation, until I realised that I could make them more than just part of the scenery.
The thing about particles is that once they are released onto the screen, they just move on and do their own thing. It's not possible to track and change their motion or behavior after that. At least not in the way I needed. So I ended up rewriting the whole thing to use game objects instead of particles. And the result is pretty good:
I was inspired by
showing how a shockwave affects cloud movement. You might want to turn down your speaker volume before watching - sonic boom at 0:24. This is how it looks ingame:
And if a trooper gets killed while near or above a cloud, the cloud will soak up the blood and change it's color slightly:
I have no idea if that would actually happen in reality, but it makes sense in my mind
There are other ways clouds could become part of the gameplay. For example if you stay in them, it could recharge your shield faster, assuming you have the right equipment.