I’m using the transition.whatever functions to have bonus scores float up and fade out from the targets in my game. Can anyone recommend a good method to also scale the image as it moves upwards, and fades? Ideally it would be great if one of the methods of transition was transition.scale. , but alas…
TIA
[code]
function callScoreAlert (event)
local displayScore = display.newImage (“200.png”)
displayScore.x = event.x
displayScore.y = event.y - 100
transition.dissolve(displayScore, { time = 1000, y = current , transition=easing.inOutExpo})
transition.to(displayScore, {time = 1000, y = y-50 , transition=easing.inOutExpo , })
transition.scale(displayScore, {time = 1000, y = y-50 , transition=easing.inOutExpo })
end
[code]
[import]uid: 7382 topic_id: 12174 reply_id: 312174[/import]

[import]uid: 52491 topic_id: 12174 reply_id: 44406[/import]