Commit graph

13 commits

Author SHA1 Message Date
Richard Davey
a86b68e361 Removed un-needed WorldToCamera, implemented GetWorldPoint across the board 2017-11-29 22:23:58 +00:00
Richard Davey
c58b295fcc Added positionToCamera method (but still needs fixing) 2017-11-28 11:16:35 +00:00
Richard Davey
4f7a02ef2e Pointer.position is now a Vec2 and x/y references to it 2017-11-23 01:44:58 +00: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
9e10fca98d Added Touch support. Doesn't handle multi-touch yet, but single touch works perfectly with all current input tests. 2017-07-28 03:28:10 +01:00
Richard Davey
795fa5f5cb Merging in the draggable input handler 2017-07-27 03:40:58 +01:00
Richard Davey
f918942cfc Pointer has methods that expose the state of the buttons 2017-07-25 12:33:53 +01:00
Richard Davey
7992dfd569 Refactored to support multi pointers per IO and topOnly 2017-07-21 03:39:55 +01:00
photonstorm
d753c5316d Adding movement processing events. 2017-07-18 17:22:14 +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
Richard Davey
95dea5c88a Hit Area is now top-left based. Pointer x/y now takes canvas position and scale into account. 2017-07-17 23:38:43 +01:00
Richard Davey
8bae761d75 Pointer Down and Up events working on Game Objects 2017-07-14 01:38:21 +01:00
photonstorm
b7d4559d45 Moving to more modular, State based input management. 2017-07-13 17:21:37 +01:00