off screen follow
SingleSparq
Member Posts: 1,339
in this demo:
http://gamesalad.com/game/play/27651
You click the triangle actor then click a screen position to have it follow to your and works well in this 480 x 320 scene size.
But if I were to increase the width of the scene to 1000 and introduce an actor that the camera follows with left/right key movement then try the "click triangle/click to a position" outside the original 480 x 320 scene it will not follow. It seems establish that 480 x 320 it starts with is only where the X/Y co-ordinates can work and not 1000 x 320 - is there a way to do this?
http://gamesalad.com/game/play/27651
You click the triangle actor then click a screen position to have it follow to your and works well in this 480 x 320 scene size.
But if I were to increase the width of the scene to 1000 and introduce an actor that the camera follows with left/right key movement then try the "click triangle/click to a position" outside the original 480 x 320 scene it will not follow. It seems establish that 480 x 320 it starts with is only where the X/Y co-ordinates can work and not 1000 x 320 - is there a way to do this?
Comments
EDIT: Though if mouse positioning works in that way then you shouldn't be able to constrain an actor to it outside of the default scene bounds... so I don't know.
I will chime in tomorrow if I find a solution or not. Thanks again.
http://gamesalad.com/game/play/30323