Commit graph

13429 commits

Author SHA1 Message Date
Richard Davey
342ad984ac TextureSource.setFilter will now set the scaleMode to the given filter. 2019-10-01 14:42:30 +01:00
Richard Davey
55c73d399b GameObject.ToJSON will no longer output the scaleMode in the json because it's not a valid Game Object property. 2019-10-01 14:41:58 +01:00
Richard Davey
ea7691518b Use public property for blend mode check #4771 2019-10-01 14:08:13 +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
2c5b552bd5 Formatting tweak 2019-10-01 13:29:05 +01:00
Richard Davey
b78dbd81ac Moved author block and fixed Body reset issue 2019-10-01 13:28:59 +01:00
Richard Davey
f16a16ba7d
Merge pull request #4729 from Gamefroot/arcade-physics-fps-fixes
Arcade physics fps fixes
2019-10-01 13:17:41 +01:00
Richard Davey
ce29cb25ae Update CHANGELOG.md 2019-10-01 13:12:58 +01:00
Richard Davey
a993277b2f
Merge pull request #4773 from rexrainbow/bob-tint
Add tint feature of bob
2019-10-01 13:07:51 +01:00
Hua
8a9e74ffe9 Add tint feature of bob 2019-10-01 10:17:14 +08:00
Hua
eba0cd5f6e Merge branch 'master' of https://github.com/rexrainbow/phaser 2019-10-01 09:46:20 +08: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
b03ae6a9ad Typo fix 2019-09-30 14:24:52 +01:00
Richard Davey
9616e8187a MultiAtlasFiles would incorrectly add the atlas JSON into the JSON cache, causing you to not be able to destroy and reload the texture using the same atlas key as before. Fix #4720 2019-09-30 14:24:16 +01:00
Richard Davey
b2b7301bdd Update CHANGELOG.md 2019-09-30 14:12:20 +01:00
Richard Davey
4a5a81e0f2 MultiFile key fix. 2019-09-30 14:12:17 +01:00
Richard Davey
2f976acb13 If more than one MultiAtlasFile used the same internal file name for its images, subsequent multi-atlases would fail to load. Fix #4330 2019-09-30 14:11:29 +01:00
Richard Davey
2829d27e8a Fixed return type. Fix #4772 2019-09-30 13:32:14 +01:00
Richard Davey
d67a71efc8 New Spine Plugin dist build 2019-09-27 16:18:00 +01:00
Richard Davey
cb32eef1d9 Update CHANGELOG.md 2019-09-27 16:11:51 +01:00
Richard Davey
62ffdeca3d Now using setSkin for 3.8 runtimes. 2019-09-27 16:11:48 +01:00
Richard Davey
973bf76b14 MultiAtlasFiles that loaded their own external images would obtain incorrect path and URL values if the path had been changed by another file in the queue. They now retain the loader state and apply it to all child files during load. 2019-09-27 16:11:30 +01:00
Richard Davey
b82d809ec6 Using Loader.setPath to define the Spine assets locations could error if trying to load multiple files from different folders. It will now retain the path state at the time of invocation, rather than during the load. 2019-09-27 16:11:15 +01:00
Richard Davey
999967c772 MultiFile has three new internal properties: baseURL, path and prefix which allow them to retain the state of the loader at the time of creation, to be passed on to all child-files. Fix #4679. 2019-09-27 16:06:51 +01:00
Richard Davey
f9785d58e8 Fixed issue with factory functions 2019-09-27 16:04:15 +01:00
Richard Davey
32ba59e4b6 Update CHANGELOG.md 2019-09-27 15:44:13 +01:00
Richard Davey
cde1210523 The Container WebGLRenderer will now handle child new type switching, allowing you to carry on with a batch of same-type Game Objects even if they're nested within Containers. Fix #4710 2019-09-27 15:41:51 +01:00
Richard Davey
5d75a4a7da The Spine Game Object will no longer set the default skin name to be 'default', it will leave the name empty. Fix #4764 2019-09-27 13:48:17 +01:00
Richard Davey
af53cf6a02 Update CHANGELOG.md 2019-09-27 13:44:43 +01:00
Richard Davey
f2a0594c40 New Debug Plugin build 2019-09-27 13:44:38 +01:00
Richard Davey
4462c98b89 Removed commented-out code 2019-09-27 13:44:12 +01:00
Richard Davey
850d46bde3 Fixed Texture Atlas cache issue, Scene Renderer disposal and GameObjectFactory bindings 2019-09-27 13:43:56 +01:00
Richard Davey
467e18598a Upgraded to Spine 3.8 runtimes 2019-09-27 11:29:58 +01:00
Richard Davey
b354b3ad52 Added Spine 3.8 TypeScript defs 2019-09-27 11:29:42 +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
1d30497a8f
Merge pull request #4745 from yhwh/enhancement/WebGLPipeline
update vertexComponentCount in WebGLPipeline addAttribute
2019-09-26 12:41:35 +01:00
Richard Davey
f3e18000f2
Merge pull request #4760 from rexrainbow/blitter-enhancement
Set dirty flag only when render state of bob is changed
2019-09-26 12:32:34 +01:00
Richard Davey
7584b9b17f
Merge pull request #4752 from funnisimo/separateCircle
FIX #4751 - Physics.Arcade.World.separateCircle - weird effects when …
2019-09-26 12:30:18 +01:00
Richard Davey
800aac5820
Merge pull request #4749 from funnisimo/hitTest
Fix for Issue #4748 - Physics.Arcade.Body.hitTest - bug with circles
2019-09-26 12:27:14 +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