Michael Hadley
|
ca7753e611
|
v2 -> v3, split lines using splitRegExp property
|
2017-12-13 15:44:59 -06:00 |
|
Michael Hadley
|
be74f40df9
|
Updating v2 comments to match v3 style
|
2017-12-13 15:30:43 -06:00 |
|
Michael Hadley
|
9357b835b4
|
Jsdoc wrapping methods
|
2017-12-13 15:28:52 -06:00 |
|
Michael Hadley
|
0415a9bc01
|
Remove accidental duplicate of GetValue
|
2017-12-13 15:28:36 -06:00 |
|
Michael Hadley
|
58b00a12e1
|
Make word wrap functions more pure so they are easier to share with other GOs later
|
2017-12-13 15:14:16 -06:00 |
|
Michael Hadley
|
d003945a66
|
v2's PrecalculateWordWrap -> getWrappedText
|
2017-12-13 15:09:06 -06:00 |
|
Michael Hadley
|
2fe60ffbf9
|
Add wrapping to Text & ensure context's font stays in sync
|
2017-12-13 15:08:43 -06:00 |
|
Michael Hadley
|
f6bd7ecb1b
|
Add TextStyle wrap properties & parse with GetValue over GetAdvancedValue
|
2017-12-13 15:07:37 -06:00 |
|
Michael Hadley
|
0c3f144f88
|
Port v2 text wrapping functions to Text
|
2017-12-13 15:04:57 -06:00 |
|
Richard Davey
|
81275a6197
|
Fixed transform issue with Text padding.
|
2017-12-01 16:53:02 +00:00 |
|
Richard Davey
|
d0fb5a69f4
|
Allows for 'font' and 'fill' overrides
|
2017-12-01 03:11:57 +00:00 |
|
Richard Davey
|
b393aed2e3
|
Fixed setPadding and padding value assignment
|
2017-12-01 03:11:41 +00:00 |
|
Richard Davey
|
025c9dc131
|
Padding now passed in the style object and avoids double call to updateText
|
2017-12-01 03:11:23 +00:00 |
|
Richard Davey
|
2e7a336ef9
|
Handling new style settings for fonts and padding.
|
2017-11-30 17:17:29 +00:00 |
|
Richard Davey
|
5e975eda2c
|
font has been removed and replaced with fontFamily, fontSize and fontStyle.
fill has been replaced with color as it just makes more sense.
|
2017-11-30 17:17:28 +00:00 |
|
Richard Davey
|
4d71806bea
|
Text padding is passed to the Text.setPadding method to handle.
|
2017-11-30 17:17:27 +00:00 |
|
Richard Davey
|
7bd8bf2075
|
The testString can now be set in the Text config.
|
2017-11-30 17:17:27 +00:00 |
|
Richard Davey
|
3964c7a2ac
|
Added in support for RTL text in the Text Game Object.
|
2017-11-30 01:20:02 +00:00 |
|
Richard Davey
|
3c8a5b4132
|
Fixed issue where an array passed in the constructor wasn't properly displayed
fix #3094
|
2017-11-30 00:03:22 +00:00 |
|
Richard Davey
|
e48273208f
|
Fixed update origin name change.
|
2017-11-07 01:32:53 +00:00 |
|
Richard Davey
|
8cf60b4c3e
|
Tidying-up the namespace.
|
2017-10-11 17:06:13 +01:00 |
|
Richard Davey
|
b8b73691be
|
Text cast to a string, avoids errors with creating Text using numbers.
|
2017-09-29 12:58:47 +01:00 |
|
Igor Petushkov
|
07386a29ac
|
Fix [.Offscreen-For-WebGL-XXXXXXXX] render error
|
2017-09-17 18:53:31 +03:00 |
|
Richard Davey
|
b4edeaec10
|
Updated GameObjectCreator to use same system as GameObjectFactory.
|
2017-09-14 02:27:29 +01:00 |
|
Richard Davey
|
1340e6930f
|
Refactored the GameObjectFactory so it's now populated by the GameObjects directly, avoids globbing all GOs into it
|
2017-09-14 01:32:10 +01:00 |
|
Felipe Alfonso
|
dc45945d99
|
WebGL Specific Game Objects work with restored context, except EffectLayer and RenderPass. That would require developer to rebind render targets and resources
|
2017-09-13 17:54:32 -03:00 |
|
Richard Davey
|
ae13ac702e
|
The Canvas and WebGL Renderers are now included based on Webpack feature flags, allowing us to build a 'WebGL only' or 'Canvas only' version of Phaser 3.
|
2017-09-13 15:28:17 +01:00 |
|
Richard Davey
|
6f3ec9fb9e
|
All Game Objects now use GameObject.RENDER_MASK to compare against instead of a local property.
|
2017-09-13 00:58:25 +01:00 |
|
Richard Davey
|
fe2f82c229
|
Updated Camera.Ignore so it works with the canvas renderer as well
|
2017-08-15 23:51:37 +01:00 |
|
Felipe Alfonso
|
9856200fdf
|
Added camera gameobject filtering
|
2017-08-15 16:42:04 -03:00 |
|
photonstorm
|
6ac3806091
|
Default to single space if no text given to avoid WebGL texture errors.
|
2017-08-14 13:12:59 +01:00 |
|
photonstorm
|
5fe09c90a0
|
Shadow fill default should be true.
|
2017-08-11 16:59:29 +01:00 |
|
photonstorm
|
52bb355429
|
Removing old and incorrect jsdoc blocks ready for first documentation pass.
|
2017-08-01 13:10:08 +01:00 |
|
Felipe Alfonso
|
1c5da095f6
|
Fixed text rendering state leakage on webgl
|
2017-07-27 15:26:12 -04:00 |
|
photonstorm
|
d804e056ed
|
Renaming from State to Scene internally.
This is one monster update.
|
2017-07-14 14:50:51 +01:00 |
|
photonstorm
|
2aae473658
|
Removed redundant Color component and added in new Tint component. Exposed via WebGL Renderer for Images, Sprites and Text.
|
2017-07-04 12:01:27 +01:00 |
|
Richard Davey
|
f770712c2a
|
Huge refactoring of States, plugins and object factories
|
2017-07-04 01:59:31 +01:00 |
|
Felipe Alfonso
|
25977cfc4d
|
Dynamic tilemap webgl rendering
|
2017-06-21 22:19:03 -04:00 |
|
photonstorm
|
f5d97f488b
|
Call toString to avoid crashes if numbers are passed in.
|
2017-05-24 05:59:14 +01:00 |
|
photonstorm
|
8264351f75
|
Renamed GetObjectValue to GetValue and replaced through-out entire codebase. More consistent now with GetAdvancedValue, etc.
|
2017-04-26 16:03:22 +01:00 |
|
photonstorm
|
427018d291
|
You can now provide the TextMetrics as part of the config object, to avoid the expensive canvas scanning needed.
Text.getTextMetrics and TextStyle.getTextMetrics added to faciliate this. Plus added to toJSON.
|
2017-04-26 15:54:23 +01:00 |
|
photonstorm
|
e2576fe512
|
Text.padding supported and working.
|
2017-04-26 15:34:15 +01:00 |
|
Richard Davey
|
3f6c74c1f7
|
More work on Text Metrics.
|
2017-04-26 03:55:42 +01:00 |
|
Richard Davey
|
0df585f7d5
|
Testing various text measuring options.
|
2017-04-25 19:46:13 +01:00 |
|
Richard Davey
|
a4dc2d28aa
|
Added TextStyle.toJSON and merged the output with Text.toJSON.
|
2017-04-25 18:24:37 +01:00 |
|
Richard Davey
|
ad0ff4d64b
|
Added BuildFromConfig for Text object.
Updated TextStyle to use advanced object getter.
|
2017-04-25 18:07:23 +01:00 |
|
Richard Davey
|
81c6124a4d
|
Added more toJSON GameObject functions.
|
2017-04-13 00:35:27 +01:00 |
|
Richard Davey
|
929d6fc8ef
|
Enforced GameObjects to specify their type (a string based const)
|
2017-04-13 00:05:12 +01:00 |
|
Felipe Alfonso
|
581fdb50ee
|
RenderTarget added to renderable game objects
|
2017-04-11 10:15:38 -03:00 |
|
Felipe Alfonso
|
b755fe06b9
|
Removed RenderPass
|
2017-04-05 11:23:34 -03:00 |
|