Richard Davey
b45df05ddb
Updated to get the frame names
2018-09-27 14:15:58 +01:00
Richard Davey
ab48c1c479
The Texture.getFramesFromTextureSource
method has a new boolean argument includeBase
, which defaults to false
and allows you to set if the base frame should be returned into the array or not.
...
The `Texture.getFramesFromTextureSource` method was returning an array of Frame names by mistake, instead of Frame references. It now returns the Frames themselves.
2018-09-27 14:11:14 +01:00
Richard Davey
c2f77a858b
Updated log
2018-09-27 13:09:47 +01:00
Richard Davey
95d4651db8
Dynamic Layers support multiple tilesets now
2018-09-27 13:09:40 +01:00
Richard Davey
0d5b209259
Consolidated gidMap creation
2018-09-27 13:09:23 +01:00
Richard Davey
e05f7c7ed0
Dynamic Tilemap Layers now support multiple tilesets per layer
2018-09-27 13:09:08 +01:00
Richard Davey
aff073a6c0
Updated log
2018-09-27 12:12:33 +01:00
Richard Davey
d92c7bf5b0
Added setTilesets
method.
2018-09-27 12:12:29 +01:00
Richard Davey
d59f772d66
Tilemap.getTileset
is a new method that will return a Tileset based on its name.
2018-09-27 12:12:16 +01:00
Richard Davey
53b57ccbab
Clear arrays on destroy and updated docs
2018-09-27 11:48:04 +01:00
Richard Davey
e5e8f84e96
Updated log
2018-09-27 11:47:56 +01:00
Richard Davey
07e1f07caf
Added support for Static Tilemap Layers to support multiple Tilesets per layer.
2018-09-27 11:34:37 +01:00
Richard Davey
c1d6e438cc
Removed un-used property.
2018-09-27 11:34:13 +01:00
Richard Davey
39c55ef719
Made warnings shorter.
2018-09-27 11:33:58 +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
samme
adb2181a8a
Add docs for groups and Arcade.Factory
2018-09-26 12:25:09 -07:00
samme
536555236f
Add PhysicsGroupConfig.enable, Arcade.Body#setEnable()
2018-09-26 10:25:45 -07: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
945a2eb0fb
TextureTintPipeline.batchTexture
has a new optional argument skipFlip
which allows you to control the internal render texture flip Y check.
2018-09-26 16:32:41 +01:00
Richard Davey
25f8d29659
If you used a RenderTexture as a tileset then Dynamic Tilemap Layers would render the tiles inversed on the y-axis in WebGL. Fix #4017
2018-09-26 16:32:27 +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
9c5876ffb0
Skip conditional if fromVerts given. Correctly set parts reference.
2018-09-26 14:15:38 +01:00
Richard Davey
80f7539a41
Matter.verts
, available via this.matter.verts
from within a Scene, is a quick way of accessing the Matter Vertices functions.
2018-09-26 14:13:03 +01:00
Richard Davey
df7245e3c5
Added all of the new Matter debug rendering options
2018-09-26 14:12:20 +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
samme
6a8e5d2082
Correct descriptions for customSeparateX, customSeparateY
2018-09-25 13:25:47 -07:00
Robert Kowalski
bf38ce9fd4
Revsions based on Comments
...
Updated, better?
2018-09-25 11:31:18 -04:00
Richard Davey
13a72f961e
lint fix
2018-09-25 16:23:14 +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
2d9477680b
Merge branch 'master' of https://github.com/photonstorm/phaser
2018-09-25 16:12:30 +01:00
Richard Davey
600b226337
Updated log
2018-09-25 16:12:15 +01:00
Richard Davey
9b09d32426
Merge pull request #4062 from s-s/bugfix-4010
...
#4010 fix
2018-09-25 16:10:12 +01:00
Richard Davey
91f15a9046
Merge pull request #4060 from felipeprov/master
...
Fixed possible typo on UpdateList#shutdown
2018-09-25 15:56:43 +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
Robert Kowalski
0020745544
Quick space.
2018-09-25 07:15:11 -04:00
Robert Kowalski
185b19787e
Matterjs Gravity Component Doc
2018-09-25 07:14:32 -04:00
Richard Davey
c704dc450a
Fixed jsdoc definitions
2018-09-25 11:36:36 +01:00
Robert Kowalski
5d0d84fe55
Matter.js Force Component Docs
...
Checking if I did this well before I start jumping into multiple files.
2018-09-25 04:46:30 -04:00