Powerup Loadout Mechanism - mattzhao92/Planet-Blitz GitHub Wiki

soldier --> Artillery

What's going to be the easiest way to implement this?

  • Three different models. The soldier and then that'll disappear, the loader will appear, go through it's animations and then the artillery unit will appear?

Will it just be an animation within our soldier and then it'll include a state change into the artillery guy?

I'll make the model using the first idea since it'll be easier to translate that into the second method or any other I can foresee.

Peter: easiest way is probably to have the power-up station as something that the unit walks into. Once the unit walks into the power-up station, the doors "close". If the power station is destroyed while the unit is inside, then both the power station and unit are destroyed. Otherwise, after a certain period of time, the doors open back up and then the unit walks out with its new class.