How to track my actor starting from the left side of the screen?

Hi, I want to track my moving actor from starting from the left side of the screen not from the middle. How can i do it?
----------------------------------------------
| |
| ----- |
| | | |
| | | |
| | | |
| | | |
| | | |
| |----- | |
| starting from here not the middle |
-----------------------------------------------

Answers

  • Braydon_SFXBraydon_SFX Member, Sous Chef, Bowlboy Sidekick Posts: 9,273
    Hm. Not sure I understand your question. Can you supply more information? A short video? Pic?

  • boodo17boodo17 Member Posts: 5
    how can i post a pic?
  • Braydon_SFXBraydon_SFX Member, Sous Chef, Bowlboy Sidekick Posts: 9,273
    "How do I share screenshots, videos, or project files?"
    To post an image, first upload it to a file-sharing service and then embed the URL with the following code (without the $ symbol): <$img src=”URL”>

    To post a video, upload it to YouTube and then post the YouTube video link.
  • -Timo--Timo- Member Posts: 2,313
    make a actor and make it alpha 0. place it in the middle and put a behavior in it called control camera. (and also the behavior move or accelerate or something like that)
    place your 'moving actor' on the place where you want...
    in the layers you put the 'moving actor' in a not scrolling layer and the camera in a scrolling layer.
    in the upper left corner on the screen your working on there is a mouse and a camera.
    click on the camera and move the yellow to the size you want (when the camera tried to go out of the yellow the scene will move with the camera, so I think you want to have it the smallest possible)
    hope I explained enough ;) good luck
  • boodo17boodo17 Member Posts: 5
    edited July 2013
    Here's a screenshot
    https://www.dropbox.com/s/tvt47rugxikkrjn/Screen Shot 2013-07-02 at 10.34.28 PM.png


    As you can see he cannot be tracked unless he reaches the middle. I want the camera to start tracking him from the position he is in right now.
  • boodo17boodo17 Member Posts: 5
    edited July 2013
    https://www.dropbox.com/s/tvt47rugxikkrjn/Screen Shot 2013-07-02 at 10.34.28 PM.png

    As you can see, the camera will only start tracking the actor once he reaches the middle of the screen. How can I move the tracking area itself to the far left where the actor is standing so it starts tracking him instantly when he starts moving?

    Darren has posted a video which deals with a similar issue but, the difference is that in the video, he's got a scene.camera.origin.x attribute which is found under the scene attributes tab but i can't insert it into rules because it is not visible.

    Please help
  • RThurmanRThurman Member, Sous Chef, PRO Posts: 2,881
    edited July 2013
    Merged the threads. (Please don't make multiple threads for the same question.)

    Perhaps this older discussion will help:
    http://forums.gamesalad.com/discussion/39370/camera-question
Sign In or Register to comment.