Richard Davey
|
84522136d0
|
We can now use the locked property and don't need to add to the movement values every frame. Fix #4611
|
2019-07-08 14:59:06 +01:00 |
|
Richard Davey
|
af37728e31
|
Added onPointerLockChange handler.
|
2019-07-08 13:29:50 +01:00 |
|
Richard Davey
|
254f3843e5
|
Added locked property.
|
2019-07-08 13:29:39 +01:00 |
|
Richard Davey
|
c7e2fbb31c
|
Calling input.mouse.requestPointerLock() will no longer throw an error about being unable to push to the Input Manager events queue. #4611
|
2019-07-08 13:27:46 +01:00 |
|
Richard Davey
|
14a6864f21
|
If you called Scene.destroy within a Game Object pointerdown or pointerup handler, it would cause the error "Cannot read property 'game' of null" if the event wasn't cancelled in your handler. It now checks if the manager is still there before accessing its property. Fix #4436
|
2019-06-27 01:13:27 +01:00 |
|
Richard Davey
|
839e298c4e
|
Pointer.getDuration would return a negative / static value on desktop, or NaN on mobile, because the base time wasn't being pulled in from the Input Manager properly. Fix #4612
|
2019-06-24 10:58:44 +01:00 |
|
Rex
|
16a038674f
|
Set customHitArea to false if shape is not defined
In setHitArea method, use setHitAreaFromTexture if shape is undefined. Suppose that it is not a case of `customHitArea`
|
2019-06-22 09:37:49 +08:00 |
|
Richard Davey
|
6004237d37
|
Get the correct time value
|
2019-06-20 09:58:59 +01:00 |
|
Richard Davey
|
8837cb3fd1
|
JSDocs fix
|
2019-06-20 09:58:48 +01:00 |
|
Richard Davey
|
8fe4b37a94
|
JSDoc fix
|
2019-06-19 15:52:08 +01:00 |
|
Richard Davey
|
1676f22360
|
Automatically handle the drag values in rotated containers
|
2019-06-19 10:41:48 +01:00 |
|
Richard Davey
|
4a91b1e560
|
Added dragStartXGlobal and dragStartYGlobal properties
|
2019-06-19 10:41:26 +01:00 |
|
Richard Davey
|
0791ae10d2
|
Added button property and methods for leftButtonReleased, rightButtonReleased and so on.
|
2019-06-12 11:19:00 +01:00 |
|
Richard Davey
|
9327351e86
|
Added deltaX, Y, Z and wheel method.
|
2019-06-05 15:31:25 +01:00 |
|
Richard Davey
|
98be6adfda
|
Native support for wheel events
|
2019-06-05 15:31:13 +01:00 |
|
Richard Davey
|
62cb5c68a8
|
Added 3 new Wheel input events
|
2019-06-05 15:30:54 +01:00 |
|
Richard Davey
|
700c9daaa1
|
New input const (and changed order to be numeric order)
|
2019-06-05 15:30:42 +01:00 |
|
Richard Davey
|
af3efc9e2f
|
Added more docs to make #4575 clearer
|
2019-06-05 14:08:01 +01:00 |
|
Richard Davey
|
4ed0f90bf7
|
Merged touch handler methods into one
|
2019-06-04 18:54:35 +01:00 |
|
Richard Davey
|
befbc788a3
|
Added new TouchCancelWindow handler
|
2019-06-04 18:54:00 +01:00 |
|
Richard Davey
|
15654be545
|
update motion automatically
|
2019-06-04 18:53:48 +01:00 |
|
Richard Davey
|
7f2feea4ae
|
All the touch handlers now store the full TouchEvent, not just the Touch List entry
|
2019-06-04 15:46:16 +01:00 |
|
Richard Davey
|
bf48c53103
|
Added new over and out handlers for touch events
|
2019-06-04 15:43:02 +01:00 |
|
Richard Davey
|
9b93ad9985
|
Removed changed pointers IIFE and un-needed method methods
|
2019-06-04 15:40:05 +01:00 |
|
Richard Davey
|
78d15b0b0f
|
Fixed arguments
|
2019-05-28 21:41:04 +01:00 |
|
Richard Davey
|
3c52a3b27a
|
Pass the pointers array in directly, no need to iterate them all every time
|
2019-05-28 21:31:54 +01:00 |
|
Richard Davey
|
d87cb43a7f
|
Removed touch limit on over/out
|
2019-05-28 17:26:31 +01:00 |
|
Richard Davey
|
e12002bf74
|
Use a switch instead
|
2019-05-28 17:21:40 +01:00 |
|
Richard Davey
|
520e2e621f
|
Catch poll zero
|
2019-05-28 17:08:30 +01:00 |
|
Richard Davey
|
95f69bbd9e
|
Split the drag method up into different parts, removed un-used properties and tided up the loop
|
2019-05-28 16:58:52 +01:00 |
|
Richard Davey
|
7142319f24
|
Removed un-used methods and properties
|
2019-05-28 16:58:31 +01:00 |
|
Richard Davey
|
094541d968
|
Removed dirty and just properties as no longer required, also removed reset method
|
2019-05-28 16:57:08 +01:00 |
|
Richard Davey
|
961e858cbf
|
Working through making the Input system DOM responsive and not reliant on the game step
|
2019-05-24 19:30:13 +01:00 |
|
Richard Davey
|
9a2b8b966d
|
Use getFrame
|
2019-05-24 15:28:38 +01:00 |
|
Richard Davey
|
7073f39a19
|
Removed all of the DOM Callbacks, input queue and legacy input handling. Renamed methods from 'queue' to 'on' and tidied up internal content
|
2019-05-23 17:19:30 +01:00 |
|
Richard Davey
|
1d1c4e6543
|
Removed all input queue elements
|
2019-05-23 17:19:03 +01:00 |
|
Richard Davey
|
186887c920
|
Added lastAction property and self-invoke the reset method
|
2019-05-23 17:18:49 +01:00 |
|
Richard Davey
|
81c1ced2c1
|
Event Managers now have clearer handlers that check enabled directly
|
2019-05-23 17:18:16 +01:00 |
|
Richard Davey
|
c91ed91ce3
|
License link update
|
2019-05-10 16:15:04 +01:00 |
|
Richard Davey
|
1dca2c2c8a
|
Scenes Types
|
2019-05-09 12:37:37 +01:00 |
|
Richard Davey
|
53ac066d25
|
More Input Types
|
2019-05-09 12:03:36 +01:00 |
|
Richard Davey
|
290389c4ae
|
Input Types
|
2019-05-09 12:02:03 +01:00 |
|
Richard Davey
|
95eb4fc03d
|
Setting pixelPerfect when input enabling a Container would cause it to crash, because Container's don't have a texture to check. It will now throw a run-time warning and skip the Container for input. You should use a custom input callback instead. Fix #4492
|
2019-04-26 10:56:06 +01:00 |
|
Richard Davey
|
64532d8d7b
|
InputPlugin.clear has a new argument skipQueue which is used to avoid clearing a Game Object twice. This, combined with the fix for 4463 means you will no longer get a Cannot read property 'dragState' error if you destroy a Game Object enabled for drag where another draggable object exists. Fix #4228
|
2019-04-24 13:38:40 +01:00 |
|
Richard Davey
|
00dbf8b03e
|
Destroying a Game object during its pointerup event handler on a touch device will no longer cause Uncaught TypeError: Cannot read property 'localX' of undefined . All InputPlugin process handlers now check to see if the Game Object has been destroyed at any stage and abort if it has. Fix #4463
|
2019-04-24 12:54:56 +01:00 |
|
Richard Davey
|
507bb6a215
|
Added customHitArea boolean property
|
2019-04-24 11:21:52 +01:00 |
|
Richard Davey
|
2ef6ad3e51
|
Fixed jsdoc
|
2019-04-24 10:54:02 +01:00 |
|
Richard Davey
|
181be88ba9
|
Updated to use game clock time values.
|
2019-04-24 10:48:03 +01:00 |
|
Richard Davey
|
6b5383a007
|
Key now needs a reference to the plugin that created it. Also added getDuration method.
|
2019-04-24 10:47:51 +01:00 |
|
Richard Davey
|
d7917789eb
|
Added destroy argument to removeKey and cleared plugin reference.
|
2019-04-24 10:47:22 +01:00 |
|