Richard Davey
c93f571c32
SceneInputManager now uses the Scene event dispatcher. Fix #3085
2017-11-02 16:14:11 +00:00
Richard Davey
f03a829cfd
Fixed setPoll method names
2017-10-08 22:38:32 +01:00
Richard Davey
6431d99908
Added ability to set dragStart, drag and dragEnd callbacks.
2017-09-29 11:40:11 +01:00
Richard Davey
01df434a72
Moving from using the name 'components' to 'inc' where it's a case of the method being spllit into its own file to keep things clean, rather than an actual component.
2017-09-13 14:17:38 +01:00
Richard Davey
f98bbc12d8
Added the new Gamepad Input classes
2017-09-09 03:17:13 +01:00
Richard Davey
9bc448341e
Added x/y getters to input manager for quick (if limited) access
2017-09-07 22:26:53 +01:00
Richard Davey
7670ec50bb
Derive game instance from Scene
2017-08-15 23:35:35 +01:00
Richard Davey
ed59579220
Pointer now records which camera it used and all events now carry a camera property
2017-07-29 01:55:17 +01:00
photonstorm
e20d4b1156
Now possible to clear interactive objects.
2017-07-28 01:17:18 +01:00
photonstorm
98f75599a5
Added Drop Event and handler for it.
2017-07-27 18:24:04 +01:00
photonstorm
619caae3c3
Added new drag callbacks to allowed types list.
2017-07-27 14:23:41 +01:00
Richard Davey
795fa5f5cb
Merging in the draggable input handler
2017-07-27 03:40:58 +01:00
Richard Davey
1b4e53d06f
Exposed buttons event property.
2017-07-25 04:53:23 +01:00
Richard Davey
e17118c1aa
Tidying up after refactor.
...
Everything working properly and faster than before. Swapped InteractiveObject for a class to help internal optimisation.
2017-07-25 04:10:50 +01:00
Richard Davey
320a0b893d
Preparing to normalize game object data
2017-07-25 02:47:26 +01:00
Richard Davey
4c2df65cff
Large refactoring of the Input Manager
...
Split events out into Game Object and global Pointer ones. Removed redundant topOnly checks (as the source array is already filtered), removing use of 'childOn' functions. Normalizing event data.
2017-07-24 23:47:55 +01:00
photonstorm
68cc76802d
Updated the shutdown method.
2017-07-24 17:10:30 +01:00
photonstorm
812ea7d50b
Changed draggable to pointer array.
2017-07-24 14:09:04 +01:00
photonstorm
9bd93f36b2
Exposed method.
2017-07-21 14:05:04 +01:00
photonstorm
1cc79a3b23
Added onMove callback and event. Added processMove handler.
2017-07-21 13:59:22 +01:00
Richard Davey
fdf257d9ce
Fixed Up and Down events. Working properly including with topOnly.
2017-07-21 04:11:40 +01:00
Richard Davey
7992dfd569
Refactored to support multi pointers per IO and topOnly
2017-07-21 03:39:55 +01:00
photonstorm
c6a2edd855
Refactored Input Manager as it was getting too large for a single file class. Split up into Scene and Global Managers, broke all functions off into single files and started work on the new multi-pointer flow.
2017-07-20 17:10:12 +01:00