Richard Davey
|
d405bab92c
|
Set image smoothing based on renderer or scale mode.
|
2019-10-01 16:10:46 +01:00 |
|
Richard Davey
|
c91ed91ce3
|
License link update
|
2019-05-10 16:15:04 +01:00 |
|
Richard Davey
|
aa341854c7
|
Happy New Year
|
2019-01-15 16:20:22 +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
|
9f44896a3f
|
The Blend Mode is now set directly in all Canvas Renderers without comparing it to what's stored in the Canvas Renderer. This fixes problems where the blend mode would be lost between two different Game Objects because they restored the context, but didn't update the renderer flag. Game Objects in Canvas can now mix and match blend modes across the display list.
|
2018-08-03 01:29:18 +01:00 |
|
Richard Davey
|
e0918df6b0
|
Canvas particle renderer now using same matrix math as webgl
|
2018-08-03 01:04:46 +01:00 |
|
Richard Davey
|
7313573161
|
The ParticleEmitterManager now has the Transform component. This means you can now set the position, rotation or scale of the Emitter Manager, and it will influence every Emitter it is rendering. The Managers transform is mixed with that of the Camera. This works in both Canvas and WebGL.
|
2018-07-31 23:21:07 +01:00 |
|
Richard Davey
|
34b27fd57a
|
ParticleEmitter would fail to draw a textured particle in Canvas mode
|
2018-07-29 12:16:42 +01:00 |
|
Richard Davey
|
106e32a4f5
|
Removed un-used imports
|
2018-07-19 13:26:11 +01:00 |
|
Richard Davey
|
ec5bd1912e
|
GameObject.willRender now takes a Camera as its only argument and uses it within the check. This has allowed me to remove 23 duplicate checks spread across the various Game Objects, all of which did the same thing, saving both KB and CPU time as the flags were being checked twice in most cases.
|
2018-07-19 13:19:02 +01:00 |
|
Richard Davey
|
7a23378015
|
Unified use of roundPixels, antialias and pixelArt modes
|
2018-06-27 15:15:00 +01:00 |
|
Richard Davey
|
90ba2608fa
|
Added in Camera alpha support to all canvas renderers
|
2018-06-25 16:24:08 +01:00 |
|
Felipe Alfonso
|
4496e773a7
|
Removed particle scroll factor property and calculation from canvas rendering
|
2018-04-18 18:44:09 -03:00 |
|
Felipe Alfonso
|
c232642a52
|
Parent matrix is applied to canvas context on each draw function
|
2018-04-04 14:05:59 -03:00 |
|
Felipe Alfonso
|
96b8db4685
|
Added parentMatrix to all canvas rendering functions
|
2018-04-04 13:14:55 -03:00 |
|
Richard Davey
|
91008232ad
|
jsdoc fixes
|
2018-03-29 13:12:07 +01:00 |
|
Richard Davey
|
747f09af86
|
jsdoc fixes
|
2018-03-28 15:04:09 +01:00 |
|
Richard Davey
|
fdc1f3cab3
|
Added canvas roundPixels support for Text, Particles and TileSprites
|
2018-02-28 22:40:08 +00:00 |
|
Richard Davey
|
d1f5f8a82b
|
Added jsdocs
|
2018-02-12 16:01:21 +00:00 |
|
Richard Davey
|
8cd5e772d8
|
Added jsdocs
|
2018-02-06 19:22:20 +00:00 |
|
Richard Davey
|
d8f1ba03e9
|
Moved repository location
|
2018-01-09 21:43:56 +00:00 |
|