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
+7-4Lines changed: 7 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -102,12 +102,15 @@ Version 1.0.7 (in progress in the dev branch)
102
102
* Group.create now sets the visible and alive properties of the Sprite to the same value as the 'exists' parameter.
103
103
* Added Group.total. Same as Group.length, but more in line with the rest of the Group naming.
104
104
* Added Sprite.outOfBoundsKill boolean flag. Will automatically kill a sprite that leaves the game World bounds (off by default).
105
-
* ArcadePhysics.moveTowardsMouse changed to ArcadePhysics.moveTowardsPointer and now lets you specify which pointer to move towards (defaults to Input.activePointer).
106
-
* ArcadePhysics.angleBetweenMouse changed to ArcadePhysics.angleBetweenPointer and now lets you specify which pointer to get the angle to (defaults to Input.activePointer).
107
-
* ArcadePhysics.velocityFromAngle and ArcadePhysics.velocityFromRotation added with examples created.
105
+
* Lots of changes and fixes in ArcadePhysics, including:
106
+
* Functions with "mouse" in the title have been updated to "pointer" to more accurately reflect what they do.
107
+
* New velocity functions: moveToObject, moveToPointer, moveToXY
108
+
* New acceleration functions: accelerateToObject, accelerateToPointer, accelerateToXY
109
+
* New distance functions: distanceBetween, distanceToXY, distanceToPointer
110
+
* New angle functions: angleBetween, angleToXY, angleToPointer
111
+
* velocityFromAngle and velocityFromRotation added with examples created.
108
112
* Fixed the RandomDataGenerator.sow method so if you give in the same seed you'll now get the same results (thanks Hsaka)
109
113
110
-
111
114
* TODO: look at Sprite.crop (http://www.html5gamedevs.com/topic/1617-error-in-spritecrop/)
112
115
* TODO: d-pad example (http://www.html5gamedevs.com/topic/1574-gameinputondown-question/)
113
116
* TODO: more touch input examples (http://www.html5gamedevs.com/topic/1556-mobile-touch-event/)
0 commit comments