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 |
|
Felipe Alfonso
|
29ec16fd33
|
Flip component added to Bob, Image, Sprite and Text
|
2017-03-20 20:37:17 -03:00 |
|
Richard Davey
|
e28d4f7a47
|
Added origin + removed redundant module.
|
2017-03-20 19:10:44 +00:00 |
|
photonstorm
|
808e53f645
|
Fixed order of shadow fills.
|
2017-03-20 16:48:04 +00:00 |
|
photonstorm
|
741b93dbfe
|
Fixed parent issues with TextStyle, and moved methods into Text for ease of access.
|
2017-03-20 16:28:09 +00:00 |
|
photonstorm
|
a87f1ca88b
|
TextStyle is now responsible for MeasureText and caches the results.
Lots of new TextStyle methods.
TextStyle methods return the Text object itself, so you can chain easily.
Fixed Width and Height options added.
|
2017-03-20 16:09:01 +00:00 |
|
Richard Davey
|
2cc498e15e
|
Updating sync methods.
|
2017-03-17 00:16:20 +00:00 |
|
Richard Davey
|
08d9e55066
|
Added Style set methods and moved shadow sync.
|
2017-03-16 21:59:50 +00:00 |
|
photonstorm
|
b5258b55b1
|
Quick todo
|
2017-03-16 17:16:32 +00:00 |
|