change power by changing actors (resolved)

It would probably be very close to:

  • in the box:

In short:

  • when Mario hits this block, we check which class it is
    – if he is normal, we Select False power
    – if he is evolved, we Select True power
    – we store the result in a variable Power up To Spawn for later
  • once TL completes, we spawn a new power using the variable

You should consider inheritance, so you do not need to script it again in every single block class.

1 Like