Richard Davey
|
468bf7821d
|
Updated copyright year
|
2023-01-02 17:36:27 +00:00 |
|
Richard Davey
|
3abea4286f
|
When rendering a Sprite with a Camera set to roundPixels it will now run Math.floor on the Matrix position, preventing you from noticing 'jitters' as much when Camera following sprites in heavily zoomed Camera systems.
|
2022-09-29 22:11:02 +01:00 |
|
Richard Davey
|
9bc8826684
|
Specify the canvas is for drawing, not reading
|
2022-08-18 18:01:45 +01:00 |
|
Jonah Jeleniewski
|
e8c8be0385
|
Let texture scaleMode override the antialias setting under CANVAS
|
2022-06-11 18:07:29 +10:00 |
|
Richard Davey
|
59fbcc5ca3
|
Updated copyright year
|
2022-02-28 14:29:51 +00:00 |
|
J.C
|
7da6f4d747
|
in canvas mode, don't draw stuff with no size, it will throws error, and actually unnecessary.
|
2021-12-21 17:18:35 +08:00 |
|
Richard Davey
|
6cd7d6ce79
|
The Camera will now emit PRE_RENDER and POST_RENDER events under the Canvas Renderer. Fix #5729
|
2021-09-28 15:39:47 +01:00 |
|
Richard Davey
|
47bbde0e4b
|
With roundPixels set to true in the game or camera config, Sprites will no longer render at sub-pixel positions under CANVAS. Fix #5774
|
2021-09-28 15:34:46 +01:00 |
|
samme
|
8c2b1a7e35
|
Fix snapshotCanvas
Fixes #5792
|
2021-07-28 10:29:15 -07:00 |
|
Richard Davey
|
5176fcfacd
|
The Canvas Renderer will no longer run a fillRect if clearBeforeRender is false in the Game Config.
|
2021-02-04 16:06:47 +00:00 |
|
Richard Davey
|
08b304372c
|
Made the Render Events global, not WebGL specific and allowed Canvas Renderer to emit them too
|
2020-12-04 15:07:26 +00:00 |
|
Richard Davey
|
dab806e371
|
Can use same matrix
|
2020-12-04 12:00:23 +00:00 |
|
Richard Davey
|
681797ec9d
|
Fixed Canvas Renderer. Fix #5408
|
2020-11-26 10:04:51 +00:00 |
|
Richard Davey
|
02c34cd64e
|
Replace integer with number
|
2020-11-23 10:22:13 +00:00 |
|
Richard Davey
|
842b984b46
|
Update CanvasRenderer.js
|
2020-11-17 16:19:14 +00:00 |
|
Richard Davey
|
d3c70002ea
|
Removed use of _tempMatrix from all renderers
|
2020-11-06 09:44:29 +00:00 |
|
Richard Davey
|
e50339b144
|
Updated to use new filtered children list
|
2020-10-16 14:11:15 +01:00 |
|
Richard Davey
|
8119ce7da1
|
Fixed use of old camera private properties
|
2020-09-29 16:44:11 +01:00 |
|
Richard Davey
|
e2d775e083
|
Remove duplicate code
|
2020-09-23 12:06:22 +01:00 |
|
Richard Davey
|
6a966e3f3b
|
Removed interpolationPercentage parameter from all render methods, as it has never been used.
|
2020-09-14 15:33:58 +01:00 |
|
Richard Davey
|
37a9261ac4
|
The CanvasRenderer no longer reads or uses the Game Config resolution property.
|
2020-09-12 11:56:11 +01:00 |
|
Richard Davey
|
6374da052f
|
Fixed lint errors with PR #5193
|
2020-07-13 12:55:49 +01:00 |
|
scott.liu
|
2f98f463d2
|
format
|
2020-06-17 11:01:50 +08:00 |
|
scott.liu
|
7f4bbf9192
|
format
|
2020-06-17 10:59:25 +08:00 |
|
scott.liu
|
104a3b9e35
|
format
|
2020-06-17 10:56:17 +08:00 |
|
scott.liu
|
f607f1f521
|
#3673 fix nested mask behaviour for Phaser.CANVAS mode
|
2020-06-17 10:53:38 +08:00 |
|
Richard Davey
|
0eaf0c47b5
|
Respect Camera.renderToGame property
|
2020-01-27 23:35:52 +00:00 |
|
Richard Davey
|
ff65e69cd1
|
Changed copyright date to 2020
|
2020-01-15 12:07:09 +00:00 |
|
Richard Davey
|
b3ea5bddd2
|
SetTransform will now set the imageSmoothingEnabled context value based on the renderer and texture source scale mode.
|
2019-10-01 16:10:05 +01:00 |
|
Richard Davey
|
8d5c097720
|
Removed un-used import
|
2019-10-01 16:05:18 +01:00 |
|
Richard Davey
|
1cc5b1a66e
|
CanvasRenderer.antialias is a new property, populated by the game config property of the same name (or via the pixelArt property) that will tell the canvas renderer what to set image interpolation to during rendering of Sprites.
|
2019-10-01 14:54:40 +01:00 |
|
Richard Davey
|
f4002471d7
|
Updated context lost / restored handlers
|
2019-07-17 16:38:00 +01:00 |
|
Richard Davey
|
2df5335991
|
Added snapshotCanvas method
|
2019-07-15 17:02:46 +01:00 |
|
Richard Davey
|
5106b2c935
|
Animations with custom pivots, like those created in Texture Packer with the pivot option enabled, would be mis-aligned if flipped. They now render in the correct position, regardless of scale or flip on either axis. Fix #4155
|
2019-07-03 14:01:48 +01:00 |
|
Richard Davey
|
47b1d755a7
|
Fixed a bug in the WebGL and Canvas Renderers where a Sprite with a flipX or flipY value set would render the offset frames slightly out of place, causing the animation to appear jittery. Also, the sprite would be out of place by its origin. Fix #4636 #3813
|
2019-07-03 11:11:25 +01:00 |
|
Richard Davey
|
254eef9787
|
Use the event constant instead of a string
|
2019-06-06 15:56:45 +01:00 |
|
Richard Davey
|
12bcda98a6
|
Added support for a desynchronized context and alpha support in 2D
|
2019-06-04 19:13:49 +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
|
11d6f2e802
|
Renderer Types
|
2019-05-09 12:36:36 +01:00 |
|
Richard Davey
|
186970bd69
|
Render the Camera masks
|
2019-04-11 17:10:03 +01:00 |
|
Richard Davey
|
42cb39749f
|
Matter and Snapshot typedefs
|
2019-02-13 15:22:29 +00:00 |
|
Richard Davey
|
60542a25cc
|
Numerous jsdoc and TS related fixes
|
2019-02-04 17:16:08 +00:00 |
|
Richard Davey
|
f59f51ffd0
|
Added snapshotState, removed the old properties and added the new snapshotArea and snapshotPixel methods.
|
2019-01-25 17:28:39 +00:00 |
|
Richard Davey
|
1eccff1e3b
|
Fixed jsdoc links and markdown bullet lists
|
2019-01-18 15:20:56 +00:00 |
|
Richard Davey
|
e6b74304b5
|
Added Camera pre and post render events.
|
2019-01-17 12:02:14 +00:00 |
|
Richard Davey
|
aa341854c7
|
Happy New Year
|
2019-01-15 16:20:22 +00:00 |
|
Richard Davey
|
d7e7feed19
|
Dimensions are now set in the onResize handlers.
|
2019-01-11 16:44:08 +00:00 |
|
Richard Davey
|
e79404256f
|
Removed autoResize. Dimensions now taken from Scale Manager.
|
2019-01-10 13:41:49 +00:00 |
|
Richard Davey
|
2780babe10
|
Final Doc Jam merge
|
2018-12-03 15:16:23 +00:00 |
|