Richard Davey
c445303ffb
Revert define changes as they don't work
2024-02-21 13:23:52 +00:00
Richard Davey
7aaa976a4e
Updated webpack config DefinePlugin use and corresponding defs to allow those crazy souls who import source directly on node to have a better life #6644
2024-02-21 12:57:48 +00:00
Richard Davey
1f8276ac76
Updated copyright year, company and author
2024-02-19 17:12:24 +00:00
Richard Davey
a9012b19b4
The BitmapText.setFont
method will now set the texture, size and alignment even if the same font key has been given as is already in use. Fix #6740
2024-02-19 14:41:59 +00:00
Ben Richards
b591c3674a
Document usage of WebGLTextureWrapper
in place of WebGLTexture
.
2024-01-29 11:47:39 +13:00
Emil Schnedler Vad
0d06b87c9e
BitmapText now reset texture unit on flush
2023-04-19 15:37:17 +02:00
Richard Davey
5805925cc6
Fixed PostFX on custom render objects
2023-03-20 17:27:18 +00:00
Richard Davey
36e6bc8a05
Added PostPipeline component
2023-02-03 17:52:36 +00:00
Richard Davey
468bf7821d
Updated copyright year
2023-01-02 17:36:27 +00:00
Richard Davey
9140bedd34
Added missing lineSpacing property
2022-12-09 16:01:02 +00:00
Richard Davey
a41247e2d9
Fixed incorrect jsdocs #6309
2022-12-09 15:59:02 +00:00
arbassic
1fd986fe58
fix JSDocs
2022-12-05 22:32:23 +01:00
arbassic
9fe15df66b
fix JSDocs
2022-12-05 22:31:19 +01:00
arbassic
720cf7e296
better comment, include in toJSON
2022-12-05 22:14:55 +01:00
arbassic
aa0d9be861
Add lineSpacing property to BitmapText
2022-12-05 22:10:45 +01:00
Richard Davey
c0e592770f
Update BitmapTextWord.js
2022-11-23 15:10:50 +00:00
Richard Davey
e0a8486dbc
Update BitmapTextWord.js
2022-11-23 14:22:13 +00:00
Richard Davey
6943989f46
The BitmapText
Game Object has two new read-only properties displayWidth
and displayHeight
. This allows the BitmapText to correctly use the GetBounds
component.
...
The `BitmapText` Game Object now has the `GetBounds` component added to it, meaning you can now correctly get its dimensions as part of a Container. Fix #6237
2022-11-08 18:42:05 +00:00
Jaro Vanderheijden
e4b3e1ac15
Move BitmapTextCharacter typedef to proper location
2022-10-10 17:05:56 +02:00
Jaro Vanderheijden
b271accaf0
Add raw character index to bitmap text bounds
2022-08-20 12:29:47 +02:00
Richard Davey
810cfa587b
Added link to SnowBMF
2022-08-17 16:41:40 +01:00
Richard Davey
a4d8e87095
Fixed lint errors
2022-05-10 17:06:53 +01:00
Richard Davey
919fa39faa
Merge pull request #6067 from TJ09/commonjs-import-change
...
Don't reassign the return values from require()
2022-05-09 16:49:58 +01:00
T.J. L
ff4ef2872b
Don't overwrite the return values from require()
2022-04-02 01:49:19 -07:00
T.J. L
1551d1b270
Fix kerning for BitmapText on Canvas renderer
2022-04-02 01:33:04 -07:00
Richard Davey
59fbcc5ca3
Updated copyright year
2022-02-28 14:29:51 +00:00
arbassic
38f23baaf7
Fix kerning for BitmapText
...
There was a bug in the GetBitmapTextSize function, causing that kerning was not applied at all to BitmapTexts.
The fix sets 'x' of the character with calculated 'x' local variable (instead of general xAdvance.
Also xAdvance is modified with kerningOffset to provide consistency between proceeding characters
2022-02-15 19:03:13 +01:00
Richard Davey
93db763f69
Merge pull request #5340 from 16patsle/Fix_object_types
...
Add more specific 'object' types, including GO Configs
2021-09-23 15:30:43 +01:00
Richard Davey
7411c805b8
Version fix
2021-03-24 16:30:33 +00:00
Vladislav Forsh
ab202efea7
Handle case when fromAtlas could be undefined
2021-03-17 10:26:47 +03:00
Vladislav Forsh
22edb0d95f
Update fromAtlas property on font change
2021-03-16 19:44:26 +03:00
Vladislav Forsh
2418b7f484
Fix #5545
2021-03-16 18:04:38 +03:00
Richard Davey
9116eddf99
Some Bitmap Text fonts were not rendering under Canvas due to the way in which the texture offset was calculated. It now uses the __BASE
frame to get the texture offset, rather than the first frame in the set. Fix #5462 #5501
2021-01-14 11:06:04 +00:00
Richard Davey
1c8662dc1f
Call addToRenderList
2021-01-07 14:52:08 +00:00
Richard Davey
00d8b6a009
Invoke camera.addToRenderList
method
2021-01-07 12:31:31 +00:00
Richard Davey
f5376b20a4
BitmapText Drop Shadow working. Fix #5446
2020-12-14 09:34:32 +00:00
Patrick Sletvold
f1836738a0
Merge remote-tracking branch 'origin/master' into Fix_object_types
2020-12-10 11:23:35 +01:00
Richard Davey
0ee1338765
Better post pipeline call (less code)
2020-11-26 09:51:40 +00:00
Richard Davey
d2e2e86ef1
Updated accessor
2020-11-23 16:22:11 +00:00
Richard Davey
ec5da6930c
Added post pipeline support to all Game Objects
2020-11-23 16:17:13 +00:00
Richard Davey
02c34cd64e
Replace integer with number
2020-11-23 10:22:13 +00:00
Richard Davey
eee3feb667
Pass Game Object to batchQuad
2020-11-09 13:19:31 +00:00
Richard Davey
d3c70002ea
Removed use of _tempMatrix
from all renderers
2020-11-06 09:44:29 +00:00
Richard Davey
4ba2b0eb7b
All swapped to using renderer matrices to make pipelines smaller
2020-10-28 16:52:59 +00:00
Patrick Sletvold
79114a00e5
Add return type for ParseRetroFont
2020-09-25 18:26:44 +02:00
Richard Davey
d5de353890
You can now use setMaxWidth
on DynamicBitmapText
, which wasn't previously possible. Fix #4997
2020-09-22 16:52:36 +01:00
Richard Davey
6bf36083a8
Added setMaxWidth
docs. Fix #4997
2020-09-22 16:48:38 +01:00
Richard Davey
5a6dec237c
Fixed RetroFont Parser. Fix #5310
2020-09-22 16:47:05 +01:00
Richard Davey
4fd46f4d1f
Fixed DynamicBitmapText WebGL Renderer. Fix #5303
2020-09-22 16:38:17 +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