Commit graph

13161 commits

Author SHA1 Message Date
Richard Davey
89fe81a5ab Merge branch 'master' of https://github.com/photonstorm/phaser 2019-06-12 23:20:25 +01:00
Richard Davey
a786298c66 Updated Line docs. #4590 2019-06-12 23:20:22 +01:00
samme
7bba56be16 Change arguments to StaticBody#setSize
`center` replaces `offsetX`, `offsetY`
2019-06-12 10:59:07 -07:00
Richard Davey
18f8ee5c31 Update CHANGELOG.md 2019-06-12 12:35:43 +01:00
Richard Davey
ea8bb89554 Exposed all of the Tilemap Parser functions. Fix #4318 2019-06-12 12:35:41 +01:00
Richard Davey
0f592ba91a Moved the Pick function to the object utils 2019-06-12 12:35:03 +01:00
Richard Davey
9c7b26260e StaticPhysicsGroup can now take a classType property in its Group Config and will use the value of it, rather than override it. If none is provided it'll default to ArcadeSprite. Fix #4401 2019-06-12 12:06:40 +01:00
Richard Davey
6a2e8a06b6 Update CHANGELOG.md 2019-06-12 11:19:03 +01:00
Richard Davey
0791ae10d2 Added button property and methods for leftButtonReleased, rightButtonReleased and so on. 2019-06-12 11:19:00 +01:00
Hua
da617f364d Update displayOriginX, displayOriginY after size changed 2019-06-12 13:54:27 +08:00
samme
df3953e604 Require truthy random value for randomness 2019-06-11 11:38:29 -07:00
Richard Davey
77859b1cdf Calling Arcade Physics Body.reset on a Game Object that doesn't have any bounds, like a Container, would throw an error about being unable to access getTopLeft. If this is the case, it will now set the position to the given x/y values 2019-06-11 18:20:56 +01:00
Richard Davey
13180b9a9a If you had a Graphics object in the display list immediately after an object with a Bitmap Mask it would throw an error Uncaught TypeError: Cannot set property 'TL' of undefined. Fix #4581 2019-06-11 17:58:57 +01:00
Richard Davey
9e5527f230 Update CHANGELOG.md 2019-06-11 16:45:15 +01:00
Richard Davey
423a9e5003 Implent Grid canvas rendering! Fix #4585 2019-06-11 16:45:13 +01:00
Richard Davey
eb73b51cd8 Allow for color and alpha overrides 2019-06-11 16:44:55 +01:00
Richard Davey
4f36fe15fa Update CHANGELOG.md 2019-06-11 16:06:11 +01:00
Richard Davey
69877548c9
Merge pull request #4586 from rexrainbow/master
Set (width,height) of arc/circle to (diameter,diameter)
2019-06-11 15:58:34 +01:00
Richard Davey
e7a6c9f211
Merge pull request #4582 from Sun0fABeach/patch-1
Correct docs of arcade physics body member
2019-06-11 15:57:41 +01:00
Richard Davey
dfdba323fb New decodeAudio method for decoding base64 audio into webaudio 2019-06-11 14:31:43 +01:00
Richard Davey
2cc42f1a32 Update CHANGELOG.md 2019-06-11 14:31:23 +01:00
Richard Davey
a124580930 New Audio Decode type 2019-06-11 14:31:17 +01:00
Richard Davey
f2c2c93499 Added new DECODE and DECODE_ALL events 2019-06-11 14:29:29 +01:00
Richard Davey
b1e3ee4eec Added base64 to ArrayBuffer and ArrayBuffer to base64 2019-06-11 14:14:31 +01:00
Richard Davey
4bd3cca4d0 Update CHANGELOG.md 2019-06-11 09:08:12 +01:00
Hua
382afd6945 Set (width,height) of arc/cicle to (diameter,diameter)
Set (width,height) of arc/cicle to (diameter,diameter), not (radius,radius).
2019-06-11 12:38:26 +08:00
Markus Appel
5ff9b20668
Correct docs of arcade physics body member 2019-06-09 12:22:15 +02:00
Richard Davey
9e19c7b98e
Merge pull request #4579 from samme/fix/emitter-ops-emitOnly
Correct emitOnly values for particle emitter angle, lifespan, x, y
2019-06-08 09:58:30 +01:00
samme
c55ee432ce Docs for easedValueEmit() 2019-06-07 13:32:12 -07:00
samme
cf627a07e1 Correct emitOnly values for angle, lifespan, x, y 2019-06-07 13:31:01 -07:00
Richard Davey
0dfc9806cc Fixed lots of jsdos and moved the frame.cutX/Y addition into each function, allowing the x/y defaults to work again. Fix #4528 2019-06-06 17:45:18 +01:00
Richard Davey
2c8a5d3446 Renamed translate, rotate and scale to make them more explicit 2019-06-06 17:41:42 +01:00
Richard Davey
caf6f30bde Update CHANGELOG.md 2019-06-06 15:58:26 +01:00
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