Change size over time

0 favourites
  • 3 posts
From the Asset Store
220 Food Sprites in 16x16 pixel size. Perfect for items for a retro style game.
  • Hi guys, i have a part of my game where 2 npcs talk to each other with the clasic "comic bubble", right now the dialogs just shows up without any kind of transition but i want them to kinda pop up, with a transition from size 1x1 to their normal size.

    I tried the sine but i didnt get how to make it go from one value to another and do it just 1 time.

    Any behavior suggestion or tip on how to accomplish this?


  • system compare two values - normal height > sprite.height

    -- Sprite set height to sprite.height+1

    system compare two values - normal width > sprite.width

    -- Sprite set width to sprite.width+1

    Every tick 1 is added to width and height.

    This stops when normal size is reached.

    should work with square sprites

    Ofcourse you should define the values for normal width and normal height

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thanks, that got me in the right path to doing it, i used the scale property and got it working.

    Thanks again!

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