Help needed with resizing actor

AA app companyAA app company Member Posts: 73
edited July 2014 in Working with GS (PC)

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

  • AA app companyAA app company Member Posts: 73

    *I

  • SlickZeroSlickZero Houston, TexasMember, Sous Chef Posts: 2,870

    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.

  • AA app companyAA app company Member Posts: 73

    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?

  • SlickZeroSlickZero Houston, TexasMember, Sous Chef Posts: 2,870
    edited July 2014

    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.

  • SlickZeroSlickZero Houston, TexasMember, Sous Chef Posts: 2,870

    Oops. look at this example instead.

  • AA app companyAA app company Member Posts: 73

    @slickzero thanks !!! It's working perfectly

Sign In or Register to comment.