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 |
|
Felipe Alfonso
|
e50c42e0b8
|
Fixed issue with static tilemap layer not getting the real texture dimension
issue ref: https://github.com/photonstorm/phaser/issues/3407
|
2018-04-03 13:24:14 -03:00 |
|
Richard Davey
|
747f09af86
|
jsdoc fixes
|
2018-03-28 15:04:09 +01:00 |
|
orblazer
|
9375bb0530
|
Fix multiple types on Tilemaps
|
2018-03-20 16:11:33 +01:00 |
|
orblazer
|
30f410d1d3
|
Fix types in Tilemaps
|
2018-03-20 12:36:35 +01:00 |
|
Richard Davey
|
edf1aa7cc1
|
The onContextRestored callback won't be defined any more unless the WebGL Renderer is in use in the following objects: BitmapMask, Static Tilemap, TileSprite and Text. This should allow those objects to now work in HEADLESS mode. Fix #3368
|
2018-03-12 13:37:13 +00:00 |
|
Felipe Alfonso
|
6293233488
|
Implemented static tilemap layer scale and tilemap alpha
|
2018-02-22 01:16:10 -03:00 |
|
Felipe Alfonso
|
a218cd5f4a
|
Fixed issue with vertex buffer creation on Static Tilemap Layer
|
2018-02-22 01:07:43 -03:00 |
|
Richard Davey
|
e1554c34d6
|
eslint fixes
|
2018-02-16 18:07:49 +00:00 |
|
Felipe Alfonso
|
74abb96211
|
Added alpha and tint to static tilemap layer. Fixed BitmapMask binding resources issue.
|
2018-02-14 16:45:22 -03:00 |
|
Richard Davey
|
d1f5f8a82b
|
Added jsdocs
|
2018-02-12 16:01:21 +00:00 |
|
Richard Davey
|
d79cffec39
|
Added jsdocs
|
2018-02-08 02:21:27 +00:00 |
|
Richard Davey
|
cf6bbbd0fb
|
Added jsdocs
|
2018-02-08 01:08:59 +00:00 |
|
Richard Davey
|
e8c12d164b
|
Added and updated jsdocs
|
2018-02-07 23:40:59 +00:00 |
|
Richard Davey
|
10193c181a
|
Fixed require paths.
|
2018-02-07 17:10:01 +00:00 |
|