Help needed with resizing actor
AA app company
Member Posts: 73
I really need to know if you are able to make an animation larger than the size of the actor animating. In my game when the meteor (which is 30 by 30 pixels) collides with earth the explosion animation only reaches the size of the meteor (30 by 30 pixels). Does anyone know how ZI could make the explosion larger?
Comments
*I
When the meteor collides, destroy that actor, and spawn another actor the size you want it to be, with the explosion animation in that bigger actor.
Thanks @SlickZero that's given me the basic idea. Will I be able to track the location of more than one actor though? Since there will be more than one exploding at a time how will a track them both?
When the meteor comes in contact with the earth, you would just have a rule inside the meteor, that spawns the actor that has the explosion animation in the same position that the meteor actor is currently in. You can spawn larger actors in the place of smaller ones. This example might help.
Oops. look at this example instead.
@slickzero thanks !!! It's working perfectly