How do I increase the height or width of a sprite from 1 end

Get help using Construct 2

Post » Thu Aug 14, 2014 8:14 pm

I created a sprite, a simple 10 px by 10 px square, and set it's position on the screen.

In the every tick function, I am increasing the Sprite's height to Sprite.Height + 5. This gradually increases the sprite's height but stretches both the bottom of the Sprite and the top of the Sprite. How can I make it so that only the top is getting stretched? Or any other position of the sprite for that matter?
Posts: 10
Reputation: 237

Post » Thu Aug 14, 2014 8:18 pm

Set the origin of the sprite to the bottom and it will only stretch up..
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
Posts: 6,160
Reputation: 19,775

Return to How do I....?

Who is online

Users browsing this forum: kofstreet and 1 guest