Commit graph

6691 commits

Author SHA1 Message Date
Felipe Alfonso
71e1206f89 Light Layer working on screen space 2017-08-03 19:55:20 -04:00
Felipe Alfonso
2a3f966cb5 Light Layer update work in progress 2017-08-03 16:02:57 -04:00
Felipe Alfonso
b0c578477d Light layer setup 2017-08-02 23:06:13 -04:00
Richard Davey
d3789a305e Revamped how blend modes are handled. Added ability to swap between blendFunc and blendFunSeparate. 2017-08-03 02:09:59 +01:00
photonstorm
2160f7a3f8 Fixed Canvas extended Blend Mode tests. 2017-08-02 17:43:01 +01:00
photonstorm
1950316d19 Added Phaser.FOREVER, Phaser.BlendModes and Phaser.ScaleModes consts. 2017-08-02 17:06:27 +01:00
Richard Davey
9eb723cfc2 Added PlaceOnEllipse action and added to Group 2017-08-02 01:24:54 +01:00
Richard Davey
5f04a659e0 Added Ellipse.CircumferencePoint 2017-08-02 01:12:15 +01:00
Richard Davey
50ecafe4a5 Cannot delete all cameras from a Scene. Added 'makeMain' argument to add camera. 2017-08-02 00:42:44 +01:00
Richard Davey
c7200108e8 generateFrameNumbers and generateFrameNames updated
They both now take  a frames property in the config which allows you to define the sequence of frames in the animation, rather than just sequentially as before.
2017-08-01 21:56:17 +01:00
photonstorm
24278c6f3b Fixed EarCut path.
Removed redundant TextureSource properties.
2017-08-01 16:56:39 +01:00
photonstorm
52bb355429 Removing old and incorrect jsdoc blocks ready for first documentation pass. 2017-08-01 13:10:08 +01:00
photonstorm
9c450b76a8 Alpha .2 2017-07-31 17:10:18 +01:00
photonstorm
8234d6ac1f Fixed Nan TimeStep errors. 2017-07-31 17:05:47 +01:00
photonstorm
fe0b6ea8b0 README update for v3 Alpha. 2017-07-31 15:14:28 +01:00
photonstorm
3b74721bdb Alpha Release tag. 2017-07-31 14:41:58 +01:00
photonstorm
ef95209c32 Dev build now builds to examples/dev.js.
Updated dist build.
2017-07-31 14:23:28 +01:00
photonstorm
41b9e7d655 Delta history populated with _target value. resetDelta uses smaller value (target or previous dt). Step only resets dt if > target. 2017-07-31 11:49:18 +01:00
photonstorm
1a2520aa1b Removed matter.js build file for now. 2017-07-31 11:48:43 +01:00
photonstorm
073df815fa Added dist build config. 2017-07-31 11:48:34 +01:00
Richard Davey
0f553c275f Added Camera.setScroll 2017-07-29 02:56:45 +01:00
Richard Davey
fae3223000 Only consider inputEnabled cameras and removed some old jsdocs 2017-07-29 02:52:12 +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
Richard Davey
cbe54a1c58 Added getCameraBelowPointer to the Camera Manager 2017-07-29 01:54:44 +01:00
Richard Davey
e9d7940e74 HitTest only tests the camera below the pointer and there is no benefit polling every single camera 2017-07-29 01:54:17 +01:00
Richard Davey
8980616962 Input Manager now uses Camera Manager directly 2017-07-29 01:53:49 +01:00
Richard Davey
3e3599d03f Added Camera.setName method for chaining. 2017-07-29 01:53:31 +01:00
Richard Davey
08ce1c37da Fixed HitTest issue with scrollFactor 2017-07-29 01:05:46 +01:00
photonstorm
db113b58da Exposed the camera responsible for the input event. 2017-07-28 18:22:57 +01:00
photonstorm
c8a1dc32cc Updated drag event. 2017-07-28 18:00:04 +01:00
photonstorm
486e80f0a9 Added Camera.setRotation method for chaining. 2017-07-28 17:59:50 +01:00
photonstorm
a4b197b71d Added Camera.setZoom method for chaining. 2017-07-28 17:53:19 +01:00
photonstorm
38171795f5 Maximum FPS rate removed from TimeStep. When the delta resets it now resets to zero. Target FPS used as limiter during recovery from browser raf idle period. 2017-07-28 15:53:28 +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
photonstorm
7cc5a61d50 Zone now uses x/y as center for drop zone shapes. 2017-07-28 02:22:41 +01:00
photonstorm
e20d4b1156 Now possible to clear interactive objects. 2017-07-28 01:17:18 +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
Felipe Alfonso
1c5da095f6 Fixed text rendering state leakage on webgl 2017-07-27 15:26:12 -04:00
photonstorm
98f75599a5 Added Drop Event and handler for it. 2017-07-27 18:24:04 +01:00
photonstorm
b71972fac5 Reverted dragX/Y calc. 2017-07-27 17:56:48 +01:00
photonstorm
228ca47274 Updating drag values. 2017-07-27 17:40:22 +01:00
photonstorm
c152156da2 Zone now working again and useful for interactive hit areas not bound to Sprites or other GOs. 2017-07-27 17:40:15 +01:00
photonstorm
8e8d43dcf1 Added setName method. 2017-07-27 17:39:46 +01:00
photonstorm
80aa157a11 Falls back to GO width / height if no frame. 2017-07-27 17:38:31 +01:00
photonstorm
d5ed070fe6 Added missing reference in onDrag. 2017-07-27 14:33:03 +01:00
photonstorm
d6abc26ba7 Fixed bug in FloatBetween. 2017-07-27 14:32:47 +01:00
photonstorm
619caae3c3 Added new drag callbacks to allowed types list. 2017-07-27 14:23:41 +01:00
photonstorm
5fb219a800 GameObjects that cannot render are not considered for input. 2017-07-27 14:23:30 +01:00
photonstorm
bd2e25e791 Swapped back to using non-class IO. 2017-07-27 14:23:14 +01:00