Commit graph

19 commits

Author SHA1 Message Date
Richard Davey
d8f1ba03e9 Moved repository location 2018-01-09 21:43:56 +00:00
Richard Davey
6431d99908 Added ability to set dragStart, drag and dragEnd callbacks. 2017-09-29 11:40:11 +01:00
photonstorm
db113b58da Exposed the camera responsible for the input event. 2017-07-28 18:22:57 +01:00
photonstorm
d2f08f0818 Added 'dropped' property to the DragEnd event. 2017-07-28 00:46:37 +01:00
photonstorm
a2d1f86079 Added DragEnter, DragOver and DragLeave events for drop zones. 2017-07-28 00:29:22 +01:00
photonstorm
98f75599a5 Added Drop Event and handler for it. 2017-07-27 18:24:04 +01:00
photonstorm
68270e7eee Swapped back from being a class to just being an object. No need for class overhead here. 2017-07-27 14:22:44 +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
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
81445246dd Updated structure. 2017-07-24 14:09:57 +01:00
photonstorm
1cc79a3b23 Added onMove callback and event. Added processMove handler. 2017-07-21 13:59:22 +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
Richard Davey
474d08f993 Lots of work on making Game Objects draggable 2017-07-18 23:15:28 +01:00
photonstorm
d753c5316d Adding movement processing events. 2017-07-18 17:22:14 +01:00
photonstorm
3f13659534 Added callbacks and extra properties. 2017-07-18 13:54:43 +01:00
Richard Davey
0d925b9cc0 New Interactive Object created.
Pointer events now dispatch more details.
Interactive Object used internally everywhere.
Hit Test updated to handle it.
2017-07-18 02:36:45 +01:00