Richard Davey
|
4beffe842a
|
Texture batching during the batch flush has been implemented in the TextureTintPipeline which resolves the issues of very low frame rates, especially on iOS devices, when using non-batched textures such as those used by Text or TileSprites.
|
2018-10-12 15:06:10 +01:00 |
|
Richard Davey
|
4b1c762296
|
Updated @memberOf to @memberof
|
2018-10-10 10:49:13 +01: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
|
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
|
c704dc450a
|
Fixed jsdoc definitions
|
2018-09-25 11:36:36 +01:00 |
|
Richard Davey
|
8bc4d06831
|
Added IsoTriangle and project setting
|
2018-09-07 14:23:25 +01:00 |
|
Richard Davey
|
5e126b80fa
|
Parent matrix and now optional and it won't draw a line cap unless the first point has been set
|
2018-09-06 15:07:36 +01:00 |
|
Richard Davey
|
0b95ed0478
|
Fixed scissors when using a small cam with render texture
|
2018-08-31 16:25:04 +01:00 |
|
Richard Davey
|
cb0eeb3d63
|
Added default blank frame for custom pipelines #3978
|
2018-08-24 23:58:27 +01:00 |
|
Richard Davey
|
22bc6d2a86
|
The batchTexture method in the Texture Tint Pipeline now supports cropped Game Objects and will adjust the drawn texture frame accordingly.
|
2018-08-03 18:54:48 +01:00 |
|
Richard Davey
|
2220faba49
|
Removed un-used method
|
2018-08-01 15:20:10 +01:00 |
|
Richard Davey
|
be379fd3a1
|
Added batchTextureFrame method
|
2018-07-31 17:10:02 +01:00 |
|
Richard Davey
|
6749417ef3
|
lint fix
|
2018-07-27 11:19:19 +01:00 |
|
Richard Davey
|
9331c15c48
|
Updated to use tint object.
|
2018-07-27 02:14:08 +01:00 |
|
Richard Davey
|
4481795d32
|
Swapped to using getX / getY
|
2018-07-27 00:53:00 +01:00 |
|
Richard Davey
|
4bdecf488b
|
jsdocs tweaks
|
2018-07-26 23:41:52 +01:00 |
|
Richard Davey
|
d093f35e5c
|
Merged all of the required FTP methods into TTP.
|
2018-07-26 16:34:04 +01:00 |
|
Richard Davey
|
947d301f42
|
Removed the unit batch from TTP and put it into FDLP
|
2018-07-26 15:31:44 +01:00 |
|
Richard Davey
|
2924874236
|
Added docs
|
2018-07-12 01:13:47 +01:00 |
|
Richard Davey
|
a0bf5b6ad2
|
Removed all the batch functions and consolidated into a single function and callback
|
2018-07-11 16:55:18 +01:00 |
|
Richard Davey
|
05985417b3
|
Allow config setting values. Gets custom pipelines working again.
|
2018-07-11 16:24:45 +01:00 |
|
Richard Davey
|
82b15c8695
|
Removed drawEmitterManager and moved to emitter render function
|
2018-07-11 14:40:36 +01:00 |
|
Richard Davey
|
853281fe56
|
Double flusher
|
2018-07-11 13:22:07 +01:00 |
|
Richard Davey
|
373d01c602
|
Fixed emitter batch. Now to optimize it.
|
2018-07-11 13:20:02 +01:00 |
|
Richard Davey
|
e2efa469ae
|
Removed drawTexture and added drawTextureFrame - fixed Render Texture flip Y issue
|
2018-07-11 12:34:53 +01:00 |
|
Richard Davey
|
5b3a5e115b
|
Started consolidating drawTexture method
|
2018-07-10 17:18:00 +01:00 |
|
Richard Davey
|
340c53875c
|
Added new temp matrix, fixed typo, removed old function
|
2018-07-10 16:32:44 +01:00 |
|
Richard Davey
|
434c8d1413
|
Fixed issue with sprite matrix and camera scaling
|
2018-07-10 13:59:49 +01:00 |
|
Richard Davey
|
85a32d54be
|
Typo
|
2018-07-09 17:06:27 +01:00 |
|
Richard Davey
|
dd0490dd57
|
Removed batchBitmapText, tidied up and moved to its own renderer
|
2018-07-07 12:22:45 +01:00 |
|
Richard Davey
|
8b13631107
|
Removed batchMesh and moved to the Mesh WebGL Renderer. Another one bites the dust.
|
2018-07-06 19:35:46 +01:00 |
|
Richard Davey
|
325fb4681e
|
Tidying up
|
2018-07-05 23:55:00 +01:00 |
|
Richard Davey
|
5063fe30e5
|
Fixed cropping when texture frame is flipped
|
2018-07-05 23:01:26 +01:00 |
|
Richard Davey
|
341ecf42cd
|
Testing flip + atlas frame + trim cropping
|
2018-07-04 17:01:45 +01:00 |
|
Richard Davey
|
43fc988034
|
Moved crop UV handler to the Frame method. Cleaner and easier.
|
2018-07-04 15:18:08 +01:00 |
|
Richard Davey
|
ee8c1b403a
|
Fixed cropping with flipped images
|
2018-07-04 14:50:26 +01:00 |
|
Richard Davey
|
d44c54e5ed
|
batchSprite supports cropping (flipXY todo)
|
2018-07-03 16:48:14 +01:00 |
|
Richard Davey
|
d328f14be0
|
Fixed vertex calculation
|
2018-07-03 12:38:45 +01:00 |
|
Richard Davey
|
187328ea1a
|
UVs are passed directly now
|
2018-07-03 00:14:23 +01:00 |
|
Richard Davey
|
265852fc75
|
Removed test code
|
2018-07-02 17:09:21 +01:00 |
|
Richard Davey
|
35686657ce
|
Tidied up the batchVertices method and removed old stuff
|
2018-07-02 17:06:49 +01:00 |
|
Richard Davey
|
c1020c6dbb
|
Refactoring TTP to remove so much redundant stuff
|
2018-07-02 16:44:24 +01:00 |
|
Richard Davey
|
fe61cfe2d1
|
You can now set the WebGL batch size in the Game Config via the property batchSize . The default is 2000 before the batch will flush, which is a happy average between desktop and mobile. If targeting desktop specifically, you may wish to increase this value to reduce draw calls.
|
2018-07-02 12:33:46 +01:00 |
|
Richard Davey
|
1941d8a494
|
Removed drawStaticTilemapLayer method and updated layer vertex code
|
2018-07-02 12:07:39 +01:00 |
|
Richard Davey
|
fdead2af16
|
Added the tint effect attribute and merged with all the various batches
|
2018-06-30 11:33:52 +01:00 |
|
Richard Davey
|
e22b1a7b9c
|
Removed stubs from pipelines
|
2018-06-29 12:33:44 +01:00 |
|
Richard Davey
|
39c3866179
|
lint fix
|
2018-06-28 13:07:59 +01:00 |
|
Richard Davey
|
217779604c
|
Added tileScaleX and tileScaleY support for Tile Sprites
|
2018-06-28 12:59:27 +01:00 |
|
Richard Davey
|
8c312090da
|
Solidified use of pixelArt mode
|
2018-06-27 15:27:16 +01:00 |
|
Richard Davey
|
7a23378015
|
Unified use of roundPixels, antialias and pixelArt modes
|
2018-06-27 15:15:00 +01:00 |
|