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
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -114,6 +114,8 @@ supported via a non-exported reused wrapper object; WheelEventProxy.
114
114
The proxy methods are generated one-time dynamically but only when needed.
115
115
* Key.justDown allows you to test if a Key has just been pressed down or not. You can only call justDown once per key press. It will only return `true` once, until the Key is released and pressed down again. This allows you to use it in situations where you want to check if this key is down without using a Signal, such as in a core game loop (thanks @pjbaron#1321)
116
116
* Key.justUp allows you to test if a Key has just been released or not. You can only call justUp once per key press. It will only return `true` once, until the Key is pressed down and released again. This allows you to use it in situations where you want to check if this key is up without using a Signal, such as in a core game loop (thanks @pjbaron#1321)
117
+
* Device.whenReady is a new signal that you can use to tell when the device is initialised.
118
+
* Device.onInitialized is dispatched after device initialization occurs but before any of the ready callbacks have been invoked. Local "patching" for a particular device can/should be done in this event.
117
119
118
120
### Updates
119
121
@@ -151,6 +153,7 @@ The proxy methods are generated one-time dynamically but only when needed.
151
153
* Phaser.DOM now houses new DOM functions. Some have been moved over from ScaleManager as appropriate.
152
154
* Key.justPressed has bee renamed to Key.downDuration which is a much clearer name for what the method actually does. See Key.justDown for a nice clean alternative.
153
155
* Key.justReleased has bee renamed to Key.upDuration which is a much clearer name for what the method actually does. See Key.justUp for a nice clean alternative.
156
+
* The Phaser.Device class has been made into a singleton and removed it's dependancy on Phaser.Game (thanks @pnstickne#1328)
154
157
155
158
### Bug Fixes
156
159
@@ -172,6 +175,7 @@ The proxy methods are generated one-time dynamically but only when needed.
172
175
* Only one of the mouse wheel events is listened to, newest standard first.
173
176
This fixes a bug in FF where it would use the default DOMMouseWheel (thanks @pnstickne#1313)
174
177
* Stage.smoothed needed to modify the value of PIXI.scaleMode.DEFAULT instead of PIXI.scaleMode.LINEAR (thanks @pixelpicosean#1322)
178
+
* Newly created Groups always had zero z index (thanks @spayton#1291)
0 commit comments