mirror of
https://github.com/photonstorm/phaser
synced 2024-11-29 16:10:56 +00:00
1.2 KiB
1.2 KiB
Phaser 3.60.0 Change Log
Return to the Change Log index.
Canvas Renderer New Features
Canvas Renderer Updates
BlitterCanvasRenderer
will now skip thedrawImage
call in canvas if the frame width or height are zero.ParticleManagerCanvasRenderer
will now skip thedrawImage
call in canvas if the frame width or height are zero.CanvasSnapshot
will now skip thedrawImage
call in canvas if the frame width or height are zero.TextureManager.getBase64
will now skip thedrawImage
call in canvas if the frame width or height are zero.TilemapLayerCanvasRenderer
will now skip thedrawImage
call in canvas if the frame width or height are zero.
Canvas Renderer Bug Fixes
- The
CanvasRenderer.snapshotCanvas
method used an incorrect reference to the canvas, causing the operation to fail. It will now snapshot a canvas correctly. Fix #5792 #5448 (thanks @rollinsafary-inomma @samme @akeboshi1) - With
roundPixels
set to true in the game or camera config, Sprites will no longer render at sub-pixel positions under CANVAS. Fix #5774 (thanks @samme)
Return to the Change Log index.