Commit graph

569 commits

Author SHA1 Message Date
Richard Davey
c2f77a858b Updated log 2018-09-27 13:09:47 +01:00
Richard Davey
aff073a6c0 Updated log 2018-09-27 12:12:33 +01:00
Richard Davey
e5e8f84e96 Updated log 2018-09-27 11:47:56 +01:00
Richard Davey
bed4abc8ed Updated ParseTilesets function to handle Tiled 1.2 and 1.1 formats 2018-09-27 00:41:11 +01:00
Richard Davey
8cc7650f8c Arcade Physics Bodies will now sync the display origin of the parent Game Object to the body properties as part of the updateBounds call. 2018-09-26 17:15:22 +01:00
Richard Davey
32bd01daba If you used a scaled Dynamic Tilemap Layer and rotated or flipped tiles, the tiles that were rotated or flipped would be positioned incorrectly in WebGL. Fix #3778 2018-09-26 16:49:18 +01:00
Richard Davey
6fef0fb57e The Device.OS check for node will now do a typeof first to avoid issues with rollup packaged builds needing to shim the variable out. Fix #4058 2018-09-26 16:36:45 +01:00
Richard Davey
849de9020c Updated log 2018-09-26 16:32:48 +01:00
Richard Davey
b4e59405b4 Calling Tilemap.renderDebug ignored the layer scale when drawing to the Graphics object. It will now scale the layer before drawing. Fix #4026 2018-09-26 16:18:44 +01:00
Richard Davey
c0e5197f7c Static Tilemap Layers now support tile rotation and flipping. Previously this was a feature only for Dynamic Tilemap Layers, but now both have it. Close #4037 2018-09-26 16:07:32 +01:00
Richard Davey
94d21da3ca The Static Tilemap Layer would stop drawing all tiles from that point on, if it encountered a tile which had invalid texture coordinates (such as a tile from another tileset). It now skips invalid tiles properly again. Fix #4002 2018-09-26 15:27:19 +01:00
Richard Davey
e9417825f0 Updated change log 2018-09-26 14:15:45 +01:00
Richard Davey
eb09c35056 The poly-decomp library, as used by Matter.js, has been updated to 0.3.0. 2018-09-26 11:08:55 +01:00
Richard Davey
684838aabe Polygon.setTo can now take a string of space separated numbers when creating the polygon data, i.e.: '40 0 40 20 100 20 100 80 40 80 40 100 0 50'. This update also impacts the Polygon Shape object, which can now also take this format as well. 2018-09-26 11:01:48 +01:00
Richard Davey
ef3f6c0348 The Shape.Line object was missing a lineWidth property unless you called the setLineWidth method, causing the line to not render in Canvas only. Fix #4068 2018-09-26 09:33:09 +01:00
Richard Davey
2985a97c56 TileSet.getTileData() has been updated so it will return tile data from either Tiled 1.1.x or the new Tiled 1.2.x JSON structure. Fix #3998 2018-09-25 16:20:34 +01:00
Richard Davey
600b226337 Updated log 2018-09-25 16:12:15 +01:00
Richard Davey
37d7b7b32d The Loader has been updated to handle the impact of you destroying the game instance while still processing files. It will no longer throw cache and texture related errors. Fix #4049 2018-09-25 15:54:13 +01:00
Richard Davey
df8c0d8673 Calling Tilemap.renderDebug ignored the layer world position when drawing to the Graphics object. It will now translate to the layer position before drawing. Fix #4061 2018-09-25 15:37:46 +01:00
Richard Davey
41920b07cc Tilemap.setBaseTileSize now sets the size into the LayerData baseTileWidth and baseTileHeight properties accordingly. Fix #4057 2018-09-25 15:19:57 +01:00
Richard Davey
2812bff0ee Sprites now have preDestroy method, which is called automatically by destroy. The method destroys the Animation component, unregistering the remove event in the process and freeing-up resources. Fix #4051 2018-09-25 15:11:15 +01:00
Richard Davey
e94d92518d GameObjects added to and removed from Containers no longer listen for the shutdown event at all 2018-09-25 15:00:23 +01:00
Richard Davey
89b9f42f3e Adding jsdocs 2018-09-24 23:20:43 +01:00
Richard Davey
f869794346 Preparing for 3.14 work 2018-09-20 17:20:26 +01:00
Richard Davey
28d3336bd3 Updated change log and readme 2018-09-20 16:57:25 +01:00
Richard Davey
cd0bc6ae58 Updated log 2018-09-20 14:13:24 +01:00
Richard Davey
0646843d49 Updated log and docs 2018-09-19 14:13:55 +01:00
Richard Davey
9b812f8394 Calling setFrame on a TileSprite wouldn't change the frame, it would just change the frame size. Fix #4039 2018-09-18 11:18:00 +01:00
Richard Davey
754fc4f622 RenderTexture.resize wouldn't correctly resize the texture under WebGL. Fix #4034 2018-09-17 11:48:34 +01:00
Richard Davey
5ec26fa62d Cameras now emit prerender and postrender events if they are set to render to textures. 2018-09-14 15:53:06 +01:00
Richard Davey
e92a01985e If you destroyed a Game Object that had a custom cursor set during one of its input events the cursor didn't correctly reset. Fix #4033 2018-09-14 14:48:53 +01:00
Richard Davey
78874b6d78 Updated the change log 2018-09-14 14:03:44 +01:00
Richard Davey
2102653416 Updated change log 2018-09-14 12:33:27 +01:00
Richard Davey
b8302a7f08 Updated log 2018-09-14 10:36:24 +01:00
Richard Davey
aeda1c042b If a Scene is already active (i.e. running) and you call start on it (such as from another Scene) then it will shutdown the Scene first, before starting it again. 2018-09-13 16:32:02 +01:00
Richard Davey
5e6f52a0f7 Updated log 2018-09-13 13:31:03 +01:00
Richard Davey
1db44806ed Updated log 2018-09-13 09:30:32 +01:00
Richard Davey
37d5de50cc Updated log 2018-09-12 16:30:07 +01:00
Richard Davey
0a152949cb Added setLineSpacing method and docs. 2018-09-12 16:29:38 +01:00
Richard Davey
a418995c15 Fixed jsdoc versions and updated them for #4019 2018-09-12 15:34:48 +01:00
Richard Davey
6d7ca32e6d Game Objects would not remove themselves from the Scene's shutdown event handler when destroyed, leading to a build-up over time 2018-09-12 15:06:13 +01:00
Richard Davey
0436f1ff6d If you flagged a Tween as paused in its config, never started it, and then called Tween.stop it wouldn't ever be removed from the _pending array. It's now moved to the Tween Manager's destroy list, ready for removal on the next frame. Fix #4023 2018-09-12 14:54:08 +01:00
Richard Davey
b1771a17dd Updated InputPlugin event specificity flow and added stopPropagation support 2018-09-12 12:38:08 +01:00
Richard Davey
4d05e5ce7d Updated change log 2018-09-10 20:44:28 +01:00
Richard Davey
0350e0d078 Updated change log 2018-09-10 11:29:35 +01:00
Richard Davey
dedc939fdd initPipeline now defaults to the Texture Tint Pipeline if nothing else is specified. 2018-09-05 11:19:02 +01:00
Richard Davey
dff9bdef9f The Graphics Canvas Renderer will now automatically call beginPath on the target context before processing the command stack. This has the effect of clearing off any sub-paths that may have persisted on the stack from previous Graphics objects or frames. 2018-09-04 23:33:38 +01:00
Richard Davey
8216c11143 Updated log 2018-09-04 22:45:30 +01:00
Richard Davey
5b98386677 Calling Text.setStyle would make the Text vanish if you didn't provide a resolution property in the style configuration object. Calling setStyle now only changes the properties given in the object, leaving any previously changed properties as-is. Fix #4011 2018-09-04 22:43:25 +01:00
Richard Davey
03aeaefe21 Preparing for 3.13 development 2018-09-04 16:01:42 +01:00