Skewing display objects?

I have some display objects that i want to  skew… 

basically something like this:

Untitled-1_zpse33e1199.png

Anyone know how to make this effect? Is this even possible?

Roy.

Hi Roy,

Yes, this is easy to do, but 2.5D manipulation of paths is a feature restricted to Corona Pro and above users. Here is a guide on the topic:

http://docs.coronalabs.com/guide/graphics/3D.html

Take care,

Brent

Good to know, I’m going Pro anyway because of IAP so that is not a problem

Ive noticed that on text display object it just cut the text and not skewing it, like so:

ScreenShot2014-12-30at81555AM_zpse074acf

Ive used this code for this result:

[lua]

   local targetButtomLeft = originalWitdh/2

    local targetButtomRight =  - originalWitdh/2

    transition.to(textTest.path, {time = 500, x2=targetButtomLeft , x3=targetButtomRight})

[/lua]

Am i doing it wrong?

Roy.

Hi Roy,

Text objects are a bit unique in that they are auto-masked (behind the scenes in Corona’s engine). So, for skewing these, I think you may need to convert it to a snapshot first, in which case it will be regarded like a normal display object with path points that can be manipulated.

Take care,

Brent

Hi Roy,

Yes, this is easy to do, but 2.5D manipulation of paths is a feature restricted to Corona Pro and above users. Here is a guide on the topic:

http://docs.coronalabs.com/guide/graphics/3D.html

Take care,

Brent

Good to know, I’m going Pro anyway because of IAP so that is not a problem

Ive noticed that on text display object it just cut the text and not skewing it, like so:

ScreenShot2014-12-30at81555AM_zpse074acf

Ive used this code for this result:

[lua]

   local targetButtomLeft = originalWitdh/2

    local targetButtomRight =  - originalWitdh/2

    transition.to(textTest.path, {time = 500, x2=targetButtomLeft , x3=targetButtomRight})

[/lua]

Am i doing it wrong?

Roy.

Hi Roy,

Text objects are a bit unique in that they are auto-masked (behind the scenes in Corona’s engine). So, for skewing these, I think you may need to convert it to a snapshot first, in which case it will be regarded like a normal display object with path points that can be manipulated.

Take care,

Brent