Page 1 of 1

view moving by itself

PostPosted: Tue Apr 04, 2006 7:16 pm
by The achievement
hi guys, i am making a game that is a side scroller, how do i make the view just keep on moving?

Do i just do xvelocity=1?

Or can i just do x=1?

PostPosted: Tue Apr 04, 2006 7:21 pm
by frodo
to go right:
creat actor:
xvvelocity=+1;

to go left:
create actor:

xvelocity=-1;

PostPosted: Tue Apr 04, 2006 11:31 pm
by DilloDude
If you want it to stop moving (eg at the end of the level) use a wire-frame region at the end for it to collide with (xvelocity=0). If you want its yvelocity to change as well, you could just use paths. You probably want wire-frame regions around the view to stop your player walking out of it.