Proper way to offset camera?
![machinegunkelly](http://forums.gamesalad.com/applications/dashboard/design/images/defaulticon.png)
I have an actor that needs to be further back than the center of the screen, ideally 100px or so from the left side.
I have created a camera anchor actor and set that actor to control the camera.
I have the anchors position as an attribute, and my actor is offset from the anchor by calling the placement attribute - 300PX
I've read this is the way to do it, but now my animation is choppy as all heck
and really, the results are unusable....
is there a better way to do this?
I have created a camera anchor actor and set that actor to control the camera.
I have the anchors position as an attribute, and my actor is offset from the anchor by calling the placement attribute - 300PX
I've read this is the way to do it, but now my animation is choppy as all heck
![:( :(](http://forums.gamesalad.com/plugins/emojiextender/emoji/twitter/frown.png)
is there a better way to do this?
Answers
It's 100% caused by the offset actor, because as soon as I change the constraint to the camera offset actor, the jitter is gone.
I've read I can constrain to the camera, but that means creating a new instance for each of my FIFTY levels, and it's not practical to do that at all... so I refuse to.
Is there anyone that has a hint or two for me to straighten this camera issue out ? it seems to be a well documented bug, with many just lost as I am....
This is a complete drag
I mean it animates smooth now, but it's unreasonable IMO to have to unlock, and create 50 instances for something that should be so simple...
I even tried creating the offset rule via a separate actor, so I could leave my main character alone, but that produces jitter effects aswell, the only way I can see to do this is unlock my main character and create a total logic nightmare should I decide anything needs changing
http://arcade.gamesalad.com/game/3265
Nah, that's what let me to this mess... it was WAY too jittery to use this method.
While it looked great on my computer, once I loaded on to my phone it was a real disappointing nightmare.
the irritation here is that I've fully separated my logic from my scenes, so I can just build a level, drop my character in and all is said and done, however.... it's not going as planned now that I'm up to my neck in this game.
@orbz
I'll check your demo out, I actually just came across that example, while searching my problem.... but it's asking me to install the GS plugin, I do, and restart my browser and it askes me to install the GS plugin!!!
FUUUUUUU!!!! gonna be one of those days I guess hahahah
i'd "accept" your answer if I could now, but the problem was actually caused by me "spawning" the two actors... if I spawn them on level start, it's jittery as all heck.
if I have them in the scene, it works fine.... which is bothersome, but I can deal with it I guess...
@ORBZ
I tried to find the template, but the gamesalad showcase inside the creator wouldn't work at all..
like I said, one of those days