How do I make an image change its size in the game

0 favourites
  • 2 posts
From the Asset Store
220 Food Sprites in 16x16 pixel size. Perfect for items for a retro style game.
  • How do I make an image change its size in the game from all sides.

    for example when my progress bar is maximum a sprite is spawned ( instead you could say a ring is formed ) and grows and kills all the monsters. will someone please tell me how to do that. I could send an image if someone told me how to!

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Put all of your Monsters into a family called "Family_Enemies".

    Give the ring an instance variable called "Scale"(number) give it the value of the starting size of scale you want it to be when spawned.

    and another instance variable called "Grow"(Boolean) set the value to true

    Create a condition:

    Ring > Is OnScreen > System >Set Scale > Ring.Scale

    Create another dual condition:

    Ring > On Created > Ring Add .02 to Ring.Scale

    Ring > Grow(is true)

    __(Sub Event) Ring.Scale =(or greater to) 5.0> Ring > Set Grow to False

    ______________Ring.Scale > Ring.Scale to 5.0 or (Destroy) or (Fade)

    Create another condition:

    Ring > On Overlap > Family_Enemies> Destroy Family_Enemies

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)