Movieclip - How to Get Dynamic Image Scaling to Work?

I’m setting up some basic animations using movieclip but dynamic image scaling isn’t working. I can’t find anything about how to set this up in the documentation. [import]uid: 135391 topic_id: 35710 reply_id: 335710[/import]

Movieclips are created using newImage rather than newImageRect so don’t support dynamic scaling.

You could either use sprite sheets or this enhanced movie clip library:

http://developer.coronalabs.com/code/movieclipx [import]uid: 93133 topic_id: 35710 reply_id: 142013[/import]

First of all, the movieclip.lua module is being deprecated in favor of sprite sheets. One of the reasons it’s being deprecated is that there are multiple versions of movieclip.lua floating out there and it’s hard to support the various versions that people have changed and put back out.

Personally I liked movieclip.lua but I found one that uses display.newImageRect(). It requires passing the size of the graphic in (and each graphic needs to be the same size).

[import]uid: 199310 topic_id: 35710 reply_id: 142039[/import]

Movieclips are created using newImage rather than newImageRect so don’t support dynamic scaling.

You could either use sprite sheets or this enhanced movie clip library:

http://developer.coronalabs.com/code/movieclipx [import]uid: 93133 topic_id: 35710 reply_id: 142013[/import]

First of all, the movieclip.lua module is being deprecated in favor of sprite sheets. One of the reasons it’s being deprecated is that there are multiple versions of movieclip.lua floating out there and it’s hard to support the various versions that people have changed and put back out.

Personally I liked movieclip.lua but I found one that uses display.newImageRect(). It requires passing the size of the graphic in (and each graphic needs to be the same size).

[import]uid: 199310 topic_id: 35710 reply_id: 142039[/import]