How to Flip a sprite?

For developers using the Construct 2 Javascript SDK

Post » Mon May 12, 2014 11:22 am

Hello,

I am currently updating someone's old plugin. However, I have tried everything and can't get the sprite to flip. the following code does not work:

var mirrorSprite = this.inst.scale(-1,1);

I have tried a few variations, but can't seem to get it working?!?

Any help would be great appreciated!

Thanks :)
B
16
S
4
Posts: 69
Reputation: 1,834

Return to Javascript SDK

Who is online

Users browsing this forum: No registered users and 1 guest