how might I deform raster images, like in Wobble?

Yes, I tried to realize it the same way. But if I make snapshots of group, fps slow down. :frowning:
Unfortunately, my animation is too rich to be packed into spritesheet.
I can’t get high animation perfomance.

Nevertheless, Open768, thank you for quick reply!

All I need is to have opportunity of making image skew transform! [import]uid: 153428 topic_id: 2091 reply_id: 115448[/import]

hmm, well gotta state the obvious that this was just a hack to prove a point. Performance will obviously suffer when trying to move large numbers of 2pixel wide sprites in real time.

Would be great if you could post a animatic or something that shows what you’re trying to achieve - maybe someone has a different way of achieving it.

Lets keep the pressure on ansca to give fuller access to opengl functions. [import]uid: 74338 topic_id: 2091 reply_id: 115498[/import]

http://www.fileconvoy.com/dfl.php?id=g2e6579e153386196129305039df306ce329290
There is truncated PNG sequence in ZIP file (total 150 frames). The body of strawberry at every frame is result of rotation or skew transformation of one at first frame. I tried to realize strawberry animation without emotions (eyes and mouth).

By the way, performance don’t suffer on devices when I move and rotate large numbers of sprites (without snapshots). [import]uid: 153428 topic_id: 2091 reply_id: 115499[/import]

Hi, cheers for the details - nice artwork btw - my 2p/cents seems to me that you simplify most of what you want without needing to skew. I’m sure you’ve thought of this, how about treating the animation as 3 having distinct components: the face, the fruit and the green top.
Also I’m sure you can precalculate the sequence as the main variable is rotation of the character when it falls.

The face expressions can surely be a canned spritesheet, as can the green top. And the fruit can be scaled and rotated rather than skewed - I dont think end users would notice the lack of skews :wink: as the action is probably going to be pretty quick.

if you want to coordinate all three, using transitions to do it is a pain to do this in corona, which is why I wrote a little library code: https://github.com/open768/library/blob/master/lib/lib-animate.lua

the wobbler code is at
https://github.com/open768/library/blob/master/widget/wobbler.lua.

the code it pulls in is all in https://github.com/open768/library/ [import]uid: 74338 topic_id: 2091 reply_id: 115500[/import]

Hi, cheers for the details - nice artwork btw - my 2p/cents seems to me that you simplify most of what you want without needing to skew. I’m sure you’ve thought of this, how about treating the animation as 3 having distinct components: the face, the fruit and the green top.
Also I’m sure you can precalculate the sequence as the main variable is rotation of the character when it falls.

The face expressions can surely be a canned spritesheet, as can the green top. And the fruit can be scaled and rotated rather than skewed - I dont think end users would notice the lack of skews :wink: as the action is probably going to be pretty quick.

if you want to coordinate all three, using transitions to do it is a pain to do this in corona, which is why I wrote a little library code: https://github.com/open768/library/blob/master/lib/lib-animate.lua

the wobbler code is at
https://github.com/open768/library/blob/master/widget/wobbler.lua.

the code it pulls in is all in https://github.com/open768/library/ [import]uid: 74338 topic_id: 2091 reply_id: 115500[/import]

another example, this one breaks an image into small squares which you can independently animate. - again just a hack but it lets corona handle the heavy lifting of the sprite animation rather than do it itself.

https://www.sugarsync.com/pf/D6265787_9225421_081282
[import]uid: 74338 topic_id: 2091 reply_id: 134097[/import]

another example, this one breaks an image into small squares which you can independently animate. - again just a hack but it lets corona handle the heavy lifting of the sprite animation rather than do it itself.

https://www.sugarsync.com/pf/D6265787_9225421_081282
[import]uid: 74338 topic_id: 2091 reply_id: 134097[/import]