moving smoothly

the19thbearthe19thbear Member Posts: 102
edited November -1 in Working with GS (Mac)
I have a screen that is 960x480 so i have 3 different screens i can move to and from (960 divided by 3 is 320:) - lets call the first screenlocation, screen 0, the second screen location screen 1 and the third screen location screen 2.
-I have created an actor called camera and applied the "control camera" behaviour.
i have made an attribute (called scroll) with 3 differet options. (0, 1, 2)
if 0= actor camera, move to to 160x240 (the middle of screen 0)
if 1= actor camera, move to 480x240 (middle of screen1)
if 2= actor camera, move to 800x240 (middle of screen 2).

this is controlled by buttons that change the different values in the scroll attribute.

the problem: whenever i go from screen 0 or screen 2 to screen 2 - the stopping at screen 1(the middle screen) isnt smooth. it stop a bit to late, and for a split second, i can see the edge of the other screen, and then it changes to where it should be... really annoying! maybe i should apply some acceleration/slowing down somehow?? would that help?
thanks alot!
Sign In or Register to comment.