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

1
2
3
if ship.x > 420 then
--ship follows camera
end

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,

?:)

views:1383 update:2011/10/26 17:27:57
corona forums © 2003-2011