Going to Level 2

Non-platform specific questions.

Going to Level 2

Postby The achievement » Wed Mar 01, 2006 11:10 pm

Ok if i put a flag at the end of the level 1 right, and i want the main actor to hit the flag and teleport to level 2 would i do MAIN ACTOR-> Collision->script editor-> (view.x = player.x; view.y = player.y;:
User avatar
The achievement
 
Posts: 220
Joined: Sun Feb 12, 2006 11:01 pm
Location: United States,Massachusetts
Score: 0 Give a positive score

Postby Novice » Thu Mar 02, 2006 9:52 am

If your player is teleported somwhere, yes. But if not it will just move the view to the players current position. If the later is the case use something like
Code: Select all
view.x=800;//use your coordinates
view.y=600;
player.x=1200;
player.y=900;
This should move the player as well as the view.
Why do i always get stuck?
User avatar
Novice
 
Posts: 399
Joined: Mon Aug 29, 2005 10:54 am
Location: Relative
Score: 5 Give a positive score


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest

cron