Commit graph

13028 commits

Author SHA1 Message Date
Richard Davey
6b5b751134 Handle sending previous size to event and updating canvas size in setGameSize. Cleaned-up workflow. 2019-06-06 15:58:23 +01:00
Richard Davey
dc2375de70 Camera Manager will now listen for RESIZE event and resize full-sized cameras automatically 2019-06-06 15:57:51 +01:00
Richard Davey
254eef9787 Use the event constant instead of a string 2019-06-06 15:56:45 +01:00
Richard Davey
0a761e104c Added new arguments to RESIZE event 2019-06-06 15:56:26 +01:00
Richard Davey
89fe081f74 Added new Tiled Object and Object Layer defs. Fix #4364 2019-06-06 11:20:40 +01:00
Richard Davey
3da69ade29 Tilemap.createDynamicLayer would fail if you called it without setting the x and y arguments, even though they were flagged as being optional. Fix #4508 2019-06-06 10:43:46 +01:00
Richard Davey
04ec7b26a1 Tilemap.createBlankDynamicLayer would fail if you provided a string for the tileset as the base tile width and height were incorrectly read from the tileset argument. Fix #4495 2019-06-06 10:29:28 +01:00
Richard Davey
11d845a77e Specifically state this is a render flag only #4574 2019-06-06 09:52:19 +01:00
Richard Davey
bb0da190d0 Update CHANGELOG.md 2019-06-05 23:40:29 +01:00
Richard Davey
2cdb672d36 Added new Text Padding typedef 2019-06-05 23:40:27 +01:00
Richard Davey
2446e2f3fc Setting padding in a Text style configuration object would cause an error about calling split on undefined. Padding can now be applied both in the config and via setPadding 2019-06-05 23:40:10 +01:00
Richard Davey
458c592596 Changing the radius of an Arc Game Object wouldn't update the size, causing origin issues. It now updates the size and origin correctly in WebGL. Fix #4542 2019-06-05 23:02:59 +01:00
Richard Davey
515adc737d Fixed typo 2019-06-05 22:48:22 +01:00
Richard Davey
e32ec8636f Update CHANGELOG.md 2019-06-05 22:48:15 +01:00
Richard Davey
82a260ca51 Merge branch 'master' of https://github.com/photonstorm/phaser 2019-06-05 22:47:05 +01:00
Richard Davey
f90619d593 Update CHANGELOG.md 2019-06-05 22:46:59 +01:00
Richard Davey
ab17888c18
Merge pull request #4577 from samme/feature/group-name
Add Group#name
2019-06-05 22:45:58 +01:00
Richard Davey
3947fe38cf
Merge pull request #4576 from samme/fix/StaticBody-drawDebug
Use defaultStrokeWidth in drawDebug()
2019-06-05 22:43:39 +01:00
Richard Davey
3aa742c79a Update CHANGELOG.md 2019-06-05 15:31:29 +01:00
Richard Davey
9327351e86 Added deltaX, Y, Z and wheel method. 2019-06-05 15:31:25 +01:00
Richard Davey
98be6adfda Native support for wheel events 2019-06-05 15:31:13 +01:00
Richard Davey
62cb5c68a8 Added 3 new Wheel input events 2019-06-05 15:30:54 +01:00
Richard Davey
700c9daaa1 New input const (and changed order to be numeric order) 2019-06-05 15:30:42 +01:00
Richard Davey
8968b2179c Added GameObject.scale transform property for a unified scale setter 2019-06-05 15:30:23 +01:00
Richard Davey
af3efc9e2f Added more docs to make #4575 clearer 2019-06-05 14:08:01 +01:00
samme
6a2c476557 Use defaultStrokeWidth in drawDebug() 2019-06-04 13:27:02 -07:00
Richard Davey
bf44dd25e6 Update CHANGELOG.md 2019-06-04 19:13:53 +01:00
Richard Davey
12bcda98a6 Added support for a desynchronized context and alpha support in 2D 2019-06-04 19:13:49 +01:00
Richard Davey
3f0d5ba647 Fixed Function[] issue 2019-06-04 18:54:55 +01:00
Richard Davey
b084ef4497 Update CHANGELOG.md 2019-06-04 18:54:41 +01:00
Richard Davey
4ed0f90bf7 Merged touch handler methods into one 2019-06-04 18:54:35 +01:00
Richard Davey
befbc788a3 Added new TouchCancelWindow handler 2019-06-04 18:54:00 +01:00
Richard Davey
15654be545 update motion automatically 2019-06-04 18:53:48 +01:00
Richard Davey
d82b46c4d2 Updates TS Parser to handle Function[]
Fix #4522
2019-06-04 18:14:58 +01:00
samme
04384f78a6 Add Group#name 2019-06-04 09:33:08 -07:00
Richard Davey
558f6aea55 JSDoc fixes 2019-06-04 16:01:37 +01:00
Richard Davey
c792cfccf7 Update CHANGELOG.md 2019-06-04 15:46:19 +01:00
Richard Davey
7f2feea4ae All the touch handlers now store the full TouchEvent, not just the Touch List entry 2019-06-04 15:46:16 +01:00
Richard Davey
bf48c53103 Added new over and out handlers for touch events 2019-06-04 15:43:02 +01:00
Richard Davey
9b93ad9985 Removed changed pointers IIFE and un-needed method methods 2019-06-04 15:40:05 +01:00
Richard Davey
c977cdf6cb
Merge pull request #4573 from samme/types/timeline-config
Add types for Timeline config
2019-06-04 09:34:41 +01:00
samme
d9ecd70f59 Add TimelineBuilderConfig type and callbacks 2019-06-03 12:12:01 -07:00
samme
3ebd1839eb Docs for Tween 2019-06-03 12:09:04 -07:00
samme
0306aab176 Docs for Timeline 2019-06-03 12:08:45 -07:00
Richard Davey
77626d854d
Merge pull request #4568 from samme/types/tween-configs-2
Add types for tween `props` configs
2019-06-02 14:06:58 +01:00
Richard Davey
dc13cc22d9
Merge pull request #4569 from samme/types/emitter-ops
Add EmitterOpOnEmitType and EmitterOpOnUpdateType
2019-06-02 14:06:04 +01:00
samme
d3407c5e44 Add EmitterOpOnEmitType and EmitterOpOnUpdateType
Also some corrections in ParticleEmitterConfig docs
2019-06-01 13:33:06 -07:00
samme
8410f6b131 Add types for tween props configs 2019-06-01 10:24:15 -07:00
Richard Davey
018c234a15 Update CHANGELOG.md 2019-06-01 10:53:08 +01:00
Richard Davey
17ad54b35b You can pass in a Body for a Matter Game Object to use 2019-06-01 10:53:05 +01:00