Hi everyone!
I am looking for a way to display a set of images as a showcase. Let me explain.
Given a set of images, I want to display one of them, and with a timer, dissolve the image into another one… let’s say similarly to a slideshow (à la iPhoto), but without the fullscreen display.
I’ve tried the following (I am using the Director library):
showCase = display.newImage(contents.levelThumbs[#contents.levelThumbs])
showCase.x = 600
showCase.y = 300
theScreen:insert(showCase) -- Director class
rotTimer = timer.performWithDelay(2000, rotateImages, 0)
and the function is this:
local rotateImages = function()
print("rotate!")
local pastCase = showCase
showCase = display.newImage(contents.levelThumbs[#contents.levelThumbs])
showCase.x = 600
showCase.y = 300
transition.dissolve(pastCase, showCase, 500, 0)
end
But it doesn’t work. I never succeeded in using transitions, so I am obviously doing something wrong.
Can somebody help me?
Thanks & Cheers! [import]uid: 94362 topic_id: 22913 reply_id: 322913[/import]

[import]uid: 94362 topic_id: 22913 reply_id: 91951[/import]