Richard Davey
|
f4002471d7
|
Updated context lost / restored handlers
|
2019-07-17 16:38:00 +01:00 |
|
Richard Davey
|
e012115df4
|
DynamicTilemapLayer.destroy will now no longer run its destroy sequence again if it has already been run once. Fix #4634
|
2019-07-03 15:53:47 +01:00 |
|
Richard Davey
|
c91ed91ce3
|
License link update
|
2019-05-10 16:15:04 +01:00 |
|
Richard Davey
|
a6341a97a8
|
Fixed Types references
|
2019-05-09 15:32:53 +01:00 |
|
Richard Davey
|
44faa01578
|
Tilemap Types
|
2019-05-09 12:39:19 +01:00 |
|
Richard Davey
|
0514d27efc
|
Added new argument removeFromTilemap
|
2019-04-08 15:59:30 +01:00 |
|
Richard Davey
|
d63321eba5
|
Layers now remove themselves from the Tilemap when destroyed. Fix #4319
|
2019-04-08 15:45:43 +01:00 |
|
Richard Davey
|
780b0bca90
|
Removed missing component
|
2019-03-25 12:54:49 +00:00 |
|
Richard Davey
|
e017691c68
|
The ScaleMode Component has been removed from every Game Object, and along with it the scaleMode property and setScaleMode method. These did nothing anyway as they were not hooked to the render pipeline and scale mode should be set on the texture, not the Game Object. Fix #4413
|
2019-03-24 23:07:27 +00:00 |
|
Richard Davey
|
4fc817c519
|
Final batch of typedefs
|
2019-02-13 16:06:00 +00:00 |
|
Richard Davey
|
348306cafb
|
Lots more jsdoc fixes and new documentation
|
2019-01-31 14:47:50 +00:00 |
|
Richard Davey
|
4f6f6ee72f
|
Lots of jsdoc and type fixes
|
2019-01-31 12:19:01 +00:00 |
|
Richard Davey
|
1eccff1e3b
|
Fixed jsdoc links and markdown bullet lists
|
2019-01-18 15:20:56 +00:00 |
|
Richard Davey
|
aa341854c7
|
Happy New Year
|
2019-01-15 16:20:22 +00:00 |
|
Richard Davey
|
aae1cf5ae5
|
Tidying up
|
2018-12-13 13:10:31 +00:00 |
|
Richard Davey
|
ffd217dbdd
|
Fixed size calculation and updated docs
|
2018-12-13 11:46:17 +00:00 |
|
Richard Davey
|
eef553d4c2
|
Fixed layer size calculations. Also changed rendering to use tileset tile sizes, as it should do.
|
2018-12-13 11:07:53 +00:00 |
|
Richard Davey
|
6f8759c186
|
Whenever Camera.roundPixels was enabled it would use a bitwise operation to truncate the float (x |= 0 ) - this has been replaced across all files that used it, with a call to Math.round instead. This gives far better results when zooming cameras both in and out of a Scene, stopping thin gaps appearing between closely packed Game Objects.
|
2018-11-30 10:27:25 +00:00 |
|
Richard Davey
|
956a0913b8
|
Added new jsdocs
|
2018-10-22 12:12:31 +01:00 |
|
Richard Davey
|
4c4421c47f
|
Docjam merge
|
2018-10-19 12:32:43 +01:00 |
|
Richard Davey
|
4b1c762296
|
Updated @memberOf to @memberof
|
2018-10-10 10:49:13 +01:00 |
|
Richard Davey
|
a9063604dc
|
Replace @readOnly with @readonly
|
2018-10-09 13:40:00 +01:00 |
|
Richard Davey
|
1b85512de2
|
Fixed a bug in the canvas rendering of both the Static and Dynamic Tilemap Layers where the camera matrix was being multiplied twice with the layer, causing the scale and placement to be off
|
2018-10-02 12:51:02 +01:00 |
|
Richard Davey
|
0d5b209259
|
Consolidated gidMap creation
|
2018-09-27 13:09:23 +01:00 |
|
Richard Davey
|
d92c7bf5b0
|
Added setTilesets method.
|
2018-09-27 12:12:29 +01:00 |
|
Richard Davey
|
53b57ccbab
|
Clear arrays on destroy and updated docs
|
2018-09-27 11:48:04 +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
|
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
|
838cdfc418
|
Added renderOrder property, setRenderOrder method and updated upload to use the setting.
|
2018-08-21 18:01:47 +01:00 |
|
Richard Davey
|
702e738ffc
|
When a Static Tilemap Layer is generated in WebGL it will use the Cameras roundPixels value to clamp the tile coordinates.
|
2018-08-06 14:16:36 +01:00 |
|
Richard Davey
|
4deb8e49ad
|
eslint fixes
|
2018-08-03 19:37:42 +01:00 |
|
Richard Davey
|
e8e32ecf2c
|
Swap look-up for direct reference
|
2018-08-03 18:56:12 +01:00 |
|
Richard Davey
|
70b234952a
|
Updated the canvas tilemap layer renderers to support parent matrix and tidied up the internal flow
|
2018-08-03 00:50:45 +01:00 |
|
Richard Davey
|
6ef7033b44
|
Added in parent matrix support and refactored the drawing
|
2018-08-03 00:42:27 +01:00 |
|
Richard Davey
|
318cc87e59
|
Use proper matrix for static layer, so we can do fun things with Render Textures
|
2018-08-02 22:15:08 +01:00 |
|
Richard Davey
|
8135b687fb
|
Added all the missing cull methods and properties into the Static Tilemap Layer, which is used by the Canvas Renderer
|
2018-08-02 22:14:51 +01:00 |
|
Richard Davey
|
0967bfcab4
|
Should use currentContext, not gameContext
|
2018-08-02 17:59:30 +01:00 |
|
Richard Davey
|
f540d03346
|
Removed un-needed checks (willRender handles it now)
|
2018-08-01 16:03:58 +01:00 |
|
ampled
|
50c787a9c8
|
- add typedef for SpriteConfig extends GameObjectConfig
- allow update-function signature to be overriden by GameObject subclasses
|
2018-07-29 12:19:04 +02:00 |
|
Richard Davey
|
4b607a3cca
|
Removed cull tests
|
2018-07-12 16:32:12 +01:00 |
|
Richard Davey
|
869087044b
|
Starting work on proper tile culling
|
2018-07-12 01:14:34 +01:00 |
|
Richard Davey
|
d9ac16bcb0
|
Shorter texture path
|
2018-07-12 01:14:02 +01:00 |
|
Richard Davey
|
1941d8a494
|
Removed drawStaticTilemapLayer method and updated layer vertex code
|
2018-07-02 12:07:39 +01:00 |
|
Richard Davey
|
c6c9b25fdc
|
Camera.alpha (and its related method Camera.setAlpha ) allows you to get an alpha level for the entire camera. This impacts everything it is rendering, even if those objects also have their own alpha values too. You can tween the property to make the camera contents fade in / out, or you can set it as needed in your game.
|
2018-06-25 17:35:36 +01:00 |
|
Richard Davey
|
5a0fe89a7e
|
Swap _id to id
|
2018-06-23 12:26:39 +01:00 |
|
Richard Davey
|
6299019838
|
Updated to use typeof DefinePlugin check.
|
2018-04-20 00:23:24 +01:00 |
|
Richard Davey
|
28e2764723
|
More jsdoc fixes
|
2018-04-16 16:02:27 +01:00 |
|
Richard Davey
|
18585de81d
|
Lots of jsdoc fixes
|
2018-04-16 14:43:24 +01:00 |
|
Richard Davey
|
e31cae93d2
|
Tilemap Layers should use the ComputedSize component
|
2018-04-05 14:43:07 +01:00 |
|