Richard Davey
|
ff65e69cd1
|
Changed copyright date to 2020
|
2020-01-15 12:07:09 +00:00 |
|
Richard Davey
|
4a33c7b5c8
|
Don't reset text
|
2019-11-22 16:43:13 +00:00 |
|
Richard Davey
|
5b1401153c
|
Working through BitmapText wrapping
|
2019-11-21 17:11:43 +00: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
|
84ef115c67
|
Remove un-used code
|
2018-08-08 15:01:41 +01:00 |
|
Richard Davey
|
708a857a26
|
SetTransform is a new Canvas Renderer function that consolidates the process of preparing a Game Object for rendering, without actually rendering it. This is used internally by the Graphics and Bitmap Text classes.
|
2018-08-03 19:02:43 +01: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
|
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
|
39c05e4a96
|
Added support for BitmapText alignment and internal dirty flag for calculation speed
|
2018-07-09 21:57:51 +01:00 |
|
Richard Davey
|
91a48c30c4
|
GetBitmapTextSize , which is used internally in the BitmapText Game Objects, will now produce different bounds from the previous version. Previously, the bounds were tight against the letters in the text. However, this meant the bounds were not properly aligned with the origin of the BitmapText, and consequently you'd get different bounds if the text consisted of different characters. The bounds are now calculated purely based on the glyph data and letter spacing values. This will give a far more consistent overall experience, but it does mean if you were using the bounds to position text previously, you'll need to revisit that code again. See issue #3799 for more details (and to discuss this further if you wish)
|
2018-07-09 16:06:36 +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 |
|
Richard Davey
|
5a0fe89a7e
|
Swap _id to id
|
2018-06-23 12:26:39 +01: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 |
|
Travis O'Neal
|
2ec70cac48
|
Added a letterSpacing property to BitmapText
|
2018-04-02 09:42:24 -04:00 |
|
Travis O'Neal
|
d6265a59dd
|
Initial Commit
|
2018-03-30 13:46:44 -04:00 |
|