Commit graph

12264 commits

Author SHA1 Message Date
Richard Davey
44f69ea7fa Removed autoResize, tidied up the resize method and init. 2019-01-10 13:43:09 +00:00
Richard Davey
82267ce14c Removed duplicate JSDoc typedef. 2019-01-10 13:42:53 +00:00
Richard Davey
175af00c60 Stores the new resolution, should it change (unlikely, but ...) 2019-01-10 13:42:11 +00:00
Richard Davey
e79404256f Removed autoResize. Dimensions now taken from Scale Manager. 2019-01-10 13:41:49 +00:00
Richard Davey
f6fd6b9f1d Removed baseScale as not needed. 2019-01-10 13:41:24 +00:00
Richard Davey
99b5cf90dc Cameras now factor in the resolution to their transforms 2019-01-10 13:41:07 +00:00
Richard Davey
63c2c73930 Finally using correct size :) 2019-01-10 13:40:41 +00:00
Richard Davey
5370e1e068 Removed autoResize as no longer needed. Added autoRound property. pixelArt is true if not set and if zoom > 1. 2019-01-10 13:40:28 +00:00
Richard Davey
aec555705f Testing difference between w/h and scale 2019-01-10 00:16:06 +00:00
Richard Davey
6d80772faf Get resolution from correct place 2019-01-10 00:15:29 +00:00
Richard Davey
04ea2798e9 Use gameSize 2019-01-10 00:15:20 +00:00
samme
87bd2e68d3 Queue 'late' colliding bodies for a second update
- Fixes #4154
- Fixes #4284
2019-01-09 12:56:32 -08:00
gomachan_7
be562abd83 Fix WebGLRenderer to apply transparent bg in config 2019-01-10 02:17:53 +09:00
Richard Davey
d690b70216 Working the Size component magic into the Scale Manager. 2019-01-09 17:14:00 +00:00
Richard Davey
f9f162f499 Default is now zero again. 2019-01-09 17:13:43 +00:00
Richard Davey
debe7ac82a Renamed consts to match Size component 2019-01-09 17:13:31 +00:00
Richard Davey
b3aeee0bd1 Use the new size properties 2019-01-09 17:13:22 +00:00
Richard Davey
8a8c4de557 Fixed expandParent config value and made the default 2019-01-09 17:13:06 +00:00
Richard Davey
7513a1c351 JSDoc update 2019-01-09 14:19:27 +00:00
Richard Davey
80b14368c1 Refactored how snap is applied and consolidated the fit and envelope methods into one. 2019-01-09 14:19:17 +00:00
Richard Davey
e7fcc0bb1a Finished the Size component and JSDocs. 2019-01-09 00:16:36 +00:00
Richard Davey
92396ba9d8 Finalizing the Size component 2019-01-08 23:07:54 +00:00
Richard Davey
ad0e2a6435 Refactoring the Size component 2019-01-08 17:23:20 +00:00
Richard Davey
30dda882eb Matter.TileBody.setFromTileCollision no longer checks if the shape is concave or convex before modifying the vertices, as the update to the Matter.js lib in 3.12 stopped this from working with Tiled collision shapes. 2019-01-08 11:50:21 +00:00
Richard Davey
d9f0483437 JSDoc update. 2019-01-07 23:13:07 +00:00
Richard Davey
8b243ff775 Merge branch 'master' of https://github.com/photonstorm/phaser 2019-01-06 23:36:19 +00:00
Richard Davey
a8708f26cd Update CHANGELOG.md 2019-01-06 23:36:16 +00:00
Richard Davey
39e3e8aee5
Merge pull request #4281 from iam13islucky/master
Typo - Zoom.js Pan.js Camera.js docs refer to wrong effects
2019-01-06 22:08:39 +00:00
iam13islucky
c98f7b7363
Typo - Zoom.js Pan.js Camera.js docs refer to wrong effects 2019-01-06 14:04:38 -07:00
Richard Davey
21c9326e07 Change when dragState is populated. Fix #4278 2019-01-05 10:03:11 +00:00
Richard Davey
6a361ba8ea Line.Extend is a new static function that allows you extend the start and/or end points of a Line by the given amounts. 2019-01-05 00:38:20 +00:00
Richard Davey
730c84e3e3 Draggable Game Objects would not work if you had multiple Scenes running in parallel, with draggable objects in both of them. Only the top-most Scene would work fully. Items in the bottom Scene would never finish their drag cycle, causing them to get stuck. Fix #4249 2019-01-04 16:34:59 +00:00
Richard Davey
9a7058915c Removed dragState property. 2019-01-04 16:34:53 +00:00
Richard Davey
566df734a0 MatterSprite would set its type property to be Image. It now sets it to be Sprite as it should do. 2019-01-04 14:16:10 +00:00
Richard Davey
439c644702 Fixed an API validation error in the chooseContext method. Fix #4248 2019-01-04 14:05:53 +00:00
Richard Davey
36f08d83e6 The processDomCallbacks method in the Input Manager wasn't correctly clearing the once arrays. Responsibility for this has now been passed to the queue methods queueTouchStart, queueTouchMove, queueTouchEnd, queueMouseDown, queueMouseMove and queueMouseUp. Fix #4257 2019-01-04 14:03:21 +00:00
Richard Davey
bb4ecc6c2b Merge branch 'master' of https://github.com/photonstorm/phaser 2019-01-04 13:34:06 +00:00
Richard Davey
a6447cd6b0 Updated docs and change log 2019-01-04 13:33:56 +00:00
Richard Davey
b5135ec691
Merge pull request #4272 from Oramy/master
Fixed Issue #4271
2019-01-04 13:16:30 +00:00
Richard Davey
874929d807
Merge pull request #4250 from jcyuan/Branch_v3.15.1
doc improvement & minor bug fix
2019-01-04 13:15:20 +00:00
Richard Davey
af86a3b348
Merge pull request #4258 from OmarShehata/jsdoc-syntax
Fix jsdoc syntax
2019-01-04 13:14:11 +00:00
Richard Davey
5120727e5f
Merge pull request #4273 from 16patsle/types-fix
Mark optional params as optional in jsdoc
2019-01-04 13:12:11 +00:00
Richard Davey
ba5d9d45c5
Merge pull request #4260 from OmarShehata/patch-1
Fix typo in README
2019-01-04 13:09:27 +00:00
Richard Davey
bd761ceadb
Merge pull request #4274 from BigZaphod/patch-1
Fixed spelling errors and did some light editing
2019-01-04 13:07:48 +00:00
Sean Heber
92d47f197f
Fixed spelling errors and did some light editing 2019-01-03 16:51:23 -06:00
Patrick Sletvold
206d61284b Mark optional params as optional in jsdoc 2019-01-02 11:54:39 +01:00
Amaury Butaux
8b3876e9d4 Fixed Issue #4271 2019-01-02 04:13:52 +01:00
Omar Shehata
a7e8bc5381
Fix typo in README 2018-12-26 14:23:21 -05:00
Omar Shehata
9abb11cba5 Remove unecessary type description 2018-12-26 10:51:01 -05:00
Omar Shehata
9a77301e08 Fix jsdoc syntax 2018-12-26 10:43:57 -05:00