You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Added camera.follow_offset()
* Added check that the follow target exists
Additional changes:
* Moved message constants to camera.
* Removed support for old message signature of camera.follow()
* Added basic example of camera bounds
If following a game object this will add a deadzone around the camera position where the camera position will not update. If the target moves to the edge of the deadzone the camera will start to follow until the target returns within the bounds of the deadzone.
252
262
@@ -257,6 +267,7 @@ If following a game object this will add a deadzone around the camera position w
257
267
*`right` (number) - Number of pixels to the right of the camera
258
268
*`bottom` (number) - Number of pixels below the camera
0 commit comments