Skip to content

Commit 1b9f5dc

Browse files
committed
Updated change log
1 parent 25e4993 commit 1b9f5dc

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,13 @@
44

55
### New Features
66

7+
* `Camera.resolution` is a new read-only property that holds the current game config resolution that the camera is using. This is used internally for viewport calculations.
8+
79
### Updates
810

11+
* `Camera.x` and `Camera.y` have been turned into getters / setters, mapped to the internal private values `_x` and `_y` respectively. This is so that setting the Camera viewport position directly will now update the new internal resolution calculation vars too.
12+
* `Camera.setScene` will now set the Cameras `resolution` property at the same time and update the internal viewport vars.
13+
914
### Bug Fixes
1015

1116
* If an AudioFile failed to load and throw an incomplete error, it would cause the console.log to crash JavaScript when trying to log the error. It now only logs the message if it exists. Fix #3830 (thanks @kelostrada)

0 commit comments

Comments
 (0)