Commit graph

895 commits

Author SHA1 Message Date
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
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
bb0da190d0 Update CHANGELOG.md 2019-06-05 23:40:29 +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
e32ec8636f Update CHANGELOG.md 2019-06-05 22:48:15 +01:00
Richard Davey
f90619d593 Update CHANGELOG.md 2019-06-05 22:46:59 +01:00
Richard Davey
3aa742c79a Update CHANGELOG.md 2019-06-05 15:31:29 +01:00
Richard Davey
bf44dd25e6 Update CHANGELOG.md 2019-06-04 19:13:53 +01:00
Richard Davey
b084ef4497 Update CHANGELOG.md 2019-06-04 18:54:41 +01:00
Richard Davey
c792cfccf7 Update CHANGELOG.md 2019-06-04 15:46:19 +01:00
Richard Davey
018c234a15 Update CHANGELOG.md 2019-06-01 10:53:08 +01:00
Richard Davey
d0f1475350 Update CHANGELOG.md 2019-05-30 22:30:29 +01:00
Richard Davey
061ff9e9e7 Update CHANGELOG.md 2019-05-30 22:28:47 +01:00
Richard Davey
e4cc8f74a1 Update CHANGELOG.md 2019-05-30 22:15:50 +01:00
Richard Davey
df0b474638 Added getTopCenter, getBottomCenter, getLeftCenter and getRightCenter 2019-05-29 16:27:31 +01:00
Richard Davey
09318530a4 Matter.Factory.fromVertices can now take a vertices path string as its vertexSets argument, as well as an array of vertices. 2019-05-29 14:50:57 +01:00
Richard Davey
3c52a3b27a Pass the pointers array in directly, no need to iterate them all every time 2019-05-28 21:31:54 +01:00
Richard Davey
f7a374b096 Update CHANGELOG.md 2019-05-28 17:28:01 +01:00
Richard Davey
a39c0c87c7 Update CHANGELOG.md 2019-05-28 17:08:33 +01:00
Richard Davey
21b3f2a1ab Update CHANGELOG.md 2019-05-28 16:58:55 +01:00
Richard Davey
4ab7fe164e Update CHANGELOG.md 2019-05-28 11:39:06 +01:00
Richard Davey
b649ec3783 Update CHANGELOG.md 2019-05-24 19:30:16 +01:00
Richard Davey
b9ae4685ca Update CHANGELOG.md 2019-05-23 17:19:34 +01:00
Richard Davey
8e4632fb51 Merge branch 'master' of https://github.com/photonstorm/phaser 2019-05-22 19:19:36 +01:00
Richard Davey
d2dac14f9f Update CHANGELOG.md 2019-05-22 19:19:32 +01:00
Richard Davey
d7af904bfa Added Matter velocity, angularVelocity and force methods 2019-05-21 14:23:32 +01:00
Richard Davey
9959dce57e Passing a Frame object to Bob.setFrame would fail, as it expected a string or integer. It now checks the type of object, and if a Frame it checks to make sure it's a Frame belonging to the parent Blitter's texture, and if so sets it. Fix #4516 2019-05-17 14:00:39 +01:00
Richard Davey
3504819b33 The CameraManager would incorrectly destroy the default Camera in its shutdown method, meaning that if you used a fixed mask camera and stopped then resumed a Scene, the masks would stop working. The default camera is now destroyed only in the destroy method. Fix #4520 2019-05-17 13:54:55 +01:00
Richard Davey
0ac5d7b8d9 There was some test code left in the DOMElementCSSRenderer file that caused getBoundingClientRect to be called every render. This has been removed, which increases performance significantly for DOM heavy games. 2019-05-17 13:43:55 +01:00
Richard Davey
e23a86d45a The default BaseShader vertex shader has a new uniform uResolution which is set during the Shader init and load to be the size of the Game Object to which the shader is bound. 2019-05-16 17:44:59 +01:00
Richard Davey
f792fce9cb The default BaseShader vertex shader will now set the fragCoord varying to be the viewport height minus the y inPosition. This will give the correct y axis in the fragment shader, causing 'inverted' shaders to display normally when using the default vertex code. 2019-05-16 17:30:30 +01:00
Richard Davey
48bf3d2b5e Update CHANGELOG.md 2019-05-14 09:46:33 +01:00
Richard Davey
48a9925ed1 Update CHANGELOG.md 2019-05-14 09:44:08 +01:00
Richard Davey
725130bc40 Update CHANGELOG.md 2019-05-14 09:37:41 +01:00
Richard Davey
06d1618e29 Preparing for 3.18 dev 2019-05-10 18:32:03 +01:00
Richard Davey
ca66db35ed Updated Change Log and README 2019-05-10 16:05:32 +01:00
Richard Davey
f9315bac3f Updated Scene config types 2019-05-10 14:39:35 +01:00
Richard Davey
5dfea01d61 Update CHANGELOG.md 2019-05-10 12:28:12 +01:00
Richard Davey
edb0a8bfc2 Update CHANGELOG.md 2019-05-09 15:32:58 +01:00
Richard Davey
3b19b87ed2 Update CHANGELOG.md 2019-05-08 23:47:23 +01:00
Richard Davey
6609046905 Update CHANGELOG.md 2019-05-08 22:13:04 +01:00
Richard Davey
18a924c39c Passing an _array_ of configuration objects to physics.add.group would ignore them and none of the children would be assigned a physics body. Fix #4511 2019-05-07 16:17:28 +01:00
Richard Davey
71db4ab24e Update CHANGELOG.md 2019-05-04 12:50:54 +01:00
Richard Davey
fda7772d3f Fixed jsdocs to flag arguments as optional. Fix #4506 2019-05-03 18:23:39 +01:00
Richard Davey
f0a25f4b9a Update CHANGELOG.md 2019-05-03 17:38:41 +01:00
Richard Davey
40b325accf A Camera will pause following a Game Object for the duration of the Camera Pan Effect, as the two will clash over the Camera scroll position 2019-05-02 10:51:46 +01:00
Richard Davey
f9482ef580 BaseCache.getKeys is a new method that will return all keys in use in the current cache, i.e. this.cache.shader.getKeys(). 2019-05-02 02:27:29 +01:00