How Do I Stretch or Skew an Image?

Get help using Construct 2

Post » Sun Feb 23, 2014 10:31 pm

How Do I Stretch or Skew an Image? I am think it has something to with Lerp? Not really sure how to implement it. Oh I should probably tell you guys what I am trying to make. I want my image to stretch width wise and then come back. Then stretch height wise and then come back.

I am trying to create a "bouncy type" feel on a sprite I have. Thanks!

Edit:
Should I just animate it and then import the animation? Would that be less resource intensive?
B
56
S
15
G
13
Posts: 826
Reputation: 17,675

Post » Mon Feb 24, 2014 2:08 am

To stretch image, just modify image width and height parameters on the fly. I have seen some nice tutorials on implementing this with C2, no link to offer at the moment. Sorry.

I don't think Skewing is possible without some effects or 3rd party plugin.
B
16
S
4
G
2
Posts: 233
Reputation: 2,560

Post » Mon Feb 24, 2014 9:11 am

Tekniko wrote:
Edit:
Should I just animate it and then import the animation? Would that be less resource intensive?

Yeah.Just animate it.Then you won't have to mess up with the code.Just play the animation when the objects touches the ground
B
11
S
5
G
2
Posts: 496
Reputation: 2,306


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 21 guests