Commit graph

16 commits

Author SHA1 Message Date
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