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
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -151,13 +151,13 @@ Version 1.1
151
151
* Added Rectangle.floorAll to floor all values in a Rectangle (x, y, width and height).
152
152
* Fixed Sound.resume so it now correctly resumes playback from the point it was paused (fixes issue 51, thanks Yora).
153
153
* Sprite.loadTexture now works correctly with static images, RenderTextures and Animations.
154
-
154
+
* Lots of fixes within Sprite.bounds. The bounds is now correct regardless of rotation, anchor or scale of the Sprite or any of its parent objects.
155
+
* On a busy page it's possible for the game to boot with an incorrect stage offset x/y which can cause input events to be calculated wrong. A new property has been added to Stage to combat this issue: Stage.checkOffsetInterval. By default it will check the canvas offset every 2500ms and adjust it accordingly. You can set the value to 'false' to disable the check entirely, or set a higher or lower value. We recommend that you get the value quite low during your games preloader, but once the game has fully loaded hopefully the containing page will have settled down, so it's probably safe to disable the check entirely.
156
+
* Pixel Perfect click detection now works even if the Sprite is part of a texture atlas.
155
157
156
158
Outstanding Tasks
157
159
-----------------
158
160
159
-
* BUG: The pixel perfect click check doesn't work if the sprite is part of a texture atlas yet.
160
-
* TODO: look at Sprite.crop (http://www.html5gamedevs.com/topic/1617-error-in-spritecrop/)
161
161
* TODO: d-pad example (http://www.html5gamedevs.com/topic/1574-gameinputondown-question/)
162
162
* TODO: more touch input examples (http://www.html5gamedevs.com/topic/1556-mobile-touch-event/)
0 commit comments