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
Copy file name to clipboardExpand all lines: README.md
+13Lines changed: 13 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -81,6 +81,8 @@ Version 2.1.4 - "Bethal" - in development
81
81
* Phaser.Color.valueToColor converts a value: a "hex" string, a "CSS 'web' string", or a number - into red, green, blue, and alpha components (thanks @pnstickne#1264)
82
82
* Stage.backgroundColor now supports CSS 'rgba' values, as well as hex strings and hex numbers (thanks @pnstickne#1234)
83
83
* Pointer.addClickTrampoline now adds in support for click trampolines. These raise pointer events into click events, which are required internally for a few edge cases like IE11 full screen mode support, but are also useful if you know you specifically need a DOM click event from a pointer (thanks @pnstickne#1282)
84
+
* Point.floor will Math.floor both the `x` and `y` values of the Point.
85
+
* Point.ceil will Math.ceil both the `x` and `y` values of the Point.
84
86
85
87
### Updates
86
88
@@ -103,6 +105,16 @@ Version 2.1.4 - "Bethal" - in development
103
105
* Updated documentation for specificty; added @public\@protected
104
106
*@deprecated currentPointers due to odd set pattern; totalCurrentPointers is more appropriate.
105
107
(thanks @pnstickne#1283)
108
+
* Various ScaleManager fixes and updates:
109
+
* Scale modes can now be set independently
110
+
* Switching between fullscreen and normal correctly restores modes
111
+
* Alignment does not incorrectly offset in fullscreen mode (#1255)
* NO_SCALE should not not scale (vs previous behavior of having no behavior)
116
+
* Correct usage of scaleMode depending on mode
117
+
(thanks @pnstickne)
106
118
107
119
### Bug Fixes
108
120
@@ -115,6 +127,7 @@ Version 2.1.4 - "Bethal" - in development
115
127
* Setting Key.enabled = false while it is down did not reset the isDown state (thanks @pnstickne#1190#1271)
116
128
* The Gamepad.addCallbacks context parameter was never actually remembered, causing the callbacks to run in the wrong context (thanks @englercj#1285)
117
129
* Animation.setFrame used the wrong frames array if `useLocalFrameIndex` was `false` and a numeric frame ID was given (thanks @Skeptron#1284)
130
+
* Fullscreen mode in IE11 now works (thanks @pnstickne)
118
131
119
132
120
133
For details about changes made in previous versions of Phaser see the full Change Log at https://github.com/photonstorm/phaser/blob/master/CHANGELOG.md
0 commit comments