camera control question

CaptFinnCaptFinn Member Posts: 1,828

I have a invisible actor that i want to use as a "tour guide" actor. Before the player starts the level. The invisible actor travels down the X from start to end of the level. This gives the player a quick tour of the level before he starts. Then the actor comes back.
I gave this tour actor control of the camera.

if X 640
after 4 secs
interp to x1920

when at x1920
after 3 secs
interp to x630

when x is 630

change tour boolean from false to true

Then in the hero actor

when tour is true
control camera.

Then the player starts to play.

But when the actor starts interp from 640 to 1920. it doesnt take the camera with it.

Is this a interp problem. Or should i use "move to"

Comments

  • CaptFinnCaptFinn Member Posts: 1,828

    I even tried Move to instead of interp. still wont work.

  • CaptFinnCaptFinn Member Posts: 1,828

    NEVERMIND hahahaha. actor wasnt in a scrollable position. hurby dur

  • jamie_cjamie_c ImagineLabs.rocks Member, PRO Posts: 5,772

    @FINNBOGG, sounds like your method is working fine now but just FYI, you can also manipulate the X and Y locations of the camera directly and move it around instead of having it follow and actor if you'd like.

  • CaptFinnCaptFinn Member Posts: 1,828

    Well hell!?!?!??!?!!!!!!!!!!!!!!!!

  • MentalDonkeyGamesMentalDonkeyGames Member Posts: 1,276
    edited July 2015

    @FINNBOGG to do what @jamie_c said, you need to unlock an actor. (double click an actor on the scene).
    Then you can access the scene attributes.

    You would still need a new actor to do so. I don´t recommend unlocking just any random actors.

    I only unlock actors when i absolutely need to, because it is extremely easy to brake your game if your not careful with what you do.

  • jamie_cjamie_c ImagineLabs.rocks Member, PRO Posts: 5,772

    @NipaDidIt, agreed. I always make a specific 'control' actor to do things like that.

Sign In or Register to comment.