How to track my actor starting from the left side of the screen?
boodo17
Member Posts: 5
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 |
-----------------------------------------------
----------------------------------------------
| |
| ----- |
| | | |
| | | |
| | | |
| | | |
| | | |
| |----- | |
| starting from here not the middle |
-----------------------------------------------
Answers
My GameSalad Academy Courses! ◦ Check out my quality templates! ◦ Add me on Skype: braydon_sfx
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.
My GameSalad Academy Courses! ◦ Check out my quality templates! ◦ Add me on Skype: braydon_sfx
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
✮ FREE templates at GSinvention ✮
✮ Available for hire! support@gsinvention.com ✮
Darren.
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.
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
Perhaps this older discussion will help:
http://forums.gamesalad.com/discussion/39370/camera-question