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 |
|
Richard Davey
|
336ea77587
|
Fixed GO extends.
|
2017-04-05 02:10:48 +01:00 |
|
Richard Davey
|
8ec9061b43
|
Removed 'group' / 'parent' argument and forced to the State children component. You should use 'make' if you wish to add elsewhere.
|
2017-04-04 23:58:33 +01:00 |
|
Felipe Alfonso
|
98349a08b8
|
Fixed text rendering issue
|
2017-03-30 09:48:24 -03:00 |
|
Felipe Alfonso
|
3e8e6141c8
|
Added render pass component to renderable game objects
|
2017-03-28 15:16:02 -03:00 |
|
Richard Davey
|
006d0b853f
|
Small bit of tidying up.
|
2017-03-21 23:14:25 +00:00 |
|
Richard Davey
|
6fcd09c3bc
|
RTL boolean.
|
2017-03-21 21:08:30 +00:00 |
|
Felipe Alfonso
|
84bc90f7ba
|
Moved canvas to texture on Text to TExtWebGLRenderer
|
2017-03-21 18:06:36 -03:00 |
|
Felipe Alfonso
|
58e4912633
|
Moved uploadCanvasToGPU to WebGLRenderer
|
2017-03-21 17:45:57 -03:00 |
|
Felipe Alfonso
|
0cdb150357
|
Text rendering via canvas/texture upload
|
2017-03-21 17:08:43 -03:00 |
|