Richard Davey
|
51f94cd444
|
Merge branch 'master' of https://github.com/photonstorm/phaser
|
2018-07-11 16:25:26 +01:00 |
|
Richard Davey
|
5ba80defb7
|
Pass GO to setPipeline
|
2018-07-11 16:23:44 +01:00 |
|
Chris Andrew
|
0858797599
|
Minor documentation fix for BitmapText.getTextBounds().
|
2018-07-11 14:50:23 +01:00 |
|
Richard Davey
|
9c9e9cecbb
|
Updated log and lint fixes
|
2018-07-10 16:49:53 +01:00 |
|
Richard Davey
|
5fe74453fe
|
Extends BitmapText, to save on lots of space
|
2018-07-10 16:33:13 +01:00 |
|
Richard Davey
|
e145b6b7d3
|
Fixed Dynamic Bitmap Text Rendering
|
2018-07-10 16:33:01 +01:00 |
|
Richard Davey
|
434c8d1413
|
Fixed issue with sprite matrix and camera scaling
|
2018-07-10 13:59:49 +01:00 |
|
Richard Davey
|
6560f51699
|
Added jsdocs and updated change log
|
2018-07-09 22:35:48 +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
|
f892d97475
|
Removed indexCount
|
2018-07-09 17:06:36 +01:00 |
|
Richard Davey
|
2d313ac927
|
The start of adding multi-line alignment
|
2018-07-09 17:06:20 +01:00 |
|
Richard Davey
|
f266acecc2
|
Re-uses the bounds object, rather than re-creating constantly.
|
2018-07-09 17:06:06 +01:00 |
|
Richard Davey
|
a16a7457bc
|
Now stores the line data in the bounds object.
|
2018-07-09 17:05:53 +01:00 |
|
Richard Davey
|
a3803a286f
|
Fixed origin addition post-scale
|
2018-07-09 16:17:52 +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
|
5c554f3f69
|
Started moving dynamic bitmap text renderer to its own function
|
2018-07-07 12:34:24 +01:00 |
|
Richard Davey
|
dd0490dd57
|
Removed batchBitmapText, tidied up and moved to its own renderer
|
2018-07-07 12:22:45 +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 |
|
Chris Andrew
|
a6b8b8ed31
|
Documented the Text game object and its TextStyle companion.
Minor update to JSON representation descriptions.
|
2018-06-14 14:27:58 +01:00 |
|
Richard Davey
|
9d52b6ac91
|
Fixed jsdoc errors
|
2018-06-12 17:05:39 +01:00 |
|
Chris Andrew
|
39ace6c9e9
|
Finished all BitmapText descriptions, other than GameObject class descriptions.
|
2018-06-06 17:34:18 +01:00 |
|
Chris Andrew
|
fb33fd045d
|
Documented DynamicBitmapText display callbacks.
Finished up some DynamicBitmapText related descriptions.
Removed the align property from BitmapTextConfig, as it's not used.
|
2018-06-06 17:26:55 +01:00 |
|
Chris Andrew
|
79c3242c68
|
Tweaked and filled in a few more BitmapText related descriptions.
|
2018-06-06 16:58:48 +01:00 |
|
Chris Andrew
|
c9d4ff9f83
|
Fixed case of @readOnly annotations in BitmapText and DynamicBitmapText.
|
2018-06-06 16:34:49 +01:00 |
|
Chris Andrew
|
96d750bb60
|
Documented BitmapText and DynamicBitmapText.
Moved BitmapFontData typedefs to the BitmapText class file.
|
2018-06-06 16:32:58 +01:00 |
|
Chris Andrew
|
25f1dedb74
|
Started documenting Bitmap Font data structures.
|
2018-06-06 15:12:12 +01:00 |
|
Chris Andrew
|
a90e78d0a9
|
Finished UpdateList and RetroFont.Config documentation.
|
2018-06-06 15:11:40 +01:00 |
|
Chris Andrew
|
4aaf071ad3
|
Cleaned up some previous documentation, finished the RenderTexture GameObject documentation.
|
2018-06-06 14:23:39 +01:00 |
|
Chris Andrew
|
9e49b30d31
|
Fixed @return annotation spacing for GetBitmapTextSize.
|
2018-06-01 15:32:03 +01:00 |
|
Chris Andrew
|
085efa3190
|
Fixed a couple of BitmapTextSize descriptions.
|
2018-06-01 15:28:00 +01:00 |
|
Chris Andrew
|
8a7f381a28
|
Improved some GetBitmapTextSize descriptions.
|
2018-06-01 15:25:16 +01:00 |
|
Chris Andrew
|
efaff363aa
|
Documented XML Bitmap Font parsing and the GetBitmapTextSize function.
|
2018-06-01 15:21:10 +01:00 |
|
Richard Davey
|
0d0846a415
|
Calling a creator, such as GraphicsCreator, without passing in a config object, would cause an error to be thrown. All Game Object creators now catch against this.
|
2018-05-16 15:17:08 +01:00 |
|
Richard Davey
|
107ca71d6b
|
BitmapText, both static and dynamic, can now take any data-type, including numbers, for the text argument in the constructor. Before they only worked via setText
|
2018-05-03 15:52:12 +01:00 |
|
Richard Davey
|
28251fd0f5
|
addToScene added to all Game Object Creators
|
2018-05-02 10:57:26 +01:00 |
|
Richard Davey
|
606ba6d8d7
|
Added new Mask component and added to all relevant Game Objects
|
2018-04-20 18:57:49 +01:00 |
|
Richard Davey
|
6299019838
|
Updated to use typeof DefinePlugin check.
|
2018-04-20 00:23:24 +01:00 |
|
Richard Davey
|
e14d0c5054
|
eslint fixes
|
2018-04-19 13:57:33 +01:00 |
|
Richard Davey
|
cb4eb9e435
|
Rescoped RetroFont so it's no longer bound to BitmapText
|
2018-04-19 13:07:59 +01:00 |
|
Richard Davey
|
5b31a51dd5
|
Rescoped
|
2018-04-19 12:42:35 +01:00 |
|
Richard Davey
|
32ce8d7947
|
jsdoc fixes and removed un-used ResetKey file.
|
2018-04-19 12:30:38 +01:00 |
|
Richard Davey
|
23f353326c
|
jsdoc fix
|
2018-04-18 13:48:25 +01:00 |
|
Richard Davey
|
6e77557375
|
jsdoc fixes
|
2018-04-18 13:34:22 +01:00 |
|
Richard Davey
|
b0544c73b8
|
jsdoc fixes
|
2018-04-18 13:29:22 +01:00 |
|
Richard Davey
|
18585de81d
|
Lots of jsdoc fixes
|
2018-04-16 14:43:24 +01:00 |
|
Richard Davey
|
ce7d67297f
|
Moving from 3.4.1 to 3.5.0 so we can release new camera fx and scene transitions
|
2018-04-15 12:44:47 +01:00 |
|
Antriel
|
6be6f17bfd
|
Add missing letterSpacing to DynamicBitmapText
|
2018-04-13 10:50:18 +02:00 |
|
Felipe Alfonso
|
c232642a52
|
Parent matrix is applied to canvas context on each draw function
|
2018-04-04 14:05:59 -03:00 |
|