Game Development Community

Camera Reposition Error

by CharlesL · in iTorque 2D · 01/03/2012 (11:52 am) · 2 replies

I've been having this problem when using iTorque 2D. If I reposition the camera and press play, then exit, iTGB repositions the camera to the default position. I'm not sure if this is an error on my part, or if its a bug.
Note: I tested this on multiple files and blank scenes

Any help would be appreciated.
Thanks,
-CharlesL

[iTorque 2D on Mac OSX]

#1
01/03/2012 (6:43 pm)
You can use scenewindow2D.setCurrentCameraPosition to position the camera in script.

docs.garagegames.com/it2d/official/content/documentation/Reference/t2dSceneWindo...
#2
01/04/2012 (12:06 pm)
OK, thanks.