Is it possible to do an animation where an image scales from nothing to its current size in the place where it should be positiioned?
I tried this but the image just appears at its full size from the start:
titleImage = display.newImageRect( "program\_logo.png", 520, 394 ) titleImage:setReferencePoint( display.TopCenterReferencePoint ) titleImage.x = display.contentCenterX titleImage.y = 156 menuTitleGroup = display.newGroup() menuTitleGroup:insert(titleImage) menuTitleGroup.xScale = 0 menuTitleGroup.yScale = 0 local function explodeLogo() transition.to( menuTitleGroup, { time=2000, alpha=1, xScale = 1, yScale = 1} ) end explodeLogo()
I had not used xScale/yScale before so maybe I am using it wrong?
Any help would be most appreciated.
I am using build 2013.1202, and want to keep using that for the time being.
