Richard Davey
|
edf074ba47
|
Update CHANGELOG.md
|
2020-08-03 11:33:44 +01:00 |
|
Richard Davey
|
47a62cd30c
|
If you apply setSize to the Dynamic BitmapText the scissor is now calculated based on the parent transforms, not just the local ones, meaning you can crop Bitmap Text objects that exist within Containers. Fix #4653
|
2020-08-03 11:33:41 +01:00 |
|
Richard Davey
|
c12eb98c49
|
Update CHANGELOG.md
|
2020-08-03 10:53:32 +01:00 |
|
Richard Davey
|
2f574070d5
|
Setting the color value in the DynamicBitmapText.setDisplayCallback would inverse the red and blue channels if the color was not properly encoded for WebGL. It is now encoded automatically, meaning you can pass normal hex values as the colors in the display callback. Fix #5225
|
2020-08-03 10:53:27 +01:00 |
|
Richard Davey
|
d616ed71b7
|
Update CHANGELOG.md
|
2020-08-03 10:50:18 +01:00 |
|
Richard Davey
|
0402717834
|
Expose new function
|
2020-08-03 10:49:27 +01:00 |
|
Richard Davey
|
ec845ce015
|
Use GetColorFromValue
|
2020-08-03 10:49:05 +01:00 |
|
Richard Davey
|
6a32ff56f3
|
Display.Color.GetColorFromValue is a new function that will take a hex color value and return it as an integer, for use in WebGL. This is now used internally by the Tint component and other classes.
|
2020-08-03 10:48:52 +01:00 |
|
Richard Davey
|
0266c7f0a2
|
Updated docs #5231
|
2020-08-03 10:37:01 +01:00 |
|
Richard Davey
|
87cf99d0ca
|
Update CHANGELOG.md
|
2020-08-03 10:32:24 +01:00 |
|
Richard Davey
|
8db2543e27
|
Merge pull request #5242 from samme/fix/collide-with-friction
Fix collisions for objects moved by friction
|
2020-08-03 10:27:01 +01:00 |
|
Richard Davey
|
08e346952a
|
Merge pull request #5234 from samme/patch-4
Docs: Phaser.Physics.Arcade.Group#defaults
|
2020-08-03 10:23:15 +01:00 |
|
Richard Davey
|
da05cfa1ad
|
Merge pull request #5244 from 16patsle/Fix_Text_types
Fix types for Text, TextFactory and TextCreator
|
2020-08-03 10:20:40 +01:00 |
|
Richard Davey
|
c9330fd469
|
Merge pull request #5241 from samme/docs/add-existing
Docs: generic return for add.existing()
|
2020-08-03 10:19:42 +01:00 |
|
Richard Davey
|
4ac240f280
|
Added String.RemoveAt
|
2020-08-02 23:52:45 +01:00 |
|
Richard Davey
|
70d7341804
|
Update CHANGELOG.md
|
2020-08-01 21:06:45 +01:00 |
|
Richard Davey
|
2810396dc7
|
The KeyboardPlugin will now track the key code and timestamp of the previous key pressed and compare it to the current event. If they match, it will skip the event. On some systems if you were to type quickly, you would sometimes get duplicate key events firing (the exact same event firing more than once). This is now prevented from happening.
|
2020-08-01 21:06:42 +01:00 |
|
Richard Davey
|
c4000843ec
|
The KeyboardManager and KeyboardPlugin were both still checking for the InputManager.useQueue property, which was removed several versions ago.
|
2020-08-01 20:54:45 +01:00 |
|
Richard Davey
|
4f2aedb474
|
Update CHANGELOG.md
|
2020-08-01 20:32:53 +01:00 |
|
Richard Davey
|
fccd00e8c5
|
Remove deprecated events
|
2020-08-01 20:32:50 +01:00 |
|
Patrick Sletvold
|
edf0c17703
|
Use TextPadding type in Text game object
|
2020-08-01 13:35:02 +02:00 |
|
Patrick Sletvold
|
87e8eba213
|
Correctly type style in TextFactory
|
2020-08-01 13:34:37 +02:00 |
|
Patrick Sletvold
|
a525e43dcf
|
Add TextConfig type for TextCreator
|
2020-08-01 13:34:07 +02:00 |
|
Richard Davey
|
42d6456993
|
Encode dropshadow color
|
2020-08-01 11:24:26 +01:00 |
|
Richard Davey
|
959645d1f0
|
Always render drop shadow behind text
|
2020-08-01 11:24:15 +01:00 |
|
Richard Davey
|
164cdf9134
|
Update CHANGELOG.md
|
2020-07-31 18:36:30 +01:00 |
|
Richard Davey
|
22e8d22e3f
|
BitmapText.setWordTint is a new method that allows you to set a tint color (either additive, or fill) on all matching words within a static Bitmap Text. You can specify the word by string, or numeric offset, and the number of replacements to tint.
|
2020-07-31 18:36:27 +01:00 |
|
Richard Davey
|
21e1fe210c
|
Update CHANGELOG.md
|
2020-07-31 18:00:35 +01:00 |
|
Richard Davey
|
b9407967e3
|
If you give an invalid Bitmap Font key, the Bitmap Text object will now issue a console.warn .
|
2020-07-31 18:00:31 +01:00 |
|
Richard Davey
|
79e985dd93
|
Updated docs
|
2020-07-31 17:09:40 +01:00 |
|
Richard Davey
|
797aa6a234
|
Update CHANGELOG.md
|
2020-07-31 16:54:32 +01:00 |
|
Richard Davey
|
c0109c1ec9
|
BatchChar is a new internal private function for batching a single character of a Bitmap Text to the pipeline.
|
2020-07-31 16:54:29 +01:00 |
|
Richard Davey
|
883670f8e0
|
Update CHANGELOG.md
|
2020-07-31 16:41:14 +01:00 |
|
Richard Davey
|
2e378b68d1
|
Apply the dropShadow
|
2020-07-31 16:39:21 +01:00 |
|
Richard Davey
|
c228dd596a
|
BitmapText.setDropShadow is a new method that allows you to apply a drop shadow effect to a Bitmap Text object. You can set the horizontal and vertical offset of the shadow, as well as the color and alpha levels. Call this method with no parameters to clear a shadow.
|
2020-07-31 16:39:05 +01:00 |
|
Richard Davey
|
aac2276692
|
BitmapText.preDestroy is a new method that will tidy-up all of the BitmapText data during object destruction.
|
2020-07-31 16:22:53 +01:00 |
|
Richard Davey
|
64214dbb4f
|
Update CHANGELOG.md
|
2020-07-31 16:17:40 +01:00 |
|
Richard Davey
|
7ce39b991c
|
Removed un-used properties
|
2020-07-31 16:17:36 +01:00 |
|
Richard Davey
|
9419606f12
|
BitmapText.setCharacterTint is a new method that allows you to set a tint color (either additive, or fill) on a specific range of characters within a static Bitmap Text. You can specify the start and length offsets and a per-corner tint color.
|
2020-07-31 16:17:23 +01:00 |
|
Richard Davey
|
fc6e7ef759
|
Removed un-used properties
|
2020-07-31 15:46:05 +01:00 |
|
Richard Davey
|
2ef28cd0e4
|
Added getXRound and getYRound
|
2020-07-31 15:45:55 +01:00 |
|
Richard Davey
|
83bd4d7077
|
Bump node version
|
2020-07-31 13:49:06 +01:00 |
|
Richard Davey
|
4baa0522b9
|
Bumping to 3.50
|
2020-07-31 13:41:29 +01:00 |
|
Richard Davey
|
25e6868d2d
|
Update CHANGELOG.md
|
2020-07-31 13:40:02 +01:00 |
|
Richard Davey
|
d16d8dc9ce
|
BitmapTextWebGLRenderer has been rewritten from scratch to make use of the new pre-cached WebGL uv texture and character location data generated by GetBitmapTextSize . This has reduced the number of calculations made in the function dramatically, as it no longer has work out glyph advancing or offsets during render, but only when the text content updates.
|
2020-07-31 13:39:49 +01:00 |
|
Richard Davey
|
49682e744d
|
Update BitmapText.js
|
2020-07-31 13:34:50 +01:00 |
|
Richard Davey
|
72654e04d3
|
Fixed bounds sizes
|
2020-07-31 13:34:28 +01:00 |
|
Richard Davey
|
c166976fcc
|
Update BitmapTextCharacter.js
|
2020-07-31 12:06:57 +01:00 |
|
Richard Davey
|
a4577e2135
|
The GetBitmapTextSize function has a new boolean parameter updateOrigin , which will adjust the origin of the parent BitmapText if set, based on the new bounds calculations.
|
2020-07-31 12:06:45 +01:00 |
|
Richard Davey
|
a682b83b7c
|
BitmapText.getCharacterAt is a new method that will return the character data from the BitmapText at the given x and y corodinates. The character data includes the code, position, dimensions and glyph information.
|
2020-07-31 11:36:48 +01:00 |
|