Making the view follow actor 3 - built in tutorial problem

Non-platform specific questions.

Making the view follow actor 3 - built in tutorial problem

Postby unknown24 » Tue Aug 06, 2013 4:13 pm

I want to make view follow actor 3 like built in tutorial, but in the middle tutorial the mouse show wrong click, i can't get the script of collision with player after create stop_right & stop_left actor, what is this script?
unknown24
 
Posts: 15
Joined: Fri Jul 19, 2013 4:25 pm
Score: 0 Give a positive score

Re: Making the view follow actor 3 - built in tutorial probl

Postby skydereign » Tue Aug 06, 2013 5:57 pm

The method that tutorial uses is just to move the view the same speed the player moves.
player -> Collision stop_right -> Script Editor
Code: Select all
view.x = view.x + 5;

Same code goes in the collision with stop_left, but change the plus to a minus. If you want to see the final versions of any tutorial you can load the ged files in game-editor-directory/Tutorials.
User avatar
skydereign
 
Posts: 3510
Joined: Mon Jul 28, 2008 8:29 am
Score: 589 Give a positive score

Re: Making the view follow actor 3 - built in tutorial probl

Postby unknown24 » Fri Aug 09, 2013 12:00 am

thanks, skyderereign you help me again,,
unknown24
 
Posts: 15
Joined: Fri Jul 19, 2013 4:25 pm
Score: 0 Give a positive score


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest

cron