Richard Davey
56c26cfd18
Updated log
2018-09-29 11:21:48 +01:00
Richard Davey
3c4e6cda80
Arcade Physics shutdown
will check to see if the world instance still exists and only try removing it if so. This prevents errors when stopping a world and then destroying it at a later date.
2018-09-29 11:21:41 +01:00
Richard Davey
8b5d0a3af1
Text.setFont
, Text.setFontFamily
, Text.setFontStyle
and Text.setStroke
will no longer re-measure the parent Text object if their values have not changed.
2018-09-29 11:21:31 +01:00
Richard Davey
38cacfd9f7
Added new jsdocs
2018-09-28 16:37:55 +01:00
Richard Davey
b687f051e9
Added new jsdocs
2018-09-28 15:00:55 +01:00
Richard Davey
c16ea9b93d
Completed DynamicTilemapLayer jsdocs
2018-09-28 14:46:31 +01:00
Richard Davey
5115847791
Finished all the Tilemap component descriptions
2018-09-28 14:32:36 +01:00
Richard Davey
43067aa30e
Completed Tilemap class docs
2018-09-28 14:02:12 +01:00
Richard Davey
99ba77c29d
Added jsdocs.
2018-09-28 12:45:01 +01:00
Richard Davey
3aef1e8a65
Set.size
will now only set the new size if the value is smaller than the current size, truncating the Set in the process. Values larger than the current size are ignored.
...
Plus added jsdocs.
2018-09-28 12:44:55 +01:00
Richard Davey
c237209bb8
Added new jsdocs
2018-09-28 12:19:21 +01:00
Richard Davey
be5b325fa1
Merge pull request #4072 from samme/docs/GameConfig
...
GameConfig docs
2018-09-28 11:08:24 +01:00
Richard Davey
314e5a496a
Merge pull request #4063 from samme/docs/arcade-physics-2
...
Arcade Physics docs
2018-09-28 11:08:04 +01:00
Richard Davey
37076516e2
Merge branch 'master' into docs/arcade-physics-2
2018-09-28 11:07:44 +01:00
Richard Davey
5a4d1e53c1
Merge branch 'master' of https://github.com/photonstorm/phaser
2018-09-28 11:04:27 +01:00
Richard Davey
818a28073f
Added jsdocs
2018-09-28 11:04:19 +01:00
Richard Davey
534814adb0
Merge pull request #4065 from rgk/patch-4
...
Matter.js Force Component Docs
2018-09-28 11:03:34 +01:00
Richard Davey
24fdcb5ffd
New docs
2018-09-28 10:32:58 +01:00
samme
eaec923245
GameConfig docs
2018-09-27 15:37:54 -07:00
Richard Davey
3944e580cc
Fixed an error in the batchSprite
methods in the Canvas and WebGL Renderers that would incorrectly set the frame dimensions on Sprites with the crop component. This was particularly noticeable on Sprites with trimmed animation frames
2018-09-27 16:49:52 +01:00
Richard Davey
5ad4c8dc2b
All of the Animation Events now pass the Game Object as the final argument, this includes animationstart
, animationrestart
, animationrepeat
, animationupdate
and animationcomplete
.
2018-09-27 15:55:16 +01:00
Richard Davey
82ddc031c7
Added new batch of jsdocs
2018-09-27 15:29:32 +01:00
Richard Davey
d8fcde46c3
When using CanvasTexture.refresh
or Graphics.generateTexture
it would throw WebGL warnings like 'bindTexture: Attempt to bind a deleted texture'. This was due to the Frames losing sync with the glTexture reference used by their TextureSource. Fix #4050
2018-09-27 14:16:22 +01:00
Richard Davey
a17b0c2e6c
jsdoc fixes
2018-09-27 14:16:09 +01:00
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
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