Commit graph

1305 commits

Author SHA1 Message Date
Richard Davey
070ea9585f Update CHANGELOG.md 2020-01-07 14:39:26 +00:00
Richard Davey
a7c2a562be Update CHANGELOG.md 2020-01-07 14:02:42 +00:00
Richard Davey
d4b6c54418 Update CHANGELOG.md 2020-01-07 12:56:33 +00:00
Richard Davey
171ecb7fcc Update CHANGELOG.md 2020-01-07 12:39:42 +00:00
Richard Davey
a938b6d597 Update CHANGELOG.md 2020-01-07 11:56:41 +00:00
Richard Davey
7aec93d1c3 Update CHANGELOG.md 2020-01-07 00:28:39 +00:00
Richard Davey
c8b2ff5042 Update CHANGELOG.md 2020-01-06 22:30:41 +00:00
Richard Davey
2d3a87a3a6 Updated existing for TS defs. Fix #4941 2020-01-06 13:33:23 +00:00
Richard Davey
ffb604c502 Added new setVelocity, setVelocityX, setVelocityY, setAngularVelocity, applyForce and applyForceFromAngle methods. 2020-01-04 12:31:27 +00:00
Richard Davey
7d62b08f46 Update CHANGELOG.md 2020-01-03 23:18:18 +00:00
Richard Davey
e270d3afd8 Update CHANGELOG.md 2019-12-28 17:37:17 +00:00
Richard Davey
c5c50dcfd0 Update CHANGELOG.md 2019-12-28 17:27:35 +00:00
Richard Davey
64690cf987 Body.gravityScale is a new vector property that allows you to scale the effect of world gravity on a specific Body. 2019-12-21 08:29:57 +00:00
Richard Davey
f61b947368 Update CHANGELOG.md 2019-12-18 14:55:15 +00:00
Richard Davey
f733d1f01e Update CHANGELOG.md 2019-12-18 14:43:23 +00:00
Richard Davey
fed63d7f11 Update CHANGELOG.md 2019-12-17 16:42:49 +00:00
Richard Davey
294ca71d5d Update CHANGELOG.md 2019-12-17 14:47:29 +00:00
Richard Davey
da4466ed2a Update CHANGELOG.md 2019-12-17 13:15:28 +00:00
Richard Davey
64b5a283f3 Update CHANGELOG.md 2019-12-12 17:15:03 +00:00
Richard Davey
cc0f1db18c Update CHANGELOG.md 2019-12-12 13:31:51 +00:00
Richard Davey
03e67e2c50 Added docs and Body level syncVerts property 2019-12-12 12:41:11 +00:00
Richard Davey
a10ca052f5 Update CHANGELOG.md 2019-12-11 13:06:11 +00:00
Richard Davey
3bc73425a0 Update CHANGELOG.md 2019-12-10 17:53:47 +00:00
Richard Davey
b7343f3424 Bumped Matter Plugin versions to avoid console logs from Common.info and Common.warn. 2019-12-10 14:02:10 +00:00
Richard Davey
36e888cc81 Update CHANGELOG.md 2019-12-10 12:07:14 +00:00
Chris Andrew
15ac5e736a #4903 Clarified z position documentation by linking to depth GO component. 2019-12-09 16:57:05 +00:00
Richard Davey
f18c6b5fda Update CHANGELOG.md 2019-12-09 13:22:58 +00:00
Richard Davey
ea3a0f8544 Update CHANGELOG.md 2019-12-09 12:52:09 +00:00
Richard Davey
44ff20d07e Added deltaXFinal and deltaYFinal methods. 2019-12-09 08:55:37 +00:00
Richard Davey
e98a639caa Update CHANGELOG.md 2019-12-04 03:52:04 +00:00
Richard Davey
9b8ce1b8e3 Adjust Resolver properties from matter config 2019-12-03 16:56:29 +00:00
Richard Davey
ad4c982bee Update CHANGELOG.md 2019-12-03 14:06:34 +00:00
Richard Davey
00883455a8 Update CHANGELOG.md 2019-12-02 19:21:11 +00:00
Richard Davey
3c84c33a4b Update CHANGELOG.md 2019-12-02 15:07:47 +00:00
Richard Davey
5c61273184 Update CHANGELOG.md 2019-11-28 16:18:44 +00:00
Richard Davey
7607bee0af Update CHANGELOG.md 2019-11-27 17:49:41 +00:00
Richard Davey
7650c5535f BitmapText with a maxWidth set wouldn't update the text correctly if it was modified post-creation. You can now update the text and/or width independantly and it'll update correctly. Fix #4881 2019-11-26 14:31:27 +00:00
Richard Davey
409a5eb592 3.21.1 2019-11-26 14:04:52 +00:00
Richard Davey
4608a883ab Update CHANGELOG.md 2019-11-22 16:53:48 +00:00
Richard Davey
bea6d91304 Update CHANGELOG.md 2019-11-21 17:11:47 +00:00
Richard Davey
ed2fa60840 Update CHANGELOG.md 2019-11-20 22:03:30 +00:00
Richard Davey
99bdb733c1 Update CHANGELOG.md 2019-11-20 21:59:10 +00:00
Richard Davey
13e7b21477 Update CHANGELOG.md 2019-11-20 17:10:14 +00:00
Richard Davey
d0786e8dda Update CHANGELOG.md 2019-11-20 14:50:30 +00:00
Richard Davey
eac54a63d5 Update CHANGELOG.md 2019-11-20 13:50:58 +00:00
Richard Davey
3b5e28f684 Update CHANGELOG.md 2019-11-20 13:02:56 +00:00
Richard Davey
659ca08775 Update CHANGELOG.md 2019-11-19 13:00:57 +00:00
Richard Davey
9dd3e53f46 Update CHANGELOG.md 2019-11-19 11:49:58 +00:00
Richard Davey
a3db86db89 Update CHANGELOG.md 2019-11-19 11:23:23 +00:00
Richard Davey
cf0a6f19e3 Update CHANGELOG.md 2019-11-19 11:00:45 +00:00
Richard Davey
392fd0af81 Update CHANGELOG.md 2019-11-19 10:53:23 +00:00
Richard Davey
bd6cabe997 Update CHANGELOG.md 2019-11-18 22:20:12 +00:00
Richard Davey
1e20ad706e ADD and SUBTRACT added 2019-11-18 17:09:30 +00:00
Richard Davey
50d9931c11 Added cached MIN/MAX SAFE INT for IE support #4833 2019-11-18 17:01:55 +00:00
Richard Davey
922cbaa8ea 3.21 version and audit fix 2019-11-18 16:36:52 +00:00
Richard Davey
304c81cad4 Update CHANGELOG.md 2019-11-18 16:36:52 +00:00
Richard Davey
26d884746f Update CHANGELOG.md 2019-11-18 16:24:24 +00:00
Richard Davey
cc6cec5c83 Added in forceSetTimeout fps value (#4179) 2019-11-18 16:23:29 +00:00
Richard Davey
360640e4de Update CHANGELOG.md 2019-11-18 16:13:58 +00:00
Richard Davey
afc175a392 Update CHANGELOG.md 2019-11-18 16:02:34 +00:00
Richard Davey
a52831d49b Update CHANGELOG.md 2019-11-13 10:19:10 +00:00
Richard Davey
c25331cf30 Update CHANGELOG.md 2019-10-17 13:47:43 +01:00
Richard Davey
48bc039fe7 Update CHANGELOG.md 2019-10-17 13:25:32 +01:00
Richard Davey
24029b27db 3.20.1 Release 2019-10-15 12:30:09 +01:00
Richard Davey
1c13924615 Update CHANGELOG.md 2019-10-15 11:53:46 +01:00
Richard Davey
7aa88e5e0c Update CHANGELOG.md 2019-10-15 11:34:35 +01:00
Richard Davey
2d7abca281 Update CHANGELOG.md 2019-10-15 11:29:52 +01:00
Richard Davey
dae9d74707 Update CHANGELOG.md 2019-10-15 11:18:41 +01:00
Richard Davey
f0c4eb1857 Update CHANGELOG.md 2019-10-14 16:44:05 +01:00
Richard Davey
9163f08b42 Update CHANGELOG.md 2019-10-11 18:17:40 +01:00
Richard Davey
2a36a20bb8 Update CHANGELOG.md 2019-10-11 13:53:24 +01:00
Richard Davey
3e12b6c7ff Update CHANGELOG.md 2019-10-11 13:42:33 +01:00
Richard Davey
825f2da4ad Update CHANGELOG.md 2019-10-11 13:32:00 +01:00
Richard Davey
daa2025ef4 Update CHANGELOG.md 2019-10-11 13:27:19 +01:00
Richard Davey
ad8d8b014d Update CHANGELOG.md 2019-10-10 12:27:18 +01:00
Richard Davey
1a437bee06 Update CHANGELOG.md 2019-10-09 10:49:50 +01:00
Richard Davey
d72e86cc2a Update CHANGELOG.md 2019-10-04 11:13:15 +01:00
Richard Davey
3a53618bc7 Update CHANGELOG.md 2019-10-03 02:29:27 +01:00
Richard Davey
af4b2e15e2 Update CHANGELOG.md 2019-10-02 17:32:09 +01:00
Richard Davey
a3c8bf2222 Update CHANGELOG.md 2019-10-02 16:32:07 +01:00
Richard Davey
be110542ee Update CHANGELOG.md 2019-10-02 16:03:55 +01:00
Richard Davey
1ec7c350fb Update CHANGELOG.md 2019-10-02 15:21:51 +01:00
Richard Davey
144480411c Update CHANGELOG.md 2019-10-02 15:16:01 +01:00
Richard Davey
064c3449cf Update CHANGELOG.md 2019-10-02 13:39:46 +01:00
Richard Davey
6d79e1158e Update CHANGELOG.md 2019-10-02 13:21:53 +01:00
Richard Davey
9c5e327604 Update CHANGELOG.md 2019-10-02 12:50:13 +01:00
Richard Davey
718f8acf29 Update CHANGELOG.md 2019-10-02 12:13:48 +01:00
Richard Davey
ea75c5ca9a Updated quad alpha checks 2019-10-02 10:11:07 +01:00
Richard Davey
1e3cf1e957 Update CHANGELOG.md 2019-10-01 17:48:24 +01:00
Richard Davey
44ca7d1149 Update CHANGELOG.md 2019-10-01 17:43:50 +01:00
Richard Davey
5dbfbae5f9 Updated jsdoc types. Fix #4308 2019-10-01 17:04:06 +01:00
Richard Davey
0f65075177 Update CHANGELOG.md 2019-10-01 16:10:53 +01:00
Richard Davey
3c7d0265f1 Update CHANGELOG.md 2019-10-01 14:54:57 +01:00
Richard Davey
a0292b5685 TextureSource.isGLTexture now checks if the browser supports WebGLTexture before checking to see if source is an instance of one. This should fix issues with Phaser in HEADLESS mode running under node / jsdom, or where WebGLTexture isn't present. Fix #4711 2019-10-01 13:46:37 +01:00
Richard Davey
5b6d9895be TileSprites will now throw a console warning if you try to use a RenderTexture or GLTexture as their frame source. Fix #4719 2019-10-01 13:37:37 +01:00
Richard Davey
d14264a829 Update CHANGELOG.md 2019-10-01 13:29:08 +01:00
Richard Davey
ce29cb25ae Update CHANGELOG.md 2019-10-01 13:12:58 +01:00
Richard Davey
487ec88529 RenderTexture.fill wasn't setting the camera up before drawing the fill rect, causing it to appear in the wrong place and the wrong size. Fix #4390 2019-09-30 15:08:53 +01:00
Richard Davey
9e49d1843e Update CHANGELOG.md 2019-09-30 14:24:55 +01:00
Richard Davey
b2b7301bdd Update CHANGELOG.md 2019-09-30 14:12:20 +01:00
Richard Davey
2829d27e8a Fixed return type. Fix #4772 2019-09-30 13:32:14 +01:00
Richard Davey
cb32eef1d9 Update CHANGELOG.md 2019-09-27 16:11:51 +01:00
Richard Davey
32ba59e4b6 Update CHANGELOG.md 2019-09-27 15:44:13 +01:00
Richard Davey
af53cf6a02 Update CHANGELOG.md 2019-09-27 13:44:43 +01:00
Richard Davey
c59aa16bb4 Leaderboard extends Event Emitter, which was missing in the TypeScript defs. Fix #4703 2019-09-26 13:45:01 +01:00
Richard Davey
9485eef5c7 Leaderboard.getConnectedScores incorrectly specified two parameters, neither of which were used. Fix #4702 2019-09-26 13:42:59 +01:00
Richard Davey
c6e7213fe4 The documentation for the chooseContext method has been fixed. Fix #4425 2019-09-26 13:36:36 +01:00
Richard Davey
82401fc74f Calling gameStarted in a game that doesn't load any assets would cause the error {code: "INVALID_OPERATION", message: "Can not perform this operation before game start."}. The plugin will now has a new internal method gameStartedHandler and will redirect the flow accordingly based on asset loading. Fix #4550 2019-09-26 13:20:59 +01:00
Richard Davey
163ab4fc19 Calling showAd or showVideoAd will now check to see if the ad has already been displayed, and skip it when iterating the ads array, allowing you to display an ad with the same Placement ID without preloading it again. Fix #4728 2019-09-26 13:11:28 +01:00
Richard Davey
107bccf105 Tween.updateTo would break out of the TweenData iteration as soon as it adjusted the first matching key, causing tweens acting on multiple targets to only update the first target. It now updates them all. Fix #4763 2019-09-26 12:46:55 +01:00
Richard Davey
719c2322ad Update CHANGELOG.md 2019-09-26 12:42:36 +01:00
Richard Davey
8c18699e74 A hasOwnProperty check has been applied to the SceneManager.createSceneFromObject method when parsing additional properties in the extend object 2019-09-26 12:24:59 +01:00
Richard Davey
d4bb75fd8d Update CHANGELOG.md 2019-09-26 12:17:16 +01:00
Richard Davey
b704fdd680 Merge branch 'master' of https://github.com/photonstorm/phaser 2019-09-24 12:36:32 +01:00
Richard Davey
d875a59958 InteractiveObject.alwaysEnabled is a new boolean that allows an interactive Game Object to always receive input events, even if it's invisible or won't render. 2019-09-24 12:36:28 +01:00
Richard Davey
5c04e20b20 The private Shader._savedKey property has been removed as it wasn't used anywhere internally. 2019-09-20 14:48:41 +01:00
Richard Davey
bc5c7cf7ab When calling Shader.setRenderToTexture() it will now draw the shader just once, immediately to the texture, to avoid the texture being blank for a single frame (thanks Kyle) 2019-09-19 23:32:40 +01:00
Richard Davey
9f8e9d2afc InputPlugin.processDragMove has been updated so that the resulting dragX and dragY values, sent to the event handler, now compensate for the scale of the Game Objects parent container, if inside of one. This means dragging a child of a scale Container will now still drag at 'full' speed. 2019-09-16 15:47:18 +01:00
Richard Davey
d41e0899ab Update CHANGELOG.md 2019-09-13 19:18:17 +01:00
Richard Davey
5b10c07d2e ArcadePhysics.Body.checkWorldBounds would incorrectly report as being on the World bounds if the blocked.none flag had been toggled elsewhere in the Body. It now only sets if it toggles a new internal flag 2019-09-05 16:06:08 +01:00
Richard Davey
d0c40b647f SpineCanvasPlugin.shutdown would try to dispose of the sceneRenderer, but the property isn't set for Canvas. 2019-09-04 14:25:56 +01:00
Richard Davey
e3039ffb64 Added antialiasGL option 2019-08-29 11:46:58 +01:00
Richard Davey
7d2eaae693 The Container renderer functions will now read the childs alpha property, instead of _alpha, allowing it to work with more variety of custom children. 2019-08-08 14:03:23 +01:00
Richard Davey
ead12de198 Update CHANGELOG.md 2019-08-08 13:32:10 +01:00
Richard Davey
9486487a3e Update CHANGELOG.md 2019-08-07 18:20:29 +01:00
Richard Davey
84d5e1d975 Update CHANGELOG.md 2019-08-07 15:24:57 +01:00
Richard Davey
da2e96bb28 Update CHANGELOG.md 2019-08-07 13:03:10 +01:00
Richard Davey
4faac7fcc3 Update CHANGELOG.md 2019-08-07 12:47:56 +01:00
Richard Davey
5dd75b64fc Pointer.updateWorldPoint is a new method that takes a Camera and then updates the Pointers worldX and worldY values based on the cameras transform 2019-08-07 12:10:50 +01:00
Richard Davey
7b8632c099 Update CHANGELOG.md 2019-08-02 01:49:34 +01:00
Richard Davey
6eb7889bd8 Update CHANGELOG.md 2019-08-01 19:27:50 +01:00
Richard Davey
8a934fe7c4 Update CHANGELOG.md 2019-07-26 19:04:07 +01:00
Richard Davey
bb942382fc Update CHANGELOG.md 2019-07-26 14:26:25 +01:00
Richard Davey
cf0b872636 CreateDOMContainer will now use div.style.cssText to set the inline styles of the container, so it now works on IE11. Fix #4674 2019-07-24 15:16:08 +01:00
Richard Davey
9e9d264973 getPixels defaults to 0x0 2019-07-21 16:18:21 +01:00
Richard Davey
e23cd39f99 Update CHANGELOG.md 2019-07-19 15:16:14 +01:00
Richard Davey
a1dad3587e Update CHANGELOG.md 2019-07-18 10:36:18 +01:00
Richard Davey
1e7a368798 Update CHANGELOG.md 2019-07-17 16:59:50 +01:00
Richard Davey
00663ed7d7 Update CHANGELOG.md 2019-07-17 15:10:24 +01:00
Richard Davey
e1d10e32cd Update CHANGELOG.md 2019-07-17 14:40:51 +01:00
Richard Davey
d096ef6dcd Update CHANGELOG.md 2019-07-17 14:36:26 +01:00
Richard Davey
08325f2996 Update CHANGELOG.md 2019-07-16 17:41:11 +01:00
Richard Davey
fd9b088154 Update CHANGELOG.md 2019-07-15 17:03:06 +01:00
Richard Davey
7d2b34f8ed Warn if invalid texture source 2019-07-15 15:42:25 +01:00
Richard Davey
35849237a9 Update CHANGELOG.md 2019-07-15 15:28:49 +01:00
Richard Davey
ea2365a77d The SmoothedKeyControl minimum zoom a Camera can go to is now 0.001. Previously it was 0.1. This is to make it match the minimum zoom a Base Camera can go to. Fix #4649 2019-07-15 10:56:32 +01:00
Richard Davey
6752dce869 Update CHANGELOG.md 2019-07-14 16:25:05 +01:00
Richard Davey
d432a64576 CanvasTexture has been added to the Textures namespace so it can be created without needing to import it. The correct way to create a CanvasTexture is via the Texture Manager, but you can now do it directly if required. Fix #4651 2019-07-13 10:49:05 +01:00
Richard Davey
c566ff26ff Update CHANGELOG.md 2019-07-11 14:00:45 +01:00
Richard Davey
b612d03433 Update CHANGELOG.md 2019-07-08 14:59:21 +01:00
Richard Davey
5f35a41d2f Update CHANGELOG.md 2019-07-08 13:29:52 +01:00
Richard Davey
8cf8caff0b Update CHANGELOG.md 2019-07-08 13:03:41 +01:00
Richard Davey
bf45637658 Update CHANGELOG.md 2019-07-03 15:53:49 +01:00
Richard Davey
da49fcc499 Update CHANGELOG.md 2019-07-03 15:47:43 +01:00
Richard Davey
deca3c95a3 Calling Animation.setRepeat() wouldn't reset the repeatCounter properly, causing Sprite bound animation instances to fail to change their repeat rate. Fix #4553 2019-07-03 15:33:13 +01:00
Richard Davey
a8a7d45956 Removing a frame from a 2 frame animation would cause an error when a Sprite using that animation next tried to render. Fix #4621 2019-07-03 15:07:53 +01:00
Richard Davey
5106b2c935 Animations with custom pivots, like those created in Texture Packer with the pivot option enabled, would be mis-aligned if flipped. They now render in the correct position, regardless of scale or flip on either axis. Fix #4155 2019-07-03 14:01:48 +01:00
Richard Davey
e8a4d569bb Update CHANGELOG.md 2019-07-03 12:02:59 +01:00
Richard Davey
47b1d755a7 Fixed a bug in the WebGL and Canvas Renderers where a Sprite with a flipX or flipY value set would render the offset frames slightly out of place, causing the animation to appear jittery. Also, the sprite would be out of place by its origin. Fix #4636 #3813 2019-07-03 11:11:25 +01:00
Richard Davey
1b275c54ed Update CHANGELOG.md 2019-07-02 12:32:29 +01:00
Richard Davey
5142b8398e Update CHANGELOG.md 2019-07-02 12:13:46 +01:00
Richard Davey
b104fe52bf Update CHANGELOG.md 2019-06-28 19:41:04 +01:00
Richard Davey
58f076a125 TweenData now holds the target index and has a new signature 2019-06-28 18:02:18 +01:00
Richard Davey
3330a83bee Update CHANGELOG.md 2019-06-28 17:42:21 +01:00
Richard Davey
79b2048ae0 Fixed addBlendMode type. Fix #4625 2019-06-28 14:53:12 +01:00
Richard Davey
e9746bbe6f Update CHANGELOG.md 2019-06-28 14:38:53 +01:00
Richard Davey
3c9e310234 Update CHANGELOG.md 2019-06-27 16:28:21 +01:00
Richard Davey
eb72b4253c Update CHANGELOG.md 2019-06-27 13:04:36 +01:00
Richard Davey
4de9c3c93c Update CHANGELOG.md 2019-06-27 12:41:41 +01:00
Richard Davey
46b56c4d2b All changes to Tween.state are now set _before_ any events or callbacks, allowing you to modify the state of the Tween in those handlers 2019-06-27 12:02:45 +01:00
Richard Davey
9582a21d4f Tween JSDocs complete 2019-06-27 11:50:24 +01:00
Richard Davey
14a6864f21 If you called Scene.destroy within a Game Object pointerdown or pointerup handler, it would cause the error "Cannot read property 'game' of null" if the event wasn't cancelled in your handler. It now checks if the manager is still there before accessing its property. Fix #4436 2019-06-27 01:13:27 +01:00
Richard Davey
aad9d38e13 You can now specify easeParams for any custom easing function you wish to use. Fix #3826 2019-06-27 01:06:25 +01:00
Richard Davey
4eb163573b Update CHANGELOG.md 2019-06-27 01:00:41 +01:00
Richard Davey
5e4e6ca49f Tween.seek has been rewritten so you can now seek to any point in the Tween, regardless of repeats, loops, delays and hold settings. Fix #4409 2019-06-26 23:17:52 +01:00
Richard Davey
da50dd5336 Update CHANGELOG.md 2019-06-26 00:36:51 +01:00
Richard Davey
3bf3057da0 WebGLRenderer.setScissor will default the drawingBufferHeight if no argument is provided, stopping NaN scissor heights. 2019-06-25 23:03:57 +01:00
Richard Davey
356c57c07b The Shader will no longer set uniforms if the values are null, saving on GL ops. 2019-06-25 22:49:30 +01:00
Richard Davey
a61207b890 Math.ToXY is a new mini function that will take a given index and return a Vector2 containing the x and y coordinates of that index within a grid. 2019-06-25 16:57:05 +01:00
Richard Davey
45bfaeacfb Update CHANGELOG.md 2019-06-24 12:31:49 +01:00
Richard Davey
0d42bb2944 Update CHANGELOG.md 2019-06-24 10:58:47 +01:00
Richard Davey
9c4fdf88e5 Update CHANGELOG.md 2019-06-24 00:14:38 +01:00
Richard Davey
5bbd10b4c4 Update CHANGELOG.md 2019-06-22 11:38:28 +01:00
Richard Davey
4b41c64ced Update CHANGELOG.md 2019-06-22 11:34:47 +01:00
Richard Davey
bb29aed88a Matter.Factory.constraint wouldn't allow a zero length constraint to be created due to a falsey check of the length argument. You can now set length to be any value, including zero, or leave it undefined to have it automatically calculated 2019-06-22 11:19:56 +01:00
Richard Davey
3f4e4fc7e4 Update CHANGELOG.md 2019-06-21 16:35:33 +01:00
Richard Davey
aabd6d13df Update CHANGELOG.md 2019-06-21 16:10:29 +01:00
Richard Davey
e2a197eb1b Update CHANGELOG.md 2019-06-21 10:53:30 +01:00
Richard Davey
44408b3ea4 Update CHANGELOG.md 2019-06-20 09:59:05 +01:00
Richard Davey
db433656c3 Preparing for 3.19 dev 2019-06-19 17:02:27 +01:00
Richard Davey
b852ac5985 Update CHANGELOG.md 2019-06-19 15:52:13 +01:00
Richard Davey
6c575ca20e Arcade.Events.WORLD_STEP is a new event you can listen to. It is emitted by the Arcade Physics World every time the world steps once. It is emitted _after_ the bodies and colliders have been updated. Fix #4289 2019-06-19 15:41:45 +01:00
Richard Davey
9a5a369423 Update CHANGELOG.md 2019-06-19 15:30:59 +01:00
Richard Davey
ae591c1c34 Timeline.setTimeScale would only impact the Timeline loop and completion delays, not the actively running Tweens. It now scales the time for all child tweens as well. Fix #4164 2019-06-19 12:34:41 +01:00
Richard Davey
6d173434eb Looped Tween Timelines would mess-up the tween values on every loop repeat, causing the loop to fail. They now loop correctly due to a fix in the Tween.play method. Fix #4558 2019-06-19 12:23:24 +01:00
Richard Davey
8f22f37dca Tween.restart wouldn't restart the tween properly. Fix #4594 2019-06-19 11:05:27 +01:00
Richard Davey
d71529b4c0 Update CHANGELOG.md 2019-06-19 10:41:51 +01:00
Richard Davey
3be81dc6b6 Update CHANGELOG.md 2019-06-19 09:46:41 +01:00
Richard Davey
3a74ee9a27 Update CHANGELOG.md 2019-06-19 09:29:01 +01:00
Richard Davey
19c6c94899 Update CHANGELOG.md 2019-06-17 19:48:47 +01:00
Richard Davey
18f8ee5c31 Update CHANGELOG.md 2019-06-12 12:35:43 +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
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
4f36fe15fa Update CHANGELOG.md 2019-06-11 16:06:11 +01:00
Richard Davey
2cc42f1a32 Update CHANGELOG.md 2019-06-11 14:31:23 +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
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