Noob question about the player following the screen

Hi there,

I am new to Corona but a long time game salad user.

Im having the hardest time trying to figure out how to move the screen with the player. Im sure this is really easy. In game salad you move the camera, Im thinking that it isn’t the same with Corona.

Anyway my line of thinking is

if ship.x \> 420 then  
--ship follows camera  
end  

Im sure this is really simple and I can’t find a good tutorial on this that doesn’t use maps. Should I be adding a map?

Thanks in advance.

[import]uid: 83863 topic_id: 16917 reply_id: 316917[/import]

it’s all about how you think caveman…

there is no camera… (adapted from the Matrix)

if you keep the ship fixed in the centre of the screen and move the background, that is one way of the player moving with the camera.

so, give the issue as hand a thought…a little differently

cheers,

?:slight_smile: [import]uid: 3826 topic_id: 16917 reply_id: 63487[/import]