Setting view area on large "map"

How do you tell Corona to display a particular portion of a large graphic? For example, if the background is larger than the screen size then Corona starts by displaying the portion of the background corresponding to an upper left corner coordinate of 0,0… as expected. But how do you tell Corona to then pan (i.e., move the “camera”)to another portion of the background… with, for example, an upper left corner of (600, 500)?

Thanks,
Tim [import]uid: 16901 topic_id: 11300 reply_id: 311300[/import]

You will need to move your background object.

Assuming it is called “background” then try something like this:

[code]

transition.to( background, { time = 1000, x = 500, y = 600 } )
[/code] [import]uid: 5833 topic_id: 11300 reply_id: 41039[/import]

Actually, in the opposite direction. x = -500 + background.width, y = -600 + background.height [import]uid: 58303 topic_id: 11300 reply_id: 41332[/import]

Whoops, good point. [import]uid: 5833 topic_id: 11300 reply_id: 41696[/import]