Skip to content

Commit ecfbea8

Browse files
committed
Updated change log.
1 parent 6906e6b commit ecfbea8

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

CHANGELOG.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
### Input System New Features + Updates
66

7+
* All Input classes are now covered 100% by JSDocs.
78
* The Input Manager and Input Plugin have been updated to support multiple simultaneous Pointers. Before, only one active pointer (mouse or touch) was supported. Now, you can have as many active pointers as you need, allowing for complex mulit-touch games. These are stored in the Input Manager `pointers` array.
89
* InputManager.addPointer allows you to add one, or more, new pointers to the Input Manager. There is no hard-coded limit to the amount you can have, although realistically you should never need more than 10. InputPlugin.addPointer is an alias for this method, allowing you to use `this.input.addPointer` from your game code.
910
* InputManager.pointersTotal contains the total number of active pointers, which can be set in the Game Config using the `input.activePointers` property.
@@ -17,11 +18,13 @@
1718
* InputManager.updatePointer is a new internal method, called automatically by the update loop, that handles touch move events.
1819
* InputManager.stopPointer is a new internal method, called automatically by the update loop, that handles touch end events.
1920
* InputManager.hitTest has had its arguments changed. It no longer takes x/y properties as the first two arguments, but instead takes a Pointer object (from which the x/y coordinates are extracted).
20-
21-
2221
* TouchManager.handler has been removed as it's no longer used internally.
2322
* TouchManager.onTouchStart, onTouchMove and onTouchEnd are the new DOM Touch Event handlers. They pass the events on to the InputManagers `queueTouchStart`, `queueTouchMove` and `queueTouchEnd` methods respectively.
24-
23+
* MouseManager.handler has been removed as it's no longer used internally.
24+
* MouseManager.onMouseDown, onMouseMove and onMouseUp are the new DOM Mouse Event handlers. They pass the events on to the InputManagers `queueMouseDown`, `queueMouseMove` and `queueMouseUp` methods respectively.
25+
* Setting `enabled` to false on either the TouchManager or MouseManager will prevent it from handling any native DOM events until you set it back again.
26+
* InputPlugin has the following new read-only properties: `mousePointer`, `pointer1`, `pointer2`, `pointer3`, `pointer4`, `pointer5`, `pointer6`, `pointer7`, `pointer8`, `pointer9` and `pointer10`. Most of these will be undefined unless you call `addPointer` first.
27+
* InputManager has a new method `transformPointer` which will set the transformed x and y properties of a Pointer in one call, rather than the 2 calls it took before. This is now used by all Pointer event handlers.
2528

2629
### Arcade Physics New Features + Updates
2730

@@ -76,12 +79,9 @@
7679

7780
### Examples, Documentation and TypeScript
7881

79-
Thanks to the work of @hexus we have now documented nearly all of the Math namespace. This is hundreds of functions now covered by full docs and is work we'll continue in the coming weeks.
80-
81-
82-
83-
82+
Thanks to the work of @hexus we have now documented all of the Math namespace and made good progress on the Game Objects.
8483

84+
I personally have also documented the entire Input system, which was 328 classes, properties and methods to describe.
8585

8686
## Version 3.9.0 - Yui - 24th May 2018
8787

0 commit comments

Comments
 (0)