When the camera moves up, the actor does ?
How can i make the actor move up when the camera does, but i don't want it to be like HUD, putting things on Non scrollable layers.
I want it to move using something like 'move' or 'interpolate'
Is there anyway to do this ?
so when the camera moves up '1' the actor moves up '1'
thanks
JamieOneil
I want it to move using something like 'move' or 'interpolate'
Is there anyway to do this ?
so when the camera moves up '1' the actor moves up '1'
thanks
JamieOneil
Comments
Or are you talking about another actor that is not controlling the camera? In that case
Make an attribute called CameraPosY (make this real otherwise the movement can be jerky if its an integer)
constrain CameraPosY to the controlling actor's PosY.
Then the (Non camera controlling) actor you want to move up with the camera:
Set PosY to CameraPosY
and that should make him move up with the camera.
But why not just make the tracking area 0x0 and set the player to control the camera. the player still goes in a scrollable layer
I can't use camera control because there is another actor (the player) using it.
This is just a spawned, but it has an image. So if I put it on a non actionable layer for it to move up, then then actors spawn below it because the XY don't change on a non scrollable.