Info about scrolling a background

Hi, a new day… a new question.

If possible, I would like to know if with current Corona version
is possible to make a scrolling line in Monkey Island

This is the YT link
http://www.youtube.com/watch?v=YPElfbumRsk

As you can see from 2:00 the background scroll on right.

Obviusly there is a big picture (maybe 1200 x 320 ) and there is a mask (like flash) to hide (or show) a piece of background.

I would like to know if is possible with Corona…
and sorry about queston but here in Italy are the 3 a.m…
and maybe it’s time to go to sleep :slight_smile:

Best Ale [import]uid: 940 topic_id: 136 reply_id: 300136[/import]

this is far from perfect code, not polished, put together in a matter of seconds, so i apologize ahead of time. this is so that you can get an idea that you can do it. find an image that is wide enough and that should get you going for now.
local image = display.newImage(“img.png”,0,0);
local button = display.newRect(0,460,20,20);
button:setFillColor(255,0,0);
function button:tap(event)
transition.to(image, { y= image.y-50})
end
button:addEventListener(“tap”,button);
[import]uid: 24 topic_id: 136 reply_id: 121[/import]

Thanks… it works :slight_smile:
[import]uid: 940 topic_id: 136 reply_id: 122[/import]