diff --git a/README.md b/README.md
index 75a3ae53..7ab2388f 100644
--- a/README.md
+++ b/README.md
@@ -36,7 +36,7 @@ Here is a list of [all releases](https://github.com/Insality/druid/releases).
### Input Bindings
-**Druid** utilizes the `/builtins/input/all.input_binding` input bindings. For custom input bindings, refer to the Input Binding section in the **_[Advanced Setup](docs_md/advanced-setup.md#input-bindings)_**.
+**Druid** utilizes the `/builtins/input/all.input_binding` input bindings. Either use this file for your project by setting the `Runtime -> Input -> Game Binding` field in the `game.project` input section to `/builtins/input/all.input_binding`, or add the specific bindings you need to your game's input binding file. For custom input bindings, refer to the Input Binding section in the [Advanced Setup](https://github.com/Insality/druid/blob/master/docs_md/advanced-setup.md#input-bindings).
## Usage
diff --git a/deployer_build_stats.csv b/deployer_build_stats.csv
index 86437581..9960c844 100644
--- a/deployer_build_stats.csv
+++ b/deployer_build_stats.csv
@@ -17,3 +17,4 @@ date,sha,version,build_size,build_time,platform,mode,is_cache_using,commits_coun
2023-08-05T16:31:19Z,37fff52aa59feb20f761ef4d340d9f677743d54b,0.11.693,2456,43,js-web,release,true,693
2023-08-05T16:41:25Z,d7dd4a86b81d73d345ad7e136de9c2c488bc4d8b,0.11.694,2452,43,js-web,release,true,694
2023-10-20T08:23:33Z,9132dc477b645d674ec21efbfcf85f48ef0ea8a6,0.11.718,2544,47,js-web,release,true,718
+2024-10-15T16:54:05Z,ea80c874f6c0ea175b317d01ac45c567db9179c7,0.11.0,1840,24,js-web,release,true,796
diff --git a/docs_md/changelog.md b/docs_md/changelog.md
index cffcf26e..3ef28906 100644
--- a/docs_md/changelog.md
+++ b/docs_md/changelog.md
@@ -500,3 +500,28 @@ Thanks to the my supporters:
Please support me if you like this project! It will help me keep engaged to update **Druid** and make it even better!
[![Github-sponsors](https://img.shields.io/badge/sponsor-30363D?style=for-the-badge&logo=GitHub-Sponsors&logoColor=#EA4AAA)](https://github.com/sponsors/insality) [![Ko-Fi](https://img.shields.io/badge/Ko--fi-F16061?style=for-the-badge&logo=ko-fi&logoColor=white)](https://ko-fi.com/insality) [![BuyMeACoffee](https://img.shields.io/badge/Buy%20Me%20a%20Coffee-ffdd00?style=for-the-badge&logo=buy-me-a-coffee&logoColor=black)](https://www.buymeacoffee.com/insality)
+
+
+
+### Druid 0.12.0
+
+**Changelog 0.12.0**
+- Remove `middleclass.lua`
+- The Rich Text now applied to the text node instead of Rich Text Template (contained 3 nodes before - root, text and image prefabs)
+- New Logo!
+- New Example Page with 40+ examples
+- Updated and fixed annotations
+- Add `self:get_druid(template, nodes)` to escape the `self:set_template(template)` and `self:set_nodes(nodes)` calls
+- Update Rich Input. Now with selection and cursor navigation. Updated Input settings for Druid
+- Rework Data List. Now only works with Static Grid only. Now the Data List more stable with extended API.
+- Add Cached Data List option. This used less memory (it's really much optimized) but requires uses the `on_add_element` and `on_remove_element` events to setup your nodes. All components should be the same class.
+- Now user can tap from one text input area to another with one click. Before first tap is closed the focus on selected input.
+- Removed Layout component. Add new Layout component what do a some different things. It's like Dynamic Grid but with more control and settings.
+- Deprecated Dynamic Grid. Layout will be instead of it.
+- Add touch param to Drag callbacks, it's much easier to add custom logic with knowledge of input action data.
+- Add `scroll.view_size`, `scroll:set_view_size(size)` and `scroll:update_view_size()` functions to manage with current scroll input area and scroll visible part
+- Add `grid:set_item_size(size)`, `grid:sort_nodes(comparator)` functions
+- Seems adjust by height for multiline text is workings good now
+- Extended Rich Input API
+- More accurate scaling for progress bars fow images with slice9 params
+- Fix several slider issues
diff --git a/druid/base/scroll.lua b/druid/base/scroll.lua
index 7a806203..962411a9 100755
--- a/druid/base/scroll.lua
+++ b/druid/base/scroll.lua
@@ -505,7 +505,7 @@ end
--- Bind the grid component (Static or Dynamic) to recalculate
-- scroll size on grid changes
-- @tparam Scroll self @{Scroll}
--- @tparam StaticGrid|DynamicGrid grid Druid grid component
+-- @tparam StaticGrid grid Druid grid component
-- @treturn druid.scroll Current scroll instance
function Scroll.bind_grid(self, grid)
if self._grid_on_change then
diff --git a/druid/extended/data_list.lua b/druid/extended/data_list.lua
index e28714fc..81bf9591 100644
--- a/druid/extended/data_list.lua
+++ b/druid/extended/data_list.lua
@@ -13,7 +13,7 @@
-- @tfield Scroll scroll @{Scroll}
--- The Druid Grid component
--- @tfield StaticGrid|DynamicGrid grid @{StaticGrid}, @{DynamicGrid}
+-- @tfield StaticGrid grid @{StaticGrid}, @{DynamicGrid}
--- The current progress of scroll posititon
-- @tfield number scroll_progress
@@ -46,7 +46,7 @@ local DataList = component.create("data_list")
--- The @{DataList} constructor
-- @tparam DataList self @{DataList}
-- @tparam Scroll scroll The @{Scroll} instance for Data List component
--- @tparam StaticGrid|DynamicGrid grid The @{StaticGrid} or @{DynamicGrid} instance for Data List component
+-- @tparam StaticGrid grid The @{StaticGrid} or @{DynamicGrid} instance for Data List component
-- @tparam function create_function The create function callback(self, data, index, data_list). Function should return (node, [component])
function DataList.init(self, scroll, grid, create_function)
self.scroll = scroll
diff --git a/druid/system/druid_instance.lua b/druid/system/druid_instance.lua
index 4f8f31bb..ece7d018 100755
--- a/druid/system/druid_instance.lua
+++ b/druid/system/druid_instance.lua
@@ -730,7 +730,7 @@ end
--- Create @{DataList} component
-- @tparam DruidInstance self
-- @tparam Scroll druid_scroll The Scroll instance for Data List component
--- @tparam StaticGrid|DynamicGrid druid_grid The @{StaticGrid} or @{DynamicGrid} instance for Data List component
+-- @tparam StaticGrid druid_grid The @{StaticGrid} or @{DynamicGrid} instance for Data List component
-- @tparam function create_function The create function callback(self, data, index, data_list). Function should return (node, [component])
-- @treturn DataList @{DataList} component
function DruidInstance.new_data_list(self, druid_scroll, druid_grid, create_function)
diff --git a/example/examples/custom/rich_text/rich_text.gui b/example/examples/custom/rich_text/rich_text.gui
index f2dd6037..0762a48d 100644
--- a/example/examples/custom/rich_text/rich_text.gui
+++ b/example/examples/custom/rich_text/rich_text.gui
@@ -7,5388 +7,82 @@ textures {
name: "kenney"
texture: "/example/assets/images/kenney.atlas"
}
-background_color {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 0.0
-}
nodes {
position {
x: 300.0
y: 415.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
}
size {
x: 600.0
y: 830.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
}
type: TYPE_BOX
- blend_mode: BLEND_MODE_ALPHA
texture: "kenney/empty"
id: "root"
- xanchor: XANCHOR_NONE
- yanchor: YANCHOR_NONE
- pivot: PIVOT_CENTER
- adjust_mode: ADJUST_MODE_FIT
- layer: ""
inherit_alpha: true
- slice9 {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 0.0
- }
- clipping_mode: CLIPPING_MODE_NONE
- clipping_visible: true
- clipping_inverted: false
- alpha: 1.0
- template_node_child: false
- size_mode: SIZE_MODE_MANUAL
- custom_type: 0
- enabled: true
- visible: true
}
nodes {
position {
- x: 0.0
y: 415.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
}
size {
x: 600.0
y: 830.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
}
type: TYPE_BOX
- blend_mode: BLEND_MODE_ALPHA
texture: "kenney/empty"
id: "scroll_view"
- xanchor: XANCHOR_NONE
- yanchor: YANCHOR_NONE
pivot: PIVOT_N
- adjust_mode: ADJUST_MODE_FIT
parent: "root"
- layer: ""
inherit_alpha: true
- slice9 {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 0.0
- }
- clipping_mode: CLIPPING_MODE_NONE
- clipping_visible: true
- clipping_inverted: false
- alpha: 1.0
- template_node_child: false
- size_mode: SIZE_MODE_MANUAL
- custom_type: 0
- enabled: true
visible: false
}
nodes {
- position {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
size {
x: 600.0
y: 1800.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
}
type: TYPE_BOX
- blend_mode: BLEND_MODE_ALPHA
texture: "kenney/empty"
id: "scroll_content"
- xanchor: XANCHOR_NONE
- yanchor: YANCHOR_NONE
pivot: PIVOT_N
- adjust_mode: ADJUST_MODE_FIT
parent: "scroll_view"
- layer: ""
inherit_alpha: true
- slice9 {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 0.0
- }
- clipping_mode: CLIPPING_MODE_NONE
- clipping_visible: true
- clipping_inverted: false
- alpha: 1.0
- template_node_child: false
- size_mode: SIZE_MODE_MANUAL
- custom_type: 0
- enabled: true
visible: false
}
nodes {
- position {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
scale {
x: 0.8
y: 0.8
- z: 1.0
- w: 1.0
}
size {
x: 500.0
y: 100.0
- z: 0.0
- w: 1.0
}
color {
x: 0.9490196
y: 0.9490196
z: 0.9490196
- w: 1.0
}
type: TYPE_TEXT
- blend_mode: BLEND_MODE_ALPHA
text: "This is the example page of Rich Text component"
font: "game"
id: "hint1"
- xanchor: XANCHOR_NONE
- yanchor: YANCHOR_NONE
- pivot: PIVOT_N
- outline {
- x: 0.2
- y: 0.0
- z: 0.2
- w: 1.0
- }
- shadow {
- x: 0.2
- y: 0.2
- z: 0.2
- w: 1.0
- }
- adjust_mode: ADJUST_MODE_FIT
- line_break: true
- parent: "scroll_content"
- layer: ""
- inherit_alpha: true
- alpha: 1.0
- outline_alpha: 0.75
- shadow_alpha: 0.25
- template_node_child: false
- text_leading: 1.0
- text_tracking: 0.0
- custom_type: 0
- enabled: true
- visible: true
-}
-nodes {
- position {
- x: 0.0
- y: -160.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- size {
- x: 400.0
- y: 150.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 0.101960786
- y: 0.3019608
- z: 0.3019608
- w: 1.0
- }
- type: TYPE_BOX
- blend_mode: BLEND_MODE_ALPHA
- texture: ""
- id: "case1"
- xanchor: XANCHOR_NONE
- yanchor: YANCHOR_NONE
- pivot: PIVOT_CENTER
- adjust_mode: ADJUST_MODE_FIT
- parent: "scroll_content"
- layer: ""
- inherit_alpha: true
- slice9 {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 0.0
- }
- clipping_mode: CLIPPING_MODE_NONE
- clipping_visible: true
- clipping_inverted: false
- alpha: 1.0
- template_node_child: false
- size_mode: SIZE_MODE_MANUAL
- custom_type: 0
- enabled: true
- visible: true
-}
-nodes {
- position {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- size {
- x: 200.0
- y: 100.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- type: TYPE_TEMPLATE
- id: "rich_text_1"
- parent: "case1"
- layer: ""
- inherit_alpha: true
- alpha: 1.0
- template: "/druid/custom/rich_text/rich_text.gui"
- template_node_child: false
- custom_type: 0
- enabled: true
-}
-nodes {
- position {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- size {
- x: 400.0
- y: 150.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- type: TYPE_BOX
- blend_mode: BLEND_MODE_ALPHA
- texture: ""
- id: "rich_text_1/root"
- xanchor: XANCHOR_NONE
- yanchor: YANCHOR_NONE
- pivot: PIVOT_CENTER
- adjust_mode: ADJUST_MODE_FIT
- parent: "rich_text_1"
- layer: ""
- inherit_alpha: true
- slice9 {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 0.0
- }
- clipping_mode: CLIPPING_MODE_NONE
- clipping_visible: true
- clipping_inverted: false
- alpha: 1.0
- overridden_fields: 4
- template_node_child: true
- size_mode: SIZE_MODE_MANUAL
- custom_type: 0
- enabled: true
- visible: false
-}
-nodes {
- position {
- x: -200.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- size {
- x: 400.0
- y: 150.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- type: TYPE_TEXT
- blend_mode: BLEND_MODE_ALPHA
- text: "Rich text"
- font: "game"
- id: "rich_text_1/text_prefab"
- xanchor: XANCHOR_NONE
- yanchor: YANCHOR_NONE
- pivot: PIVOT_W
- outline {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- shadow {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- adjust_mode: ADJUST_MODE_FIT
- line_break: true
- parent: "rich_text_1/root"
- layer: ""
- inherit_alpha: true
- alpha: 1.0
- outline_alpha: 0.75
- shadow_alpha: 0.0
- overridden_fields: 4
- overridden_fields: 18
- overridden_fields: 31
- template_node_child: true
- text_leading: 1.0
- text_tracking: 0.0
- custom_type: 0
- enabled: true
- visible: true
-}
-nodes {
- position {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- size {
- x: 200.0
- y: 100.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- type: TYPE_BOX
- blend_mode: BLEND_MODE_ALPHA
- texture: "items/checkmark"
- id: "rich_text_1/icon_prefab"
- xanchor: XANCHOR_NONE
- yanchor: YANCHOR_NONE
- pivot: PIVOT_CENTER
- adjust_mode: ADJUST_MODE_FIT
- parent: "rich_text_1/root"
- layer: ""
- inherit_alpha: true
- slice9 {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 0.0
- }
- clipping_mode: CLIPPING_MODE_NONE
- clipping_visible: true
- clipping_inverted: false
- alpha: 1.0
- template_node_child: true
- size_mode: SIZE_MODE_AUTO
- custom_type: 0
- enabled: true
- visible: true
-}
-nodes {
- position {
- x: 0.0
- y: -252.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 0.8
- y: 0.8
- z: 1.0
- w: 1.0
- }
- size {
- x: 500.0
- y: 100.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 0.9490196
- y: 0.9490196
- z: 0.9490196
- w: 1.0
- }
- type: TYPE_TEXT
- blend_mode: BLEND_MODE_ALPHA
- text: "Rich Text should match with usual text node"
- font: "game"
- id: "hint2"
- xanchor: XANCHOR_NONE
- yanchor: YANCHOR_NONE
pivot: PIVOT_N
outline {
x: 0.2
- y: 0.0
z: 0.2
- w: 1.0
}
shadow {
x: 0.2
y: 0.2
z: 0.2
- w: 1.0
}
- adjust_mode: ADJUST_MODE_FIT
line_break: true
parent: "scroll_content"
- layer: ""
inherit_alpha: true
- alpha: 1.0
outline_alpha: 0.75
shadow_alpha: 0.25
- template_node_child: false
- text_leading: 1.0
- text_tracking: 0.0
- custom_type: 0
- enabled: true
- visible: true
-}
-nodes {
- position {
- x: 0.0
- y: -400.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- size {
- x: 400.0
- y: 120.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 0.101960786
- y: 0.3019608
- z: 0.3019608
- w: 1.0
- }
- type: TYPE_BOX
- blend_mode: BLEND_MODE_ALPHA
- texture: ""
- id: "case2"
- xanchor: XANCHOR_NONE
- yanchor: YANCHOR_NONE
- pivot: PIVOT_CENTER
- adjust_mode: ADJUST_MODE_FIT
- parent: "scroll_content"
- layer: ""
- inherit_alpha: true
- slice9 {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 0.0
- }
- clipping_mode: CLIPPING_MODE_NONE
- clipping_visible: true
- clipping_inverted: false
- alpha: 1.0
- template_node_child: false
- size_mode: SIZE_MODE_MANUAL
- custom_type: 0
- enabled: true
- visible: true
-}
-nodes {
- position {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- size {
- x: 200.0
- y: 100.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- type: TYPE_TEMPLATE
- id: "rich_text_2"
- parent: "case2"
- layer: ""
- inherit_alpha: true
- alpha: 1.0
- template: "/druid/custom/rich_text/rich_text.gui"
- template_node_child: false
- custom_type: 0
- enabled: true
-}
-nodes {
- position {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- size {
- x: 400.0
- y: 112.5
- z: 0.0
- w: 1.0
- }
- color {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- type: TYPE_BOX
- blend_mode: BLEND_MODE_ALPHA
- texture: ""
- id: "rich_text_2/root"
- xanchor: XANCHOR_NONE
- yanchor: YANCHOR_NONE
- pivot: PIVOT_CENTER
- adjust_mode: ADJUST_MODE_FIT
- parent: "rich_text_2"
- layer: ""
- inherit_alpha: true
- slice9 {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 0.0
- }
- clipping_mode: CLIPPING_MODE_NONE
- clipping_visible: true
- clipping_inverted: false
- alpha: 1.0
- overridden_fields: 1
- overridden_fields: 4
- template_node_child: true
- size_mode: SIZE_MODE_MANUAL
- custom_type: 0
- enabled: true
- visible: false
-}
-nodes {
- position {
- x: -200.0
- y: -10.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 0.75
- y: 0.75
- z: 1.0
- w: 1.0
- }
- size {
- x: 550.0
- y: 50.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 1.0
- y: 0.9019608
- z: 0.6
- w: 1.0
- }
- type: TYPE_TEXT
- blend_mode: BLEND_MODE_ALPHA
- text: "Here is example to compare Rich Text posing with usual GUI Text Node."
- font: "game"
- id: "rich_text_2/text_prefab"
- xanchor: XANCHOR_NONE
- yanchor: YANCHOR_NONE
- pivot: PIVOT_W
- outline {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- shadow {
- x: 0.5019608
- y: 0.7019608
- z: 0.7019608
- w: 1.0
- }
- adjust_mode: ADJUST_MODE_FIT
- line_break: true
- parent: "rich_text_2/root"
- layer: ""
- inherit_alpha: true
- alpha: 1.0
- outline_alpha: 0.0
- shadow_alpha: 0.0
- overridden_fields: 1
- overridden_fields: 3
- overridden_fields: 4
- overridden_fields: 5
- overridden_fields: 8
- overridden_fields: 16
- overridden_fields: 18
- overridden_fields: 32
- template_node_child: true
- text_leading: 1.0
- text_tracking: 0.0
- custom_type: 0
- enabled: true
- visible: true
-}
-nodes {
- position {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 0.75
- y: 0.75
- z: 1.0
- w: 1.0
- }
- size {
- x: 200.0
- y: 100.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- type: TYPE_BOX
- blend_mode: BLEND_MODE_ALPHA
- texture: "items/checkmark"
- id: "rich_text_2/icon_prefab"
- xanchor: XANCHOR_NONE
- yanchor: YANCHOR_NONE
- pivot: PIVOT_CENTER
- adjust_mode: ADJUST_MODE_FIT
- parent: "rich_text_2/root"
- layer: ""
- inherit_alpha: true
- slice9 {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 0.0
- }
- clipping_mode: CLIPPING_MODE_NONE
- clipping_visible: true
- clipping_inverted: false
- alpha: 1.0
- overridden_fields: 3
- template_node_child: true
- size_mode: SIZE_MODE_AUTO
- custom_type: 0
- enabled: true
- visible: true
-}
-nodes {
- position {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 0.75
- y: 0.75
- z: 1.0
- w: 1.0
- }
- size {
- x: 533.0
- y: 150.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 0.9019608
- y: 0.7019608
- z: 0.9019608
- w: 1.0
- }
- type: TYPE_TEXT
- blend_mode: BLEND_MODE_ALPHA
- text: "Here is example to compare Rich Text posing with usual GUI Text Node."
- font: "game"
- id: "text_case_2"
- xanchor: XANCHOR_NONE
- yanchor: YANCHOR_NONE
- pivot: PIVOT_CENTER
- outline {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- shadow {
- x: 0.5019608
- y: 0.7019608
- z: 0.7019608
- w: 1.0
- }
- adjust_mode: ADJUST_MODE_FIT
- line_break: true
- parent: "case2"
- layer: ""
- inherit_alpha: true
- alpha: 0.0
- outline_alpha: 0.0
- shadow_alpha: 0.0
- template_node_child: false
- text_leading: 1.0
- text_tracking: 0.0
- custom_type: 0
- enabled: true
- visible: true
-}
-nodes {
- position {
- x: 0.0
- y: -475.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 0.8
- y: 0.8
- z: 1.0
- w: 1.0
- }
- size {
- x: 500.0
- y: 100.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 0.9490196
- y: 0.9490196
- z: 0.9490196
- w: 1.0
- }
- type: TYPE_TEXT
- blend_mode: BLEND_MODE_ALPHA
- text: "Rich Text split text to several text nodes"
- font: "game"
- id: "hint3"
- xanchor: XANCHOR_NONE
- yanchor: YANCHOR_NONE
- pivot: PIVOT_N
- outline {
- x: 0.2
- y: 0.0
- z: 0.2
- w: 1.0
- }
- shadow {
- x: 0.2
- y: 0.2
- z: 0.2
- w: 1.0
- }
- adjust_mode: ADJUST_MODE_FIT
- line_break: true
- parent: "scroll_content"
- layer: ""
- inherit_alpha: true
- alpha: 1.0
- outline_alpha: 0.75
- shadow_alpha: 0.25
- template_node_child: false
- text_leading: 1.0
- text_tracking: 0.0
- custom_type: 0
- enabled: true
- visible: true
-}
-nodes {
- position {
- x: 0.0
- y: -620.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- size {
- x: 400.0
- y: 120.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 0.101960786
- y: 0.3019608
- z: 0.3019608
- w: 1.0
- }
- type: TYPE_BOX
- blend_mode: BLEND_MODE_ALPHA
- texture: ""
- id: "case3"
- xanchor: XANCHOR_NONE
- yanchor: YANCHOR_NONE
- pivot: PIVOT_CENTER
- adjust_mode: ADJUST_MODE_FIT
- parent: "scroll_content"
- layer: ""
- inherit_alpha: true
- slice9 {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 0.0
- }
- clipping_mode: CLIPPING_MODE_NONE
- clipping_visible: true
- clipping_inverted: false
- alpha: 1.0
- template_node_child: false
- size_mode: SIZE_MODE_MANUAL
- custom_type: 0
- enabled: true
- visible: true
-}
-nodes {
- position {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- size {
- x: 200.0
- y: 100.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- type: TYPE_TEMPLATE
- id: "rich_text_3"
- parent: "case3"
- layer: ""
- inherit_alpha: true
- alpha: 1.0
- template: "/druid/custom/rich_text/rich_text.gui"
- template_node_child: false
- custom_type: 0
- enabled: true
-}
-nodes {
- position {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- size {
- x: 400.0
- y: 112.5
- z: 0.0
- w: 1.0
- }
- color {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- type: TYPE_BOX
- blend_mode: BLEND_MODE_ALPHA
- texture: ""
- id: "rich_text_3/root"
- xanchor: XANCHOR_NONE
- yanchor: YANCHOR_NONE
- pivot: PIVOT_CENTER
- adjust_mode: ADJUST_MODE_FIT
- parent: "rich_text_3"
- layer: ""
- inherit_alpha: true
- slice9 {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 0.0
- }
- clipping_mode: CLIPPING_MODE_NONE
- clipping_visible: true
- clipping_inverted: false
- alpha: 1.0
- overridden_fields: 1
- overridden_fields: 4
- template_node_child: true
- size_mode: SIZE_MODE_MANUAL
- custom_type: 0
- enabled: true
- visible: false
-}
-nodes {
- position {
- x: -200.0
- y: -10.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 0.75
- y: 0.75
- z: 1.0
- w: 1.0
- }
- size {
- x: 400.0
- y: 100.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 1.0
- y: 0.9019608
- z: 0.6
- w: 1.0
- }
- type: TYPE_TEXT
- blend_mode: BLEND_MODE_ALPHA
- text: "Rich Text"
- font: "game"
- id: "rich_text_3/text_prefab"
- xanchor: XANCHOR_NONE
- yanchor: YANCHOR_NONE
- pivot: PIVOT_W
- outline {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- shadow {
- x: 0.5019608
- y: 0.7019608
- z: 0.7019608
- w: 1.0
- }
- adjust_mode: ADJUST_MODE_FIT
- line_break: true
- parent: "rich_text_3/root"
- layer: ""
- inherit_alpha: true
- alpha: 1.0
- outline_alpha: 0.0
- shadow_alpha: 0.0
- overridden_fields: 1
- overridden_fields: 3
- overridden_fields: 5
- overridden_fields: 8
- overridden_fields: 16
- overridden_fields: 18
- overridden_fields: 32
- template_node_child: true
- text_leading: 1.0
- text_tracking: 0.0
- custom_type: 0
- enabled: true
- visible: true
-}
-nodes {
- position {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 0.75
- y: 0.75
- z: 1.0
- w: 1.0
- }
- size {
- x: 200.0
- y: 100.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- type: TYPE_BOX
- blend_mode: BLEND_MODE_ALPHA
- texture: "items/checkmark"
- id: "rich_text_3/icon_prefab"
- xanchor: XANCHOR_NONE
- yanchor: YANCHOR_NONE
- pivot: PIVOT_CENTER
- adjust_mode: ADJUST_MODE_FIT
- parent: "rich_text_3/root"
- layer: ""
- inherit_alpha: true
- slice9 {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 0.0
- }
- clipping_mode: CLIPPING_MODE_NONE
- clipping_visible: true
- clipping_inverted: false
- alpha: 1.0
- overridden_fields: 3
- template_node_child: true
- size_mode: SIZE_MODE_AUTO
- custom_type: 0
- enabled: true
- visible: true
-}
-nodes {
- position {
- x: 0.0
- y: -685.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 0.8
- y: 0.8
- z: 1.0
- w: 1.0
- }
- size {
- x: 500.0
- y: 100.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 0.9490196
- y: 0.9490196
- z: 0.9490196
- w: 1.0
- }
- type: TYPE_TEXT
- blend_mode: BLEND_MODE_ALPHA
- text: "Rich Text supports images"
- font: "game"
- id: "hint4"
- xanchor: XANCHOR_NONE
- yanchor: YANCHOR_NONE
- pivot: PIVOT_N
- outline {
- x: 0.2
- y: 0.0
- z: 0.2
- w: 1.0
- }
- shadow {
- x: 0.2
- y: 0.2
- z: 0.2
- w: 1.0
- }
- adjust_mode: ADJUST_MODE_FIT
- line_break: true
- parent: "scroll_content"
- layer: ""
- inherit_alpha: true
- alpha: 1.0
- outline_alpha: 0.75
- shadow_alpha: 0.25
- template_node_child: false
- text_leading: 1.0
- text_tracking: 0.0
- custom_type: 0
- enabled: true
- visible: true
-}
-nodes {
- position {
- x: 0.0
- y: -800.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- size {
- x: 400.0
- y: 60.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 0.101960786
- y: 0.3019608
- z: 0.3019608
- w: 1.0
- }
- type: TYPE_BOX
- blend_mode: BLEND_MODE_ALPHA
- texture: ""
- id: "case4_1"
- xanchor: XANCHOR_NONE
- yanchor: YANCHOR_NONE
- pivot: PIVOT_CENTER
- adjust_mode: ADJUST_MODE_FIT
- parent: "scroll_content"
- layer: ""
- inherit_alpha: true
- slice9 {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 0.0
- }
- clipping_mode: CLIPPING_MODE_NONE
- clipping_visible: true
- clipping_inverted: false
- alpha: 1.0
- template_node_child: false
- size_mode: SIZE_MODE_MANUAL
- custom_type: 0
- enabled: true
- visible: true
-}
-nodes {
- position {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- size {
- x: 200.0
- y: 100.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- type: TYPE_TEMPLATE
- id: "rich_text_4_1"
- parent: "case4_1"
- layer: ""
- inherit_alpha: true
- alpha: 1.0
- template: "/druid/custom/rich_text/rich_text.gui"
- template_node_child: false
- custom_type: 0
- enabled: true
-}
-nodes {
- position {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- size {
- x: 400.0
- y: 60.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- type: TYPE_BOX
- blend_mode: BLEND_MODE_ALPHA
- texture: ""
- id: "rich_text_4_1/root"
- xanchor: XANCHOR_NONE
- yanchor: YANCHOR_NONE
- pivot: PIVOT_CENTER
- adjust_mode: ADJUST_MODE_FIT
- parent: "rich_text_4_1"
- layer: ""
- inherit_alpha: true
- slice9 {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 0.0
- }
- clipping_mode: CLIPPING_MODE_NONE
- clipping_visible: true
- clipping_inverted: false
- alpha: 1.0
- overridden_fields: 1
- overridden_fields: 4
- template_node_child: true
- size_mode: SIZE_MODE_MANUAL
- custom_type: 0
- enabled: true
- visible: false
-}
-nodes {
- position {
- x: -200.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 0.75
- y: 0.75
- z: 1.0
- w: 1.0
- }
- size {
- x: 400.0
- y: 50.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 1.0
- y: 0.9019608
- z: 0.6
- w: 1.0
- }
- type: TYPE_TEXT
- blend_mode: BLEND_MODE_ALPHA
- text: "Rich Text"
- font: "game"
- id: "rich_text_4_1/text_prefab"
- xanchor: XANCHOR_NONE
- yanchor: YANCHOR_NONE
- pivot: PIVOT_W
- outline {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- shadow {
- x: 0.5019608
- y: 0.7019608
- z: 0.7019608
- w: 1.0
- }
- adjust_mode: ADJUST_MODE_FIT
- line_break: true
- parent: "rich_text_4_1/root"
- layer: ""
- inherit_alpha: true
- alpha: 1.0
- outline_alpha: 0.0
- shadow_alpha: 0.0
- overridden_fields: 3
- overridden_fields: 4
- overridden_fields: 5
- overridden_fields: 8
- overridden_fields: 16
- overridden_fields: 18
- overridden_fields: 32
- template_node_child: true
- text_leading: 1.0
- text_tracking: 0.0
- custom_type: 0
- enabled: true
- visible: true
-}
-nodes {
- position {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- size {
- x: 200.0
- y: 100.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- type: TYPE_BOX
- blend_mode: BLEND_MODE_ALPHA
- texture: "items/checkmark"
- id: "rich_text_4_1/icon_prefab"
- xanchor: XANCHOR_NONE
- yanchor: YANCHOR_NONE
- pivot: PIVOT_CENTER
- adjust_mode: ADJUST_MODE_FIT
- parent: "rich_text_4_1/root"
- layer: ""
- inherit_alpha: true
- slice9 {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 0.0
- }
- clipping_mode: CLIPPING_MODE_NONE
- clipping_visible: true
- clipping_inverted: false
- alpha: 1.0
- template_node_child: true
- size_mode: SIZE_MODE_AUTO
- custom_type: 0
- enabled: true
- visible: true
-}
-nodes {
- position {
- x: 0.0
- y: -870.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- size {
- x: 400.0
- y: 60.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 0.101960786
- y: 0.3019608
- z: 0.3019608
- w: 1.0
- }
- type: TYPE_BOX
- blend_mode: BLEND_MODE_ALPHA
- texture: ""
- id: "case4_2"
- xanchor: XANCHOR_NONE
- yanchor: YANCHOR_NONE
- pivot: PIVOT_CENTER
- adjust_mode: ADJUST_MODE_FIT
- parent: "scroll_content"
- layer: ""
- inherit_alpha: true
- slice9 {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 0.0
- }
- clipping_mode: CLIPPING_MODE_NONE
- clipping_visible: true
- clipping_inverted: false
- alpha: 1.0
- template_node_child: false
- size_mode: SIZE_MODE_MANUAL
- custom_type: 0
- enabled: true
- visible: true
-}
-nodes {
- position {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- size {
- x: 200.0
- y: 100.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- type: TYPE_TEMPLATE
- id: "rich_text_4_2"
- parent: "case4_2"
- layer: ""
- inherit_alpha: true
- alpha: 1.0
- template: "/druid/custom/rich_text/rich_text.gui"
- template_node_child: false
- custom_type: 0
- enabled: true
-}
-nodes {
- position {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- size {
- x: 400.0
- y: 60.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- type: TYPE_BOX
- blend_mode: BLEND_MODE_ALPHA
- texture: ""
- id: "rich_text_4_2/root"
- xanchor: XANCHOR_NONE
- yanchor: YANCHOR_NONE
- pivot: PIVOT_CENTER
- adjust_mode: ADJUST_MODE_FIT
- parent: "rich_text_4_2"
- layer: ""
- inherit_alpha: true
- slice9 {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 0.0
- }
- clipping_mode: CLIPPING_MODE_NONE
- clipping_visible: true
- clipping_inverted: false
- alpha: 1.0
- overridden_fields: 1
- overridden_fields: 4
- template_node_child: true
- size_mode: SIZE_MODE_MANUAL
- custom_type: 0
- enabled: true
- visible: false
-}
-nodes {
- position {
- x: -200.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 0.75
- y: 0.75
- z: 1.0
- w: 1.0
- }
- size {
- x: 400.0
- y: 50.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 1.0
- y: 0.9019608
- z: 0.6
- w: 1.0
- }
- type: TYPE_TEXT
- blend_mode: BLEND_MODE_ALPHA
- text: "Rich Text"
- font: "game"
- id: "rich_text_4_2/text_prefab"
- xanchor: XANCHOR_NONE
- yanchor: YANCHOR_NONE
- pivot: PIVOT_W
- outline {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- shadow {
- x: 0.5019608
- y: 0.7019608
- z: 0.7019608
- w: 1.0
- }
- adjust_mode: ADJUST_MODE_FIT
- line_break: true
- parent: "rich_text_4_2/root"
- layer: ""
- inherit_alpha: true
- alpha: 1.0
- outline_alpha: 0.0
- shadow_alpha: 0.0
- overridden_fields: 3
- overridden_fields: 4
- overridden_fields: 5
- overridden_fields: 8
- overridden_fields: 16
- overridden_fields: 18
- overridden_fields: 32
- template_node_child: true
- text_leading: 1.0
- text_tracking: 0.0
- custom_type: 0
- enabled: true
- visible: true
-}
-nodes {
- position {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 0.5
- y: 0.5
- z: 1.0
- w: 1.0
- }
- size {
- x: 200.0
- y: 100.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- type: TYPE_BOX
- blend_mode: BLEND_MODE_ALPHA
- texture: "items/checkmark"
- id: "rich_text_4_2/icon_prefab"
- xanchor: XANCHOR_NONE
- yanchor: YANCHOR_NONE
- pivot: PIVOT_CENTER
- adjust_mode: ADJUST_MODE_FIT
- parent: "rich_text_4_2/root"
- layer: ""
- inherit_alpha: true
- slice9 {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 0.0
- }
- clipping_mode: CLIPPING_MODE_NONE
- clipping_visible: true
- clipping_inverted: false
- alpha: 1.0
- overridden_fields: 3
- template_node_child: true
- size_mode: SIZE_MODE_AUTO
- custom_type: 0
- enabled: true
- visible: true
-}
-nodes {
- position {
- x: 0.0
- y: -940.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- size {
- x: 400.0
- y: 60.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 0.101960786
- y: 0.3019608
- z: 0.3019608
- w: 1.0
- }
- type: TYPE_BOX
- blend_mode: BLEND_MODE_ALPHA
- texture: ""
- id: "case4_3"
- xanchor: XANCHOR_NONE
- yanchor: YANCHOR_NONE
- pivot: PIVOT_CENTER
- adjust_mode: ADJUST_MODE_FIT
- parent: "scroll_content"
- layer: ""
- inherit_alpha: true
- slice9 {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 0.0
- }
- clipping_mode: CLIPPING_MODE_NONE
- clipping_visible: true
- clipping_inverted: false
- alpha: 1.0
- template_node_child: false
- size_mode: SIZE_MODE_MANUAL
- custom_type: 0
- enabled: true
- visible: true
-}
-nodes {
- position {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- size {
- x: 200.0
- y: 100.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- type: TYPE_TEMPLATE
- id: "rich_text_4_3"
- parent: "case4_3"
- layer: ""
- inherit_alpha: true
- alpha: 1.0
- template: "/druid/custom/rich_text/rich_text.gui"
- template_node_child: false
- custom_type: 0
- enabled: true
-}
-nodes {
- position {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- size {
- x: 400.0
- y: 60.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- type: TYPE_BOX
- blend_mode: BLEND_MODE_ALPHA
- texture: ""
- id: "rich_text_4_3/root"
- xanchor: XANCHOR_NONE
- yanchor: YANCHOR_NONE
- pivot: PIVOT_CENTER
- adjust_mode: ADJUST_MODE_FIT
- parent: "rich_text_4_3"
- layer: ""
- inherit_alpha: true
- slice9 {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 0.0
- }
- clipping_mode: CLIPPING_MODE_NONE
- clipping_visible: true
- clipping_inverted: false
- alpha: 1.0
- overridden_fields: 1
- overridden_fields: 4
- template_node_child: true
- size_mode: SIZE_MODE_MANUAL
- custom_type: 0
- enabled: true
- visible: false
-}
-nodes {
- position {
- x: -200.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 0.75
- y: 0.75
- z: 1.0
- w: 1.0
- }
- size {
- x: 400.0
- y: 50.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 1.0
- y: 0.9019608
- z: 0.6
- w: 1.0
- }
- type: TYPE_TEXT
- blend_mode: BLEND_MODE_ALPHA
- text: "Rich Text"
- font: "game"
- id: "rich_text_4_3/text_prefab"
- xanchor: XANCHOR_NONE
- yanchor: YANCHOR_NONE
- pivot: PIVOT_W
- outline {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- shadow {
- x: 0.5019608
- y: 0.7019608
- z: 0.7019608
- w: 1.0
- }
- adjust_mode: ADJUST_MODE_FIT
- line_break: true
- parent: "rich_text_4_3/root"
- layer: ""
- inherit_alpha: true
- alpha: 1.0
- outline_alpha: 0.0
- shadow_alpha: 0.0
- overridden_fields: 3
- overridden_fields: 4
- overridden_fields: 5
- overridden_fields: 8
- overridden_fields: 16
- overridden_fields: 18
- overridden_fields: 32
- template_node_child: true
- text_leading: 1.0
- text_tracking: 0.0
- custom_type: 0
- enabled: true
- visible: true
-}
-nodes {
- position {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- size {
- x: 200.0
- y: 100.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- type: TYPE_BOX
- blend_mode: BLEND_MODE_ALPHA
- texture: "items/checkmark"
- id: "rich_text_4_3/icon_prefab"
- xanchor: XANCHOR_NONE
- yanchor: YANCHOR_NONE
- pivot: PIVOT_CENTER
- adjust_mode: ADJUST_MODE_FIT
- parent: "rich_text_4_3/root"
- layer: ""
- inherit_alpha: true
- slice9 {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 0.0
- }
- clipping_mode: CLIPPING_MODE_NONE
- clipping_visible: true
- clipping_inverted: false
- alpha: 1.0
- template_node_child: true
- size_mode: SIZE_MODE_AUTO
- custom_type: 0
- enabled: true
- visible: true
-}
-nodes {
- position {
- x: 0.0
- y: -986.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 0.8
- y: 0.8
- z: 1.0
- w: 1.0
- }
- size {
- x: 700.0
- y: 100.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 0.9490196
- y: 0.9490196
- z: 0.9490196
- w: 1.0
- }
- type: TYPE_TEXT
- blend_mode: BLEND_MODE_ALPHA
- text: "Rich Text support all pivots (area from root node size)"
- font: "game"
- id: "hint5"
- xanchor: XANCHOR_NONE
- yanchor: YANCHOR_NONE
- pivot: PIVOT_N
- outline {
- x: 0.2
- y: 0.0
- z: 0.2
- w: 1.0
- }
- shadow {
- x: 0.2
- y: 0.2
- z: 0.2
- w: 1.0
- }
- adjust_mode: ADJUST_MODE_FIT
- line_break: true
- parent: "scroll_content"
- layer: ""
- inherit_alpha: true
- alpha: 1.0
- outline_alpha: 0.75
- shadow_alpha: 0.25
- template_node_child: false
- text_leading: 1.0
- text_tracking: 0.0
- custom_type: 0
- enabled: true
- visible: true
-}
-nodes {
- position {
- x: -180.0
- y: -1132.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- size {
- x: 150.0
- y: 100.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 0.101960786
- y: 0.3019608
- z: 0.3019608
- w: 1.0
- }
- type: TYPE_BOX
- blend_mode: BLEND_MODE_ALPHA
- texture: ""
- id: "case5_NW"
- xanchor: XANCHOR_NONE
- yanchor: YANCHOR_NONE
- pivot: PIVOT_CENTER
- adjust_mode: ADJUST_MODE_FIT
- parent: "scroll_content"
- layer: ""
- inherit_alpha: true
- slice9 {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 0.0
- }
- clipping_mode: CLIPPING_MODE_NONE
- clipping_visible: true
- clipping_inverted: false
- alpha: 1.0
- template_node_child: false
- size_mode: SIZE_MODE_MANUAL
- custom_type: 0
- enabled: true
- visible: true
-}
-nodes {
- position {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- size {
- x: 200.0
- y: 100.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- type: TYPE_TEMPLATE
- id: "rich_text_5_NW"
- parent: "case5_NW"
- layer: ""
- inherit_alpha: true
- alpha: 1.0
- template: "/druid/custom/rich_text/rich_text.gui"
- template_node_child: false
- custom_type: 0
- enabled: true
-}
-nodes {
- position {
- x: -75.0
- y: 50.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- size {
- x: 150.0
- y: 100.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- type: TYPE_BOX
- blend_mode: BLEND_MODE_ALPHA
- texture: ""
- id: "rich_text_5_NW/root"
- xanchor: XANCHOR_NONE
- yanchor: YANCHOR_NONE
- pivot: PIVOT_NW
- adjust_mode: ADJUST_MODE_FIT
- parent: "rich_text_5_NW"
- layer: ""
- inherit_alpha: true
- slice9 {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 0.0
- }
- clipping_mode: CLIPPING_MODE_NONE
- clipping_visible: true
- clipping_inverted: false
- alpha: 1.0
- overridden_fields: 1
- overridden_fields: 4
- overridden_fields: 14
- template_node_child: true
- size_mode: SIZE_MODE_MANUAL
- custom_type: 0
- enabled: true
- visible: false
-}
-nodes {
- position {
- x: 0.0
- y: -50.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 0.5
- y: 0.5
- z: 1.0
- w: 1.0
- }
- size {
- x: 150.0
- y: 100.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 1.0
- y: 0.9019608
- z: 0.6
- w: 1.0
- }
- type: TYPE_TEXT
- blend_mode: BLEND_MODE_ALPHA
- text: "Rich Text"
- font: "game"
- id: "rich_text_5_NW/text_prefab"
- xanchor: XANCHOR_NONE
- yanchor: YANCHOR_NONE
- pivot: PIVOT_W
- outline {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- shadow {
- x: 0.5019608
- y: 0.7019608
- z: 0.7019608
- w: 1.0
- }
- adjust_mode: ADJUST_MODE_FIT
- line_break: true
- parent: "rich_text_5_NW/root"
- layer: ""
- inherit_alpha: true
- alpha: 1.0
- outline_alpha: 0.0
- shadow_alpha: 0.0
- overridden_fields: 1
- overridden_fields: 3
- overridden_fields: 4
- overridden_fields: 5
- overridden_fields: 8
- overridden_fields: 16
- overridden_fields: 18
- overridden_fields: 32
- template_node_child: true
- text_leading: 1.0
- text_tracking: 0.0
- custom_type: 0
- enabled: true
- visible: true
-}
-nodes {
- position {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 0.75
- y: 0.75
- z: 1.0
- w: 1.0
- }
- size {
- x: 200.0
- y: 100.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- type: TYPE_BOX
- blend_mode: BLEND_MODE_ALPHA
- texture: "items/checkmark"
- id: "rich_text_5_NW/icon_prefab"
- xanchor: XANCHOR_NONE
- yanchor: YANCHOR_NONE
- pivot: PIVOT_N
- adjust_mode: ADJUST_MODE_FIT
- parent: "rich_text_5_NW/root"
- layer: ""
- inherit_alpha: true
- slice9 {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 0.0
- }
- clipping_mode: CLIPPING_MODE_NONE
- clipping_visible: true
- clipping_inverted: false
- alpha: 1.0
- overridden_fields: 3
- overridden_fields: 14
- template_node_child: true
- size_mode: SIZE_MODE_AUTO
- custom_type: 0
- enabled: true
- visible: true
-}
-nodes {
- position {
- x: 0.0
- y: -1132.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- size {
- x: 150.0
- y: 100.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 0.101960786
- y: 0.3019608
- z: 0.3019608
- w: 1.0
- }
- type: TYPE_BOX
- blend_mode: BLEND_MODE_ALPHA
- texture: ""
- id: "case5_N"
- xanchor: XANCHOR_NONE
- yanchor: YANCHOR_NONE
- pivot: PIVOT_CENTER
- adjust_mode: ADJUST_MODE_FIT
- parent: "scroll_content"
- layer: ""
- inherit_alpha: true
- slice9 {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 0.0
- }
- clipping_mode: CLIPPING_MODE_NONE
- clipping_visible: true
- clipping_inverted: false
- alpha: 1.0
- template_node_child: false
- size_mode: SIZE_MODE_MANUAL
- custom_type: 0
- enabled: true
- visible: true
-}
-nodes {
- position {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- size {
- x: 200.0
- y: 100.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- type: TYPE_TEMPLATE
- id: "rich_text_5_N"
- parent: "case5_N"
- layer: ""
- inherit_alpha: true
- alpha: 1.0
- template: "/druid/custom/rich_text/rich_text.gui"
- template_node_child: false
- custom_type: 0
- enabled: true
-}
-nodes {
- position {
- x: 0.0
- y: 50.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- size {
- x: 150.0
- y: 100.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- type: TYPE_BOX
- blend_mode: BLEND_MODE_ALPHA
- texture: ""
- id: "rich_text_5_N/root"
- xanchor: XANCHOR_NONE
- yanchor: YANCHOR_NONE
- pivot: PIVOT_N
- adjust_mode: ADJUST_MODE_FIT
- parent: "rich_text_5_N"
- layer: ""
- inherit_alpha: true
- slice9 {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 0.0
- }
- clipping_mode: CLIPPING_MODE_NONE
- clipping_visible: true
- clipping_inverted: false
- alpha: 1.0
- overridden_fields: 1
- overridden_fields: 4
- overridden_fields: 14
- template_node_child: true
- size_mode: SIZE_MODE_MANUAL
- custom_type: 0
- enabled: true
- visible: false
-}
-nodes {
- position {
- x: -73.0
- y: -50.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 0.5
- y: 0.5
- z: 1.0
- w: 1.0
- }
- size {
- x: 150.0
- y: 100.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 1.0
- y: 0.9019608
- z: 0.6
- w: 1.0
- }
- type: TYPE_TEXT
- blend_mode: BLEND_MODE_ALPHA
- text: "Rich Text"
- font: "game"
- id: "rich_text_5_N/text_prefab"
- xanchor: XANCHOR_NONE
- yanchor: YANCHOR_NONE
- pivot: PIVOT_W
- outline {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- shadow {
- x: 0.5019608
- y: 0.7019608
- z: 0.7019608
- w: 1.0
- }
- adjust_mode: ADJUST_MODE_FIT
- line_break: true
- parent: "rich_text_5_N/root"
- layer: ""
- inherit_alpha: true
- alpha: 1.0
- outline_alpha: 0.0
- shadow_alpha: 0.0
- overridden_fields: 1
- overridden_fields: 3
- overridden_fields: 4
- overridden_fields: 5
- overridden_fields: 8
- overridden_fields: 16
- overridden_fields: 18
- overridden_fields: 32
- template_node_child: true
- text_leading: 1.0
- text_tracking: 0.0
- custom_type: 0
- enabled: true
- visible: true
-}
-nodes {
- position {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 0.75
- y: 0.75
- z: 1.0
- w: 1.0
- }
- size {
- x: 200.0
- y: 100.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- type: TYPE_BOX
- blend_mode: BLEND_MODE_ALPHA
- texture: "items/checkmark"
- id: "rich_text_5_N/icon_prefab"
- xanchor: XANCHOR_NONE
- yanchor: YANCHOR_NONE
- pivot: PIVOT_N
- adjust_mode: ADJUST_MODE_FIT
- parent: "rich_text_5_N/root"
- layer: ""
- inherit_alpha: true
- slice9 {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 0.0
- }
- clipping_mode: CLIPPING_MODE_NONE
- clipping_visible: true
- clipping_inverted: false
- alpha: 1.0
- overridden_fields: 3
- overridden_fields: 14
- template_node_child: true
- size_mode: SIZE_MODE_AUTO
- custom_type: 0
- enabled: true
- visible: true
-}
-nodes {
- position {
- x: 180.0
- y: -1132.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- size {
- x: 150.0
- y: 100.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 0.101960786
- y: 0.3019608
- z: 0.3019608
- w: 1.0
- }
- type: TYPE_BOX
- blend_mode: BLEND_MODE_ALPHA
- texture: ""
- id: "case5_NE"
- xanchor: XANCHOR_NONE
- yanchor: YANCHOR_NONE
- pivot: PIVOT_CENTER
- adjust_mode: ADJUST_MODE_FIT
- parent: "scroll_content"
- layer: ""
- inherit_alpha: true
- slice9 {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 0.0
- }
- clipping_mode: CLIPPING_MODE_NONE
- clipping_visible: true
- clipping_inverted: false
- alpha: 1.0
- template_node_child: false
- size_mode: SIZE_MODE_MANUAL
- custom_type: 0
- enabled: true
- visible: true
-}
-nodes {
- position {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- size {
- x: 200.0
- y: 100.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- type: TYPE_TEMPLATE
- id: "rich_text_5_NE"
- parent: "case5_NE"
- layer: ""
- inherit_alpha: true
- alpha: 1.0
- template: "/druid/custom/rich_text/rich_text.gui"
- template_node_child: false
- custom_type: 0
- enabled: true
-}
-nodes {
- position {
- x: 75.0
- y: 50.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- size {
- x: 150.0
- y: 100.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- type: TYPE_BOX
- blend_mode: BLEND_MODE_ALPHA
- texture: ""
- id: "rich_text_5_NE/root"
- xanchor: XANCHOR_NONE
- yanchor: YANCHOR_NONE
- pivot: PIVOT_NE
- adjust_mode: ADJUST_MODE_FIT
- parent: "rich_text_5_NE"
- layer: ""
- inherit_alpha: true
- slice9 {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 0.0
- }
- clipping_mode: CLIPPING_MODE_NONE
- clipping_visible: true
- clipping_inverted: false
- alpha: 1.0
- overridden_fields: 1
- overridden_fields: 4
- overridden_fields: 14
- template_node_child: true
- size_mode: SIZE_MODE_MANUAL
- custom_type: 0
- enabled: true
- visible: false
-}
-nodes {
- position {
- x: -150.0
- y: -50.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 0.5
- y: 0.5
- z: 1.0
- w: 1.0
- }
- size {
- x: 150.0
- y: 100.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 1.0
- y: 0.9019608
- z: 0.6
- w: 1.0
- }
- type: TYPE_TEXT
- blend_mode: BLEND_MODE_ALPHA
- text: "Rich Text"
- font: "game"
- id: "rich_text_5_NE/text_prefab"
- xanchor: XANCHOR_NONE
- yanchor: YANCHOR_NONE
- pivot: PIVOT_W
- outline {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- shadow {
- x: 0.5019608
- y: 0.7019608
- z: 0.7019608
- w: 1.0
- }
- adjust_mode: ADJUST_MODE_FIT
- line_break: true
- parent: "rich_text_5_NE/root"
- layer: ""
- inherit_alpha: true
- alpha: 1.0
- outline_alpha: 0.0
- shadow_alpha: 0.0
- overridden_fields: 1
- overridden_fields: 3
- overridden_fields: 4
- overridden_fields: 5
- overridden_fields: 8
- overridden_fields: 16
- overridden_fields: 18
- overridden_fields: 32
- template_node_child: true
- text_leading: 1.0
- text_tracking: 0.0
- custom_type: 0
- enabled: true
- visible: true
-}
-nodes {
- position {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 0.75
- y: 0.75
- z: 1.0
- w: 1.0
- }
- size {
- x: 200.0
- y: 100.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- type: TYPE_BOX
- blend_mode: BLEND_MODE_ALPHA
- texture: "items/checkmark"
- id: "rich_text_5_NE/icon_prefab"
- xanchor: XANCHOR_NONE
- yanchor: YANCHOR_NONE
- pivot: PIVOT_N
- adjust_mode: ADJUST_MODE_FIT
- parent: "rich_text_5_NE/root"
- layer: ""
- inherit_alpha: true
- slice9 {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 0.0
- }
- clipping_mode: CLIPPING_MODE_NONE
- clipping_visible: true
- clipping_inverted: false
- alpha: 1.0
- overridden_fields: 3
- overridden_fields: 14
- template_node_child: true
- size_mode: SIZE_MODE_AUTO
- custom_type: 0
- enabled: true
- visible: true
-}
-nodes {
- position {
- x: -180.0
- y: -1252.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- size {
- x: 150.0
- y: 100.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 0.101960786
- y: 0.3019608
- z: 0.3019608
- w: 1.0
- }
- type: TYPE_BOX
- blend_mode: BLEND_MODE_ALPHA
- texture: ""
- id: "case5_W"
- xanchor: XANCHOR_NONE
- yanchor: YANCHOR_NONE
- pivot: PIVOT_CENTER
- adjust_mode: ADJUST_MODE_FIT
- parent: "scroll_content"
- layer: ""
- inherit_alpha: true
- slice9 {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 0.0
- }
- clipping_mode: CLIPPING_MODE_NONE
- clipping_visible: true
- clipping_inverted: false
- alpha: 1.0
- template_node_child: false
- size_mode: SIZE_MODE_MANUAL
- custom_type: 0
- enabled: true
- visible: true
-}
-nodes {
- position {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- size {
- x: 200.0
- y: 100.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- type: TYPE_TEMPLATE
- id: "rich_text_5_W"
- parent: "case5_W"
- layer: ""
- inherit_alpha: true
- alpha: 1.0
- template: "/druid/custom/rich_text/rich_text.gui"
- template_node_child: false
- custom_type: 0
- enabled: true
-}
-nodes {
- position {
- x: -75.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- size {
- x: 150.0
- y: 100.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- type: TYPE_BOX
- blend_mode: BLEND_MODE_ALPHA
- texture: ""
- id: "rich_text_5_W/root"
- xanchor: XANCHOR_NONE
- yanchor: YANCHOR_NONE
- pivot: PIVOT_W
- adjust_mode: ADJUST_MODE_FIT
- parent: "rich_text_5_W"
- layer: ""
- inherit_alpha: true
- slice9 {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 0.0
- }
- clipping_mode: CLIPPING_MODE_NONE
- clipping_visible: true
- clipping_inverted: false
- alpha: 1.0
- overridden_fields: 1
- overridden_fields: 4
- overridden_fields: 14
- template_node_child: true
- size_mode: SIZE_MODE_MANUAL
- custom_type: 0
- enabled: true
- visible: false
-}
-nodes {
- position {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 0.5
- y: 0.5
- z: 1.0
- w: 1.0
- }
- size {
- x: 150.0
- y: 100.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 1.0
- y: 0.9019608
- z: 0.6
- w: 1.0
- }
- type: TYPE_TEXT
- blend_mode: BLEND_MODE_ALPHA
- text: "Rich Text"
- font: "game"
- id: "rich_text_5_W/text_prefab"
- xanchor: XANCHOR_NONE
- yanchor: YANCHOR_NONE
- pivot: PIVOT_W
- outline {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- shadow {
- x: 0.5019608
- y: 0.7019608
- z: 0.7019608
- w: 1.0
- }
- adjust_mode: ADJUST_MODE_FIT
- line_break: true
- parent: "rich_text_5_W/root"
- layer: ""
- inherit_alpha: true
- alpha: 1.0
- outline_alpha: 0.0
- shadow_alpha: 0.0
- overridden_fields: 1
- overridden_fields: 3
- overridden_fields: 4
- overridden_fields: 5
- overridden_fields: 8
- overridden_fields: 16
- overridden_fields: 18
- overridden_fields: 32
- template_node_child: true
- text_leading: 1.0
- text_tracking: 0.0
- custom_type: 0
- enabled: true
- visible: true
-}
-nodes {
- position {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 0.75
- y: 0.75
- z: 1.0
- w: 1.0
- }
- size {
- x: 200.0
- y: 100.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- type: TYPE_BOX
- blend_mode: BLEND_MODE_ALPHA
- texture: "items/checkmark"
- id: "rich_text_5_W/icon_prefab"
- xanchor: XANCHOR_NONE
- yanchor: YANCHOR_NONE
- pivot: PIVOT_CENTER
- adjust_mode: ADJUST_MODE_FIT
- parent: "rich_text_5_W/root"
- layer: ""
- inherit_alpha: true
- slice9 {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 0.0
- }
- clipping_mode: CLIPPING_MODE_NONE
- clipping_visible: true
- clipping_inverted: false
- alpha: 1.0
- overridden_fields: 3
- template_node_child: true
- size_mode: SIZE_MODE_AUTO
- custom_type: 0
- enabled: true
- visible: true
-}
-nodes {
- position {
- x: 0.0
- y: -1252.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- size {
- x: 150.0
- y: 100.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 0.101960786
- y: 0.3019608
- z: 0.3019608
- w: 1.0
- }
- type: TYPE_BOX
- blend_mode: BLEND_MODE_ALPHA
- texture: ""
- id: "case5_C"
- xanchor: XANCHOR_NONE
- yanchor: YANCHOR_NONE
- pivot: PIVOT_CENTER
- adjust_mode: ADJUST_MODE_FIT
- parent: "scroll_content"
- layer: ""
- inherit_alpha: true
- slice9 {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 0.0
- }
- clipping_mode: CLIPPING_MODE_NONE
- clipping_visible: true
- clipping_inverted: false
- alpha: 1.0
- template_node_child: false
- size_mode: SIZE_MODE_MANUAL
- custom_type: 0
- enabled: true
- visible: true
-}
-nodes {
- position {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- size {
- x: 200.0
- y: 100.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- type: TYPE_TEMPLATE
- id: "rich_text_5_C"
- parent: "case5_C"
- layer: ""
- inherit_alpha: true
- alpha: 1.0
- template: "/druid/custom/rich_text/rich_text.gui"
- template_node_child: false
- custom_type: 0
- enabled: true
-}
-nodes {
- position {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- size {
- x: 150.0
- y: 100.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- type: TYPE_BOX
- blend_mode: BLEND_MODE_ALPHA
- texture: ""
- id: "rich_text_5_C/root"
- xanchor: XANCHOR_NONE
- yanchor: YANCHOR_NONE
- pivot: PIVOT_CENTER
- adjust_mode: ADJUST_MODE_FIT
- parent: "rich_text_5_C"
- layer: ""
- inherit_alpha: true
- slice9 {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 0.0
- }
- clipping_mode: CLIPPING_MODE_NONE
- clipping_visible: true
- clipping_inverted: false
- alpha: 1.0
- overridden_fields: 1
- overridden_fields: 4
- template_node_child: true
- size_mode: SIZE_MODE_MANUAL
- custom_type: 0
- enabled: true
- visible: false
-}
-nodes {
- position {
- x: -73.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 0.5
- y: 0.5
- z: 1.0
- w: 1.0
- }
- size {
- x: 150.0
- y: 100.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 1.0
- y: 0.9019608
- z: 0.6
- w: 1.0
- }
- type: TYPE_TEXT
- blend_mode: BLEND_MODE_ALPHA
- text: "Rich Text"
- font: "game"
- id: "rich_text_5_C/text_prefab"
- xanchor: XANCHOR_NONE
- yanchor: YANCHOR_NONE
- pivot: PIVOT_W
- outline {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- shadow {
- x: 0.5019608
- y: 0.7019608
- z: 0.7019608
- w: 1.0
- }
- adjust_mode: ADJUST_MODE_FIT
- line_break: true
- parent: "rich_text_5_C/root"
- layer: ""
- inherit_alpha: true
- alpha: 1.0
- outline_alpha: 0.0
- shadow_alpha: 0.0
- overridden_fields: 1
- overridden_fields: 3
- overridden_fields: 4
- overridden_fields: 5
- overridden_fields: 8
- overridden_fields: 16
- overridden_fields: 18
- overridden_fields: 32
- template_node_child: true
- text_leading: 1.0
- text_tracking: 0.0
- custom_type: 0
- enabled: true
- visible: true
-}
-nodes {
- position {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 0.75
- y: 0.75
- z: 1.0
- w: 1.0
- }
- size {
- x: 200.0
- y: 100.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- type: TYPE_BOX
- blend_mode: BLEND_MODE_ALPHA
- texture: "items/checkmark"
- id: "rich_text_5_C/icon_prefab"
- xanchor: XANCHOR_NONE
- yanchor: YANCHOR_NONE
- pivot: PIVOT_CENTER
- adjust_mode: ADJUST_MODE_FIT
- parent: "rich_text_5_C/root"
- layer: ""
- inherit_alpha: true
- slice9 {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 0.0
- }
- clipping_mode: CLIPPING_MODE_NONE
- clipping_visible: true
- clipping_inverted: false
- alpha: 1.0
- overridden_fields: 3
- template_node_child: true
- size_mode: SIZE_MODE_AUTO
- custom_type: 0
- enabled: true
- visible: true
-}
-nodes {
- position {
- x: 180.0
- y: -1252.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- size {
- x: 150.0
- y: 100.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 0.101960786
- y: 0.3019608
- z: 0.3019608
- w: 1.0
- }
- type: TYPE_BOX
- blend_mode: BLEND_MODE_ALPHA
- texture: ""
- id: "case5_E"
- xanchor: XANCHOR_NONE
- yanchor: YANCHOR_NONE
- pivot: PIVOT_CENTER
- adjust_mode: ADJUST_MODE_FIT
- parent: "scroll_content"
- layer: ""
- inherit_alpha: true
- slice9 {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 0.0
- }
- clipping_mode: CLIPPING_MODE_NONE
- clipping_visible: true
- clipping_inverted: false
- alpha: 1.0
- template_node_child: false
- size_mode: SIZE_MODE_MANUAL
- custom_type: 0
- enabled: true
- visible: true
-}
-nodes {
- position {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- size {
- x: 200.0
- y: 100.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- type: TYPE_TEMPLATE
- id: "rich_text_5_E"
- parent: "case5_E"
- layer: ""
- inherit_alpha: true
- alpha: 1.0
- template: "/druid/custom/rich_text/rich_text.gui"
- template_node_child: false
- custom_type: 0
- enabled: true
-}
-nodes {
- position {
- x: 75.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- size {
- x: 150.0
- y: 100.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- type: TYPE_BOX
- blend_mode: BLEND_MODE_ALPHA
- texture: ""
- id: "rich_text_5_E/root"
- xanchor: XANCHOR_NONE
- yanchor: YANCHOR_NONE
- pivot: PIVOT_E
- adjust_mode: ADJUST_MODE_FIT
- parent: "rich_text_5_E"
- layer: ""
- inherit_alpha: true
- slice9 {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 0.0
- }
- clipping_mode: CLIPPING_MODE_NONE
- clipping_visible: true
- clipping_inverted: false
- alpha: 1.0
- overridden_fields: 1
- overridden_fields: 4
- overridden_fields: 14
- template_node_child: true
- size_mode: SIZE_MODE_MANUAL
- custom_type: 0
- enabled: true
- visible: false
-}
-nodes {
- position {
- x: -150.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 0.5
- y: 0.5
- z: 1.0
- w: 1.0
- }
- size {
- x: 150.0
- y: 100.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 1.0
- y: 0.9019608
- z: 0.6
- w: 1.0
- }
- type: TYPE_TEXT
- blend_mode: BLEND_MODE_ALPHA
- text: "Rich Text"
- font: "game"
- id: "rich_text_5_E/text_prefab"
- xanchor: XANCHOR_NONE
- yanchor: YANCHOR_NONE
- pivot: PIVOT_W
- outline {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- shadow {
- x: 0.5019608
- y: 0.7019608
- z: 0.7019608
- w: 1.0
- }
- adjust_mode: ADJUST_MODE_FIT
- line_break: true
- parent: "rich_text_5_E/root"
- layer: ""
- inherit_alpha: true
- alpha: 1.0
- outline_alpha: 0.0
- shadow_alpha: 0.0
- overridden_fields: 1
- overridden_fields: 3
- overridden_fields: 4
- overridden_fields: 5
- overridden_fields: 8
- overridden_fields: 16
- overridden_fields: 18
- overridden_fields: 32
- template_node_child: true
- text_leading: 1.0
- text_tracking: 0.0
- custom_type: 0
- enabled: true
- visible: true
-}
-nodes {
- position {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 0.75
- y: 0.75
- z: 1.0
- w: 1.0
- }
- size {
- x: 200.0
- y: 100.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- type: TYPE_BOX
- blend_mode: BLEND_MODE_ALPHA
- texture: "items/checkmark"
- id: "rich_text_5_E/icon_prefab"
- xanchor: XANCHOR_NONE
- yanchor: YANCHOR_NONE
- pivot: PIVOT_CENTER
- adjust_mode: ADJUST_MODE_FIT
- parent: "rich_text_5_E/root"
- layer: ""
- inherit_alpha: true
- slice9 {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 0.0
- }
- clipping_mode: CLIPPING_MODE_NONE
- clipping_visible: true
- clipping_inverted: false
- alpha: 1.0
- overridden_fields: 3
- template_node_child: true
- size_mode: SIZE_MODE_AUTO
- custom_type: 0
- enabled: true
- visible: true
-}
-nodes {
- position {
- x: -180.0
- y: -1372.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- size {
- x: 150.0
- y: 100.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 0.101960786
- y: 0.3019608
- z: 0.3019608
- w: 1.0
- }
- type: TYPE_BOX
- blend_mode: BLEND_MODE_ALPHA
- texture: ""
- id: "case5_SW"
- xanchor: XANCHOR_NONE
- yanchor: YANCHOR_NONE
- pivot: PIVOT_CENTER
- adjust_mode: ADJUST_MODE_FIT
- parent: "scroll_content"
- layer: ""
- inherit_alpha: true
- slice9 {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 0.0
- }
- clipping_mode: CLIPPING_MODE_NONE
- clipping_visible: true
- clipping_inverted: false
- alpha: 1.0
- template_node_child: false
- size_mode: SIZE_MODE_MANUAL
- custom_type: 0
- enabled: true
- visible: true
-}
-nodes {
- position {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- size {
- x: 200.0
- y: 100.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- type: TYPE_TEMPLATE
- id: "rich_text_5_SW"
- parent: "case5_SW"
- layer: ""
- inherit_alpha: true
- alpha: 1.0
- template: "/druid/custom/rich_text/rich_text.gui"
- template_node_child: false
- custom_type: 0
- enabled: true
-}
-nodes {
- position {
- x: -75.0
- y: -50.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- size {
- x: 150.0
- y: 100.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- type: TYPE_BOX
- blend_mode: BLEND_MODE_ALPHA
- texture: ""
- id: "rich_text_5_SW/root"
- xanchor: XANCHOR_NONE
- yanchor: YANCHOR_NONE
- pivot: PIVOT_SW
- adjust_mode: ADJUST_MODE_FIT
- parent: "rich_text_5_SW"
- layer: ""
- inherit_alpha: true
- slice9 {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 0.0
- }
- clipping_mode: CLIPPING_MODE_NONE
- clipping_visible: true
- clipping_inverted: false
- alpha: 1.0
- overridden_fields: 1
- overridden_fields: 4
- overridden_fields: 14
- template_node_child: true
- size_mode: SIZE_MODE_MANUAL
- custom_type: 0
- enabled: true
- visible: false
-}
-nodes {
- position {
- x: 0.0
- y: 50.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 0.5
- y: 0.5
- z: 1.0
- w: 1.0
- }
- size {
- x: 150.0
- y: 100.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 1.0
- y: 0.9019608
- z: 0.6
- w: 1.0
- }
- type: TYPE_TEXT
- blend_mode: BLEND_MODE_ALPHA
- text: "Rich Text"
- font: "game"
- id: "rich_text_5_SW/text_prefab"
- xanchor: XANCHOR_NONE
- yanchor: YANCHOR_NONE
- pivot: PIVOT_W
- outline {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- shadow {
- x: 0.5019608
- y: 0.7019608
- z: 0.7019608
- w: 1.0
- }
- adjust_mode: ADJUST_MODE_FIT
- line_break: true
- parent: "rich_text_5_SW/root"
- layer: ""
- inherit_alpha: true
- alpha: 1.0
- outline_alpha: 0.0
- shadow_alpha: 0.0
- overridden_fields: 1
- overridden_fields: 3
- overridden_fields: 4
- overridden_fields: 5
- overridden_fields: 8
- overridden_fields: 16
- overridden_fields: 18
- overridden_fields: 32
- template_node_child: true
- text_leading: 1.0
- text_tracking: 0.0
- custom_type: 0
- enabled: true
- visible: true
-}
-nodes {
- position {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 0.75
- y: 0.75
- z: 1.0
- w: 1.0
- }
- size {
- x: 200.0
- y: 100.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- type: TYPE_BOX
- blend_mode: BLEND_MODE_ALPHA
- texture: "items/checkmark"
- id: "rich_text_5_SW/icon_prefab"
- xanchor: XANCHOR_NONE
- yanchor: YANCHOR_NONE
- pivot: PIVOT_S
- adjust_mode: ADJUST_MODE_FIT
- parent: "rich_text_5_SW/root"
- layer: ""
- inherit_alpha: true
- slice9 {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 0.0
- }
- clipping_mode: CLIPPING_MODE_NONE
- clipping_visible: true
- clipping_inverted: false
- alpha: 1.0
- overridden_fields: 3
- overridden_fields: 14
- template_node_child: true
- size_mode: SIZE_MODE_AUTO
- custom_type: 0
- enabled: true
- visible: true
-}
-nodes {
- position {
- x: 0.0
- y: -1372.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- size {
- x: 150.0
- y: 100.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 0.101960786
- y: 0.3019608
- z: 0.3019608
- w: 1.0
- }
- type: TYPE_BOX
- blend_mode: BLEND_MODE_ALPHA
- texture: ""
- id: "case5_S"
- xanchor: XANCHOR_NONE
- yanchor: YANCHOR_NONE
- pivot: PIVOT_CENTER
- adjust_mode: ADJUST_MODE_FIT
- parent: "scroll_content"
- layer: ""
- inherit_alpha: true
- slice9 {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 0.0
- }
- clipping_mode: CLIPPING_MODE_NONE
- clipping_visible: true
- clipping_inverted: false
- alpha: 1.0
- template_node_child: false
- size_mode: SIZE_MODE_MANUAL
- custom_type: 0
- enabled: true
- visible: true
-}
-nodes {
- position {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- size {
- x: 200.0
- y: 100.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- type: TYPE_TEMPLATE
- id: "rich_text_5_S"
- parent: "case5_S"
- layer: ""
- inherit_alpha: true
- alpha: 1.0
- template: "/druid/custom/rich_text/rich_text.gui"
- template_node_child: false
- custom_type: 0
- enabled: true
-}
-nodes {
- position {
- x: 0.0
- y: -50.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- size {
- x: 150.0
- y: 100.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- type: TYPE_BOX
- blend_mode: BLEND_MODE_ALPHA
- texture: ""
- id: "rich_text_5_S/root"
- xanchor: XANCHOR_NONE
- yanchor: YANCHOR_NONE
- pivot: PIVOT_S
- adjust_mode: ADJUST_MODE_FIT
- parent: "rich_text_5_S"
- layer: ""
- inherit_alpha: true
- slice9 {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 0.0
- }
- clipping_mode: CLIPPING_MODE_NONE
- clipping_visible: true
- clipping_inverted: false
- alpha: 1.0
- overridden_fields: 1
- overridden_fields: 4
- overridden_fields: 14
- template_node_child: true
- size_mode: SIZE_MODE_MANUAL
- custom_type: 0
- enabled: true
- visible: false
-}
-nodes {
- position {
- x: -75.0
- y: 50.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 0.5
- y: 0.5
- z: 1.0
- w: 1.0
- }
- size {
- x: 150.0
- y: 100.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 1.0
- y: 0.9019608
- z: 0.6
- w: 1.0
- }
- type: TYPE_TEXT
- blend_mode: BLEND_MODE_ALPHA
- text: "Rich Text"
- font: "game"
- id: "rich_text_5_S/text_prefab"
- xanchor: XANCHOR_NONE
- yanchor: YANCHOR_NONE
- pivot: PIVOT_W
- outline {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- shadow {
- x: 0.5019608
- y: 0.7019608
- z: 0.7019608
- w: 1.0
- }
- adjust_mode: ADJUST_MODE_FIT
- line_break: true
- parent: "rich_text_5_S/root"
- layer: ""
- inherit_alpha: true
- alpha: 1.0
- outline_alpha: 0.0
- shadow_alpha: 0.0
- overridden_fields: 1
- overridden_fields: 3
- overridden_fields: 4
- overridden_fields: 5
- overridden_fields: 8
- overridden_fields: 16
- overridden_fields: 18
- overridden_fields: 32
- template_node_child: true
- text_leading: 1.0
- text_tracking: 0.0
- custom_type: 0
- enabled: true
- visible: true
-}
-nodes {
- position {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 0.75
- y: 0.75
- z: 1.0
- w: 1.0
- }
- size {
- x: 200.0
- y: 100.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- type: TYPE_BOX
- blend_mode: BLEND_MODE_ALPHA
- texture: "items/checkmark"
- id: "rich_text_5_S/icon_prefab"
- xanchor: XANCHOR_NONE
- yanchor: YANCHOR_NONE
- pivot: PIVOT_S
- adjust_mode: ADJUST_MODE_FIT
- parent: "rich_text_5_S/root"
- layer: ""
- inherit_alpha: true
- slice9 {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 0.0
- }
- clipping_mode: CLIPPING_MODE_NONE
- clipping_visible: true
- clipping_inverted: false
- alpha: 1.0
- overridden_fields: 3
- overridden_fields: 14
- template_node_child: true
- size_mode: SIZE_MODE_AUTO
- custom_type: 0
- enabled: true
- visible: true
-}
-nodes {
- position {
- x: 180.0
- y: -1372.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- size {
- x: 150.0
- y: 100.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 0.101960786
- y: 0.3019608
- z: 0.3019608
- w: 1.0
- }
- type: TYPE_BOX
- blend_mode: BLEND_MODE_ALPHA
- texture: ""
- id: "case5_SE"
- xanchor: XANCHOR_NONE
- yanchor: YANCHOR_NONE
- pivot: PIVOT_CENTER
- adjust_mode: ADJUST_MODE_FIT
- parent: "scroll_content"
- layer: ""
- inherit_alpha: true
- slice9 {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 0.0
- }
- clipping_mode: CLIPPING_MODE_NONE
- clipping_visible: true
- clipping_inverted: false
- alpha: 1.0
- template_node_child: false
- size_mode: SIZE_MODE_MANUAL
- custom_type: 0
- enabled: true
- visible: true
-}
-nodes {
- position {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- size {
- x: 200.0
- y: 100.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- type: TYPE_TEMPLATE
- id: "rich_text_5_SE"
- parent: "case5_SE"
- layer: ""
- inherit_alpha: true
- alpha: 1.0
- template: "/druid/custom/rich_text/rich_text.gui"
- template_node_child: false
- custom_type: 0
- enabled: true
-}
-nodes {
- position {
- x: 75.0
- y: -50.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- size {
- x: 150.0
- y: 100.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- type: TYPE_BOX
- blend_mode: BLEND_MODE_ALPHA
- texture: ""
- id: "rich_text_5_SE/root"
- xanchor: XANCHOR_NONE
- yanchor: YANCHOR_NONE
- pivot: PIVOT_SE
- adjust_mode: ADJUST_MODE_FIT
- parent: "rich_text_5_SE"
- layer: ""
- inherit_alpha: true
- slice9 {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 0.0
- }
- clipping_mode: CLIPPING_MODE_NONE
- clipping_visible: true
- clipping_inverted: false
- alpha: 1.0
- overridden_fields: 1
- overridden_fields: 4
- overridden_fields: 14
- template_node_child: true
- size_mode: SIZE_MODE_MANUAL
- custom_type: 0
- enabled: true
- visible: false
-}
-nodes {
- position {
- x: -150.0
- y: 50.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 0.5
- y: 0.5
- z: 1.0
- w: 1.0
- }
- size {
- x: 150.0
- y: 100.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 1.0
- y: 0.9019608
- z: 0.6
- w: 1.0
- }
- type: TYPE_TEXT
- blend_mode: BLEND_MODE_ALPHA
- text: "Rich Text"
- font: "game"
- id: "rich_text_5_SE/text_prefab"
- xanchor: XANCHOR_NONE
- yanchor: YANCHOR_NONE
- pivot: PIVOT_W
- outline {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- shadow {
- x: 0.5019608
- y: 0.7019608
- z: 0.7019608
- w: 1.0
- }
- adjust_mode: ADJUST_MODE_FIT
- line_break: true
- parent: "rich_text_5_SE/root"
- layer: ""
- inherit_alpha: true
- alpha: 1.0
- outline_alpha: 0.0
- shadow_alpha: 0.0
- overridden_fields: 1
- overridden_fields: 3
- overridden_fields: 4
- overridden_fields: 5
- overridden_fields: 8
- overridden_fields: 16
- overridden_fields: 18
- overridden_fields: 32
- template_node_child: true
- text_leading: 1.0
- text_tracking: 0.0
- custom_type: 0
- enabled: true
- visible: true
-}
-nodes {
- position {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 0.75
- y: 0.75
- z: 1.0
- w: 1.0
- }
- size {
- x: 200.0
- y: 100.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- type: TYPE_BOX
- blend_mode: BLEND_MODE_ALPHA
- texture: "items/checkmark"
- id: "rich_text_5_SE/icon_prefab"
- xanchor: XANCHOR_NONE
- yanchor: YANCHOR_NONE
- pivot: PIVOT_S
- adjust_mode: ADJUST_MODE_FIT
- parent: "rich_text_5_SE/root"
- layer: ""
- inherit_alpha: true
- slice9 {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 0.0
- }
- clipping_mode: CLIPPING_MODE_NONE
- clipping_visible: true
- clipping_inverted: false
- alpha: 1.0
- overridden_fields: 3
- overridden_fields: 14
- template_node_child: true
- size_mode: SIZE_MODE_AUTO
- custom_type: 0
- enabled: true
- visible: true
-}
-nodes {
- position {
- x: -500.0
- y: -200.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- size {
- x: 200.0
- y: 100.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- type: TYPE_BOX
- blend_mode: BLEND_MODE_ALPHA
- texture: ""
- id: "highlight"
- xanchor: XANCHOR_NONE
- yanchor: YANCHOR_NONE
- pivot: PIVOT_CENTER
- adjust_mode: ADJUST_MODE_FIT
- parent: "scroll_content"
- layer: ""
- inherit_alpha: true
- slice9 {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 0.0
- }
- clipping_mode: CLIPPING_MODE_NONE
- clipping_visible: true
- clipping_inverted: false
- alpha: 1.0
- template_node_child: false
- size_mode: SIZE_MODE_MANUAL
- custom_type: 0
- enabled: true
- visible: true
-}
-nodes {
- position {
- x: 0.0
- y: -1455.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 0.8
- y: 0.8
- z: 1.0
- w: 1.0
- }
- size {
- x: 700.0
- y: 100.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 0.9490196
- y: 0.9490196
- z: 0.9490196
- w: 1.0
- }
- type: TYPE_TEXT
- blend_mode: BLEND_MODE_ALPHA
- text: "You can get the tagged word to make logic around"
- font: "game"
- id: "hint"
- xanchor: XANCHOR_NONE
- yanchor: YANCHOR_NONE
- pivot: PIVOT_N
- outline {
- x: 0.2
- y: 0.0
- z: 0.2
- w: 1.0
- }
- shadow {
- x: 0.2
- y: 0.2
- z: 0.2
- w: 1.0
- }
- adjust_mode: ADJUST_MODE_FIT
- line_break: true
- parent: "scroll_content"
- layer: ""
- inherit_alpha: true
- alpha: 1.0
- outline_alpha: 0.75
- shadow_alpha: 0.25
- template_node_child: false
- text_leading: 1.0
- text_tracking: 0.0
- custom_type: 0
- enabled: true
- visible: true
-}
-nodes {
- position {
- x: 0.0
- y: -1622.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- size {
- x: 400.0
- y: 150.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 0.101960786
- y: 0.3019608
- z: 0.3019608
- w: 1.0
- }
- type: TYPE_BOX
- blend_mode: BLEND_MODE_ALPHA
- texture: ""
- id: "case6"
- xanchor: XANCHOR_NONE
- yanchor: YANCHOR_NONE
- pivot: PIVOT_CENTER
- adjust_mode: ADJUST_MODE_FIT
- parent: "scroll_content"
- layer: ""
- inherit_alpha: true
- slice9 {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 0.0
- }
- clipping_mode: CLIPPING_MODE_NONE
- clipping_visible: true
- clipping_inverted: false
- alpha: 1.0
- template_node_child: false
- size_mode: SIZE_MODE_MANUAL
- custom_type: 0
- enabled: true
- visible: true
-}
-nodes {
- position {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- size {
- x: 200.0
- y: 100.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- type: TYPE_TEMPLATE
- id: "rich_text_6"
- parent: "case6"
- layer: ""
- inherit_alpha: true
- alpha: 1.0
- template: "/druid/custom/rich_text/rich_text.gui"
- template_node_child: false
- custom_type: 0
- enabled: true
-}
-nodes {
- position {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- size {
- x: 400.0
- y: 150.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- type: TYPE_BOX
- blend_mode: BLEND_MODE_ALPHA
- texture: ""
- id: "rich_text_6/root"
- xanchor: XANCHOR_NONE
- yanchor: YANCHOR_NONE
- pivot: PIVOT_CENTER
- adjust_mode: ADJUST_MODE_FIT
- parent: "rich_text_6"
- layer: ""
- inherit_alpha: true
- slice9 {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 0.0
- }
- clipping_mode: CLIPPING_MODE_NONE
- clipping_visible: true
- clipping_inverted: false
- alpha: 1.0
- overridden_fields: 4
- template_node_child: true
- size_mode: SIZE_MODE_MANUAL
- custom_type: 0
- enabled: true
- visible: false
-}
-nodes {
- position {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- size {
- x: 400.0
- y: 150.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- type: TYPE_TEXT
- blend_mode: BLEND_MODE_ALPHA
- text: "Rich text"
- font: "game"
- id: "rich_text_6/text_prefab"
- xanchor: XANCHOR_NONE
- yanchor: YANCHOR_NONE
- pivot: PIVOT_CENTER
- outline {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- shadow {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- adjust_mode: ADJUST_MODE_FIT
- line_break: true
- parent: "rich_text_6/root"
- layer: ""
- inherit_alpha: true
- alpha: 1.0
- outline_alpha: 0.75
- shadow_alpha: 0.0
- overridden_fields: 1
- overridden_fields: 4
- overridden_fields: 14
- overridden_fields: 18
- overridden_fields: 31
- template_node_child: true
- text_leading: 1.0
- text_tracking: 0.0
- custom_type: 0
- enabled: true
- visible: true
-}
-nodes {
- position {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- size {
- x: 200.0
- y: 100.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- type: TYPE_BOX
- blend_mode: BLEND_MODE_ALPHA
- texture: "items/checkmark"
- id: "rich_text_6/icon_prefab"
- xanchor: XANCHOR_NONE
- yanchor: YANCHOR_NONE
- pivot: PIVOT_CENTER
- adjust_mode: ADJUST_MODE_FIT
- parent: "rich_text_6/root"
- layer: ""
- inherit_alpha: true
- slice9 {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 0.0
- }
- clipping_mode: CLIPPING_MODE_NONE
- clipping_visible: true
- clipping_inverted: false
- alpha: 1.0
- template_node_child: true
- size_mode: SIZE_MODE_AUTO
- custom_type: 0
- enabled: true
- visible: true
}
layers {
name: "image"
@@ -5398,4 +92,3 @@ layers {
}
material: "/builtins/materials/gui.material"
adjust_reference: ADJUST_REFERENCE_PARENT
-max_nodes: 512
diff --git a/example/examples/general/overview/overview.gui_script b/example/examples/general/overview/overview.gui_script
index 8f4589ae..f0ded90b 100644
--- a/example/examples/general/overview/overview.gui_script
+++ b/example/examples/general/overview/overview.gui_script
@@ -52,7 +52,7 @@ end
local function setup_slider(self)
local slider = self.druid:new_slider("slider_pin", vmath.vector3(95, 0, 0), function(_, value)
gui.set_text(gui.get_node("text_progress_slider"), math.ceil(value * 100) .. "%")
- end) --[[@as druid.slider]]
+ end)
slider:set(0.2)
end
diff --git a/example/examples/rich_text/rich_text_texts/prefab_example_rich_text.gui b/example/examples/rich_text/rich_text_texts/prefab_example_rich_text.gui
index 2c49da91..aa377e32 100644
--- a/example/examples/rich_text/rich_text_texts/prefab_example_rich_text.gui
+++ b/example/examples/rich_text/rich_text_texts/prefab_example_rich_text.gui
@@ -1,4 +1,3 @@
-script: ""
fonts {
name: "game"
font: "/example/assets/fonts/game.font"
@@ -7,423 +6,67 @@ textures {
name: "kenney"
texture: "/example/assets/images/kenney.atlas"
}
-background_color {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 0.0
-}
nodes {
- position {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
size {
x: 600.0
y: 200.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
}
type: TYPE_BOX
- blend_mode: BLEND_MODE_ALPHA
texture: "kenney/empty"
id: "root"
- xanchor: XANCHOR_NONE
- yanchor: YANCHOR_NONE
pivot: PIVOT_N
- adjust_mode: ADJUST_MODE_FIT
- layer: ""
inherit_alpha: true
- slice9 {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 0.0
- }
- clipping_mode: CLIPPING_MODE_NONE
- clipping_visible: true
- clipping_inverted: false
- alpha: 1.0
- template_node_child: false
- size_mode: SIZE_MODE_MANUAL
- custom_type: 0
- enabled: true
visible: false
}
nodes {
- position {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
scale {
x: 0.8
y: 0.8
- z: 1.0
- w: 1.0
}
size {
x: 750.0
y: 100.0
- z: 0.0
- w: 1.0
}
color {
- x: 1.0
- y: 1.0
z: 0.9411765
- w: 1.0
}
type: TYPE_TEXT
- blend_mode: BLEND_MODE_ALPHA
text: "Here is simple example with text"
font: "game"
id: "hint"
- xanchor: XANCHOR_NONE
- yanchor: YANCHOR_NONE
pivot: PIVOT_N
outline {
x: 0.101960786
y: 0.101960786
z: 0.101960786
- w: 1.0
}
shadow {
x: 1.0
y: 1.0
z: 1.0
- w: 1.0
}
- adjust_mode: ADJUST_MODE_FIT
line_break: true
parent: "root"
- layer: ""
inherit_alpha: true
- alpha: 1.0
outline_alpha: 0.7
shadow_alpha: 0.0
- template_node_child: false
- text_leading: 1.0
- text_tracking: 0.0
- custom_type: 0
- enabled: true
- visible: true
}
nodes {
position {
- x: 0.0
y: -60.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
}
size {
x: 600.0
y: 130.0
- z: 0.0
- w: 1.0
}
color {
- x: 1.0
- y: 1.0
z: 0.9411765
- w: 1.0
}
type: TYPE_BOX
- blend_mode: BLEND_MODE_ALPHA
- texture: ""
id: "area"
- xanchor: XANCHOR_NONE
- yanchor: YANCHOR_NONE
pivot: PIVOT_N
- adjust_mode: ADJUST_MODE_FIT
parent: "root"
- layer: ""
inherit_alpha: true
- slice9 {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 0.0
- }
- clipping_mode: CLIPPING_MODE_NONE
- clipping_visible: true
- clipping_inverted: false
- alpha: 1.0
- template_node_child: false
- size_mode: SIZE_MODE_MANUAL
- custom_type: 0
- enabled: true
- visible: true
-}
-nodes {
- position {
- x: 0.0
- y: -65.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- size {
- x: 200.0
- y: 100.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- type: TYPE_TEMPLATE
- id: "rich_text"
- parent: "area"
- layer: ""
- inherit_alpha: true
- alpha: 1.0
- template: "/druid/custom/rich_text/rich_text.gui"
- template_node_child: false
- custom_type: 0
- enabled: true
-}
-nodes {
- position {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- size {
- x: 500.0
- y: 130.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- type: TYPE_BOX
- blend_mode: BLEND_MODE_ALPHA
- texture: ""
- id: "rich_text/root"
- xanchor: XANCHOR_NONE
- yanchor: YANCHOR_NONE
- pivot: PIVOT_CENTER
- adjust_mode: ADJUST_MODE_FIT
- parent: "rich_text"
- layer: ""
- inherit_alpha: true
- slice9 {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 0.0
- }
- clipping_mode: CLIPPING_MODE_NONE
- clipping_visible: true
- clipping_inverted: false
- alpha: 1.0
- overridden_fields: 4
- template_node_child: true
- size_mode: SIZE_MODE_MANUAL
- custom_type: 0
- enabled: true
- visible: false
-}
-nodes {
- position {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- size {
- x: 300.0
- y: 60.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 0.2
- y: 0.2
- z: 0.2
- w: 1.0
- }
- type: TYPE_TEXT
- blend_mode: BLEND_MODE_ALPHA
- text: "Rich text"
- font: "game"
- id: "rich_text/text_prefab"
- xanchor: XANCHOR_NONE
- yanchor: YANCHOR_NONE
- pivot: PIVOT_CENTER
- outline {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- shadow {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- adjust_mode: ADJUST_MODE_FIT
- line_break: true
- parent: "rich_text/root"
- layer: ""
- inherit_alpha: true
- alpha: 1.0
- outline_alpha: 0.0
- shadow_alpha: 0.0
- overridden_fields: 1
- overridden_fields: 4
- overridden_fields: 5
- overridden_fields: 14
- overridden_fields: 18
- template_node_child: true
- text_leading: 1.0
- text_tracking: 0.0
- custom_type: 0
- enabled: true
- visible: true
-}
-nodes {
- position {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- size {
- x: 200.0
- y: 100.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- type: TYPE_BOX
- blend_mode: BLEND_MODE_ALPHA
- texture: "items/checkmark"
- id: "rich_text/icon_prefab"
- xanchor: XANCHOR_NONE
- yanchor: YANCHOR_NONE
- pivot: PIVOT_CENTER
- adjust_mode: ADJUST_MODE_FIT
- parent: "rich_text/root"
- layer: ""
- inherit_alpha: true
- slice9 {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 0.0
- }
- clipping_mode: CLIPPING_MODE_NONE
- clipping_visible: true
- clipping_inverted: false
- alpha: 1.0
- template_node_child: true
- size_mode: SIZE_MODE_AUTO
- custom_type: 0
- enabled: true
- visible: true
}
material: "/builtins/materials/gui.material"
adjust_reference: ADJUST_REFERENCE_PARENT
-max_nodes: 512
diff --git a/example/examples/rich_text/rich_text_texts/rich_text_texts.gui b/example/examples/rich_text/rich_text_texts/rich_text_texts.gui
index 757aa39f..63541160 100644
--- a/example/examples/rich_text/rich_text_texts/rich_text_texts.gui
+++ b/example/examples/rich_text/rich_text_texts/rich_text_texts.gui
@@ -15,2838 +15,37 @@ textures {
name: "kenney"
texture: "/example/assets/images/kenney.atlas"
}
-background_color {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 0.0
-}
nodes {
position {
x: 300.0
y: 415.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
}
size {
x: 600.0
y: 830.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
}
type: TYPE_BOX
- blend_mode: BLEND_MODE_ALPHA
texture: "kenney/empty"
id: "root"
- xanchor: XANCHOR_NONE
- yanchor: YANCHOR_NONE
- pivot: PIVOT_CENTER
- adjust_mode: ADJUST_MODE_FIT
- layer: ""
inherit_alpha: true
- slice9 {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 0.0
- }
- clipping_mode: CLIPPING_MODE_NONE
- clipping_visible: true
- clipping_inverted: false
- alpha: 1.0
- template_node_child: false
- size_mode: SIZE_MODE_MANUAL
- custom_type: 0
- enabled: true
- visible: true
}
nodes {
position {
- x: 0.0
y: 415.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
}
size {
x: 600.0
y: 1200.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
}
type: TYPE_BOX
- blend_mode: BLEND_MODE_ALPHA
texture: "kenney/empty"
id: "content"
- xanchor: XANCHOR_NONE
- yanchor: YANCHOR_NONE
pivot: PIVOT_N
adjust_mode: ADJUST_MODE_STRETCH
parent: "root"
- layer: ""
- inherit_alpha: true
- slice9 {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 0.0
- }
- clipping_mode: CLIPPING_MODE_NONE
- clipping_visible: true
- clipping_inverted: false
- alpha: 1.0
- template_node_child: false
- size_mode: SIZE_MODE_MANUAL
- custom_type: 0
- enabled: true
- visible: false
-}
-nodes {
- position {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- size {
- x: 200.0
- y: 100.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- type: TYPE_TEMPLATE
- id: "case1"
- parent: "content"
- layer: ""
- inherit_alpha: true
- alpha: 1.0
- template: "/example/examples/rich_text/rich_text_texts/prefab_example_rich_text.gui"
- template_node_child: false
- custom_type: 0
- enabled: true
-}
-nodes {
- position {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- size {
- x: 600.0
- y: 200.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- type: TYPE_BOX
- blend_mode: BLEND_MODE_ALPHA
- texture: "kenney/empty"
- id: "case1/root"
- xanchor: XANCHOR_NONE
- yanchor: YANCHOR_NONE
- pivot: PIVOT_N
- adjust_mode: ADJUST_MODE_FIT
- parent: "case1"
- layer: ""
- inherit_alpha: true
- slice9 {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 0.0
- }
- clipping_mode: CLIPPING_MODE_NONE
- clipping_visible: true
- clipping_inverted: false
- alpha: 1.0
- template_node_child: true
- size_mode: SIZE_MODE_MANUAL
- custom_type: 0
- enabled: true
- visible: false
-}
-nodes {
- position {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 0.8
- y: 0.8
- z: 1.0
- w: 1.0
- }
- size {
- x: 750.0
- y: 100.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 1.0
- y: 1.0
- z: 0.9411765
- w: 1.0
- }
- type: TYPE_TEXT
- blend_mode: BLEND_MODE_ALPHA
- text: "Here is simple example with text"
- font: "game"
- id: "case1/hint"
- xanchor: XANCHOR_NONE
- yanchor: YANCHOR_NONE
- pivot: PIVOT_N
- outline {
- x: 0.101960786
- y: 0.101960786
- z: 0.101960786
- w: 1.0
- }
- shadow {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- adjust_mode: ADJUST_MODE_FIT
- line_break: true
- parent: "case1/root"
- layer: ""
- inherit_alpha: true
- alpha: 1.0
- outline_alpha: 0.7
- shadow_alpha: 0.0
- template_node_child: true
- text_leading: 1.0
- text_tracking: 0.0
- custom_type: 0
- enabled: true
- visible: true
-}
-nodes {
- position {
- x: 0.0
- y: -60.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- size {
- x: 600.0
- y: 130.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 1.0
- y: 1.0
- z: 0.9411765
- w: 1.0
- }
- type: TYPE_BOX
- blend_mode: BLEND_MODE_ALPHA
- texture: ""
- id: "case1/area"
- xanchor: XANCHOR_NONE
- yanchor: YANCHOR_NONE
- pivot: PIVOT_N
- adjust_mode: ADJUST_MODE_FIT
- parent: "case1/root"
- layer: ""
- inherit_alpha: true
- slice9 {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 0.0
- }
- clipping_mode: CLIPPING_MODE_NONE
- clipping_visible: true
- clipping_inverted: false
- alpha: 1.0
- template_node_child: true
- size_mode: SIZE_MODE_MANUAL
- custom_type: 0
- enabled: true
- visible: true
-}
-nodes {
- position {
- x: 0.0
- y: -65.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- size {
- x: 200.0
- y: 100.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- type: TYPE_TEMPLATE
- id: "case1/rich_text"
- parent: "case1/area"
- layer: ""
- inherit_alpha: true
- alpha: 1.0
- template: "/druid/custom/rich_text/rich_text.gui"
- template_node_child: true
- custom_type: 0
- enabled: true
-}
-nodes {
- position {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- size {
- x: 500.0
- y: 130.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- type: TYPE_BOX
- blend_mode: BLEND_MODE_ALPHA
- texture: ""
- id: "case1/rich_text/root"
- xanchor: XANCHOR_NONE
- yanchor: YANCHOR_NONE
- pivot: PIVOT_CENTER
- adjust_mode: ADJUST_MODE_FIT
- parent: "case1/rich_text"
- layer: ""
- inherit_alpha: true
- slice9 {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 0.0
- }
- clipping_mode: CLIPPING_MODE_NONE
- clipping_visible: true
- clipping_inverted: false
- alpha: 1.0
- template_node_child: true
- size_mode: SIZE_MODE_MANUAL
- custom_type: 0
- enabled: true
- visible: false
-}
-nodes {
- position {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- size {
- x: 300.0
- y: 60.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 0.2
- y: 0.2
- z: 0.2
- w: 1.0
- }
- type: TYPE_TEXT
- blend_mode: BLEND_MODE_ALPHA
- text: "Rich text"
- font: "game"
- id: "case1/rich_text/text_prefab"
- xanchor: XANCHOR_NONE
- yanchor: YANCHOR_NONE
- pivot: PIVOT_CENTER
- outline {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- shadow {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- adjust_mode: ADJUST_MODE_FIT
- line_break: true
- parent: "case1/rich_text/root"
- layer: ""
- inherit_alpha: true
- alpha: 1.0
- outline_alpha: 0.0
- shadow_alpha: 0.0
- template_node_child: true
- text_leading: 1.0
- text_tracking: 0.0
- custom_type: 0
- enabled: true
- visible: true
-}
-nodes {
- position {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- size {
- x: 200.0
- y: 100.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- type: TYPE_BOX
- blend_mode: BLEND_MODE_ALPHA
- texture: "items/checkmark"
- id: "case1/rich_text/icon_prefab"
- xanchor: XANCHOR_NONE
- yanchor: YANCHOR_NONE
- pivot: PIVOT_CENTER
- adjust_mode: ADJUST_MODE_FIT
- parent: "case1/rich_text/root"
- layer: ""
- inherit_alpha: true
- slice9 {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 0.0
- }
- clipping_mode: CLIPPING_MODE_NONE
- clipping_visible: true
- clipping_inverted: false
- alpha: 1.0
- template_node_child: true
- size_mode: SIZE_MODE_AUTO
- custom_type: 0
- enabled: true
- visible: true
-}
-nodes {
- position {
- x: 0.0
- y: -200.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- size {
- x: 200.0
- y: 100.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- type: TYPE_TEMPLATE
- id: "case2"
- parent: "content"
- layer: ""
- inherit_alpha: true
- alpha: 1.0
- template: "/example/examples/rich_text/rich_text_texts/prefab_example_rich_text.gui"
- template_node_child: false
- custom_type: 0
- enabled: true
-}
-nodes {
- position {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- size {
- x: 600.0
- y: 200.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- type: TYPE_BOX
- blend_mode: BLEND_MODE_ALPHA
- texture: "kenney/empty"
- id: "case2/root"
- xanchor: XANCHOR_NONE
- yanchor: YANCHOR_NONE
- pivot: PIVOT_N
- adjust_mode: ADJUST_MODE_FIT
- parent: "case2"
- layer: ""
- inherit_alpha: true
- slice9 {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 0.0
- }
- clipping_mode: CLIPPING_MODE_NONE
- clipping_visible: true
- clipping_inverted: false
- alpha: 1.0
- template_node_child: true
- size_mode: SIZE_MODE_MANUAL
- custom_type: 0
- enabled: true
- visible: false
-}
-nodes {
- position {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 0.8
- y: 0.8
- z: 1.0
- w: 1.0
- }
- size {
- x: 750.0
- y: 100.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 1.0
- y: 1.0
- z: 0.9411765
- w: 1.0
- }
- type: TYPE_TEXT
- blend_mode: BLEND_MODE_ALPHA
- text: "Text color setup"
- font: "game"
- id: "case2/hint"
- xanchor: XANCHOR_NONE
- yanchor: YANCHOR_NONE
- pivot: PIVOT_N
- outline {
- x: 0.101960786
- y: 0.101960786
- z: 0.101960786
- w: 1.0
- }
- shadow {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- adjust_mode: ADJUST_MODE_FIT
- line_break: true
- parent: "case2/root"
- layer: ""
- inherit_alpha: true
- alpha: 1.0
- outline_alpha: 0.7
- shadow_alpha: 0.0
- overridden_fields: 8
- template_node_child: true
- text_leading: 1.0
- text_tracking: 0.0
- custom_type: 0
- enabled: true
- visible: true
-}
-nodes {
- position {
- x: 0.0
- y: -60.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- size {
- x: 600.0
- y: 130.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 1.0
- y: 1.0
- z: 0.9411765
- w: 1.0
- }
- type: TYPE_BOX
- blend_mode: BLEND_MODE_ALPHA
- texture: ""
- id: "case2/area"
- xanchor: XANCHOR_NONE
- yanchor: YANCHOR_NONE
- pivot: PIVOT_N
- adjust_mode: ADJUST_MODE_FIT
- parent: "case2/root"
- layer: ""
- inherit_alpha: true
- slice9 {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 0.0
- }
- clipping_mode: CLIPPING_MODE_NONE
- clipping_visible: true
- clipping_inverted: false
- alpha: 1.0
- template_node_child: true
- size_mode: SIZE_MODE_MANUAL
- custom_type: 0
- enabled: true
- visible: true
-}
-nodes {
- position {
- x: 0.0
- y: -65.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- size {
- x: 200.0
- y: 100.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- type: TYPE_TEMPLATE
- id: "case2/rich_text"
- parent: "case2/area"
- layer: ""
- inherit_alpha: true
- alpha: 1.0
- template: "/druid/custom/rich_text/rich_text.gui"
- template_node_child: true
- custom_type: 0
- enabled: true
-}
-nodes {
- position {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- size {
- x: 500.0
- y: 130.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- type: TYPE_BOX
- blend_mode: BLEND_MODE_ALPHA
- texture: ""
- id: "case2/rich_text/root"
- xanchor: XANCHOR_NONE
- yanchor: YANCHOR_NONE
- pivot: PIVOT_CENTER
- adjust_mode: ADJUST_MODE_FIT
- parent: "case2/rich_text"
- layer: ""
- inherit_alpha: true
- slice9 {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 0.0
- }
- clipping_mode: CLIPPING_MODE_NONE
- clipping_visible: true
- clipping_inverted: false
- alpha: 1.0
- template_node_child: true
- size_mode: SIZE_MODE_MANUAL
- custom_type: 0
- enabled: true
- visible: false
-}
-nodes {
- position {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- size {
- x: 300.0
- y: 60.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 0.2
- y: 0.2
- z: 0.2
- w: 1.0
- }
- type: TYPE_TEXT
- blend_mode: BLEND_MODE_ALPHA
- text: "Rich text"
- font: "game"
- id: "case2/rich_text/text_prefab"
- xanchor: XANCHOR_NONE
- yanchor: YANCHOR_NONE
- pivot: PIVOT_CENTER
- outline {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- shadow {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- adjust_mode: ADJUST_MODE_FIT
- line_break: true
- parent: "case2/rich_text/root"
- layer: ""
- inherit_alpha: true
- alpha: 1.0
- outline_alpha: 0.0
- shadow_alpha: 0.0
- template_node_child: true
- text_leading: 1.0
- text_tracking: 0.0
- custom_type: 0
- enabled: true
- visible: true
-}
-nodes {
- position {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- size {
- x: 200.0
- y: 100.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- type: TYPE_BOX
- blend_mode: BLEND_MODE_ALPHA
- texture: "items/checkmark"
- id: "case2/rich_text/icon_prefab"
- xanchor: XANCHOR_NONE
- yanchor: YANCHOR_NONE
- pivot: PIVOT_CENTER
- adjust_mode: ADJUST_MODE_FIT
- parent: "case2/rich_text/root"
- layer: ""
- inherit_alpha: true
- slice9 {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 0.0
- }
- clipping_mode: CLIPPING_MODE_NONE
- clipping_visible: true
- clipping_inverted: false
- alpha: 1.0
- template_node_child: true
- size_mode: SIZE_MODE_AUTO
- custom_type: 0
- enabled: true
- visible: true
-}
-nodes {
- position {
- x: 0.0
- y: -400.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- size {
- x: 200.0
- y: 100.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- type: TYPE_TEMPLATE
- id: "case3"
- parent: "content"
- layer: ""
- inherit_alpha: true
- alpha: 1.0
- template: "/example/examples/rich_text/rich_text_texts/prefab_example_rich_text.gui"
- template_node_child: false
- custom_type: 0
- enabled: true
-}
-nodes {
- position {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- size {
- x: 600.0
- y: 200.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- type: TYPE_BOX
- blend_mode: BLEND_MODE_ALPHA
- texture: "kenney/empty"
- id: "case3/root"
- xanchor: XANCHOR_NONE
- yanchor: YANCHOR_NONE
- pivot: PIVOT_N
- adjust_mode: ADJUST_MODE_FIT
- parent: "case3"
- layer: ""
inherit_alpha: true
- slice9 {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 0.0
- }
- clipping_mode: CLIPPING_MODE_NONE
- clipping_visible: true
- clipping_inverted: false
- alpha: 1.0
- template_node_child: true
- size_mode: SIZE_MODE_MANUAL
- custom_type: 0
- enabled: true
visible: false
}
-nodes {
- position {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 0.8
- y: 0.8
- z: 1.0
- w: 1.0
- }
- size {
- x: 750.0
- y: 100.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 1.0
- y: 1.0
- z: 0.9411765
- w: 1.0
- }
- type: TYPE_TEXT
- blend_mode: BLEND_MODE_ALPHA
- text: "Text font setup"
- font: "game"
- id: "case3/hint"
- xanchor: XANCHOR_NONE
- yanchor: YANCHOR_NONE
- pivot: PIVOT_N
- outline {
- x: 0.101960786
- y: 0.101960786
- z: 0.101960786
- w: 1.0
- }
- shadow {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- adjust_mode: ADJUST_MODE_FIT
- line_break: true
- parent: "case3/root"
- layer: ""
- inherit_alpha: true
- alpha: 1.0
- outline_alpha: 0.7
- shadow_alpha: 0.0
- overridden_fields: 8
- template_node_child: true
- text_leading: 1.0
- text_tracking: 0.0
- custom_type: 0
- enabled: true
- visible: true
-}
-nodes {
- position {
- x: 0.0
- y: -60.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- size {
- x: 600.0
- y: 130.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 1.0
- y: 1.0
- z: 0.9411765
- w: 1.0
- }
- type: TYPE_BOX
- blend_mode: BLEND_MODE_ALPHA
- texture: ""
- id: "case3/area"
- xanchor: XANCHOR_NONE
- yanchor: YANCHOR_NONE
- pivot: PIVOT_N
- adjust_mode: ADJUST_MODE_FIT
- parent: "case3/root"
- layer: ""
- inherit_alpha: true
- slice9 {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 0.0
- }
- clipping_mode: CLIPPING_MODE_NONE
- clipping_visible: true
- clipping_inverted: false
- alpha: 1.0
- template_node_child: true
- size_mode: SIZE_MODE_MANUAL
- custom_type: 0
- enabled: true
- visible: true
-}
-nodes {
- position {
- x: 0.0
- y: -65.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- size {
- x: 200.0
- y: 100.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- type: TYPE_TEMPLATE
- id: "case3/rich_text"
- parent: "case3/area"
- layer: ""
- inherit_alpha: true
- alpha: 1.0
- template: "/druid/custom/rich_text/rich_text.gui"
- template_node_child: true
- custom_type: 0
- enabled: true
-}
-nodes {
- position {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- size {
- x: 500.0
- y: 130.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- type: TYPE_BOX
- blend_mode: BLEND_MODE_ALPHA
- texture: ""
- id: "case3/rich_text/root"
- xanchor: XANCHOR_NONE
- yanchor: YANCHOR_NONE
- pivot: PIVOT_CENTER
- adjust_mode: ADJUST_MODE_FIT
- parent: "case3/rich_text"
- layer: ""
- inherit_alpha: true
- slice9 {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 0.0
- }
- clipping_mode: CLIPPING_MODE_NONE
- clipping_visible: true
- clipping_inverted: false
- alpha: 1.0
- template_node_child: true
- size_mode: SIZE_MODE_MANUAL
- custom_type: 0
- enabled: true
- visible: false
-}
-nodes {
- position {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- size {
- x: 300.0
- y: 60.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 0.2
- y: 0.2
- z: 0.2
- w: 1.0
- }
- type: TYPE_TEXT
- blend_mode: BLEND_MODE_ALPHA
- text: "Rich text"
- font: "game"
- id: "case3/rich_text/text_prefab"
- xanchor: XANCHOR_NONE
- yanchor: YANCHOR_NONE
- pivot: PIVOT_SW
- outline {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- shadow {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- adjust_mode: ADJUST_MODE_FIT
- line_break: true
- parent: "case3/rich_text/root"
- layer: ""
- inherit_alpha: true
- alpha: 1.0
- outline_alpha: 0.0
- shadow_alpha: 0.0
- overridden_fields: 14
- template_node_child: true
- text_leading: 1.0
- text_tracking: 0.0
- custom_type: 0
- enabled: true
- visible: true
-}
-nodes {
- position {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- size {
- x: 200.0
- y: 100.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- type: TYPE_BOX
- blend_mode: BLEND_MODE_ALPHA
- texture: "items/checkmark"
- id: "case3/rich_text/icon_prefab"
- xanchor: XANCHOR_NONE
- yanchor: YANCHOR_NONE
- pivot: PIVOT_CENTER
- adjust_mode: ADJUST_MODE_FIT
- parent: "case3/rich_text/root"
- layer: ""
- inherit_alpha: true
- slice9 {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 0.0
- }
- clipping_mode: CLIPPING_MODE_NONE
- clipping_visible: true
- clipping_inverted: false
- alpha: 1.0
- template_node_child: true
- size_mode: SIZE_MODE_AUTO
- custom_type: 0
- enabled: true
- visible: true
-}
-nodes {
- position {
- x: 0.0
- y: -600.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- size {
- x: 200.0
- y: 100.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- type: TYPE_TEMPLATE
- id: "case4"
- parent: "content"
- layer: ""
- inherit_alpha: true
- alpha: 1.0
- template: "/example/examples/rich_text/rich_text_texts/prefab_example_rich_text.gui"
- template_node_child: false
- custom_type: 0
- enabled: true
-}
-nodes {
- position {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- size {
- x: 600.0
- y: 200.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- type: TYPE_BOX
- blend_mode: BLEND_MODE_ALPHA
- texture: "kenney/empty"
- id: "case4/root"
- xanchor: XANCHOR_NONE
- yanchor: YANCHOR_NONE
- pivot: PIVOT_N
- adjust_mode: ADJUST_MODE_FIT
- parent: "case4"
- layer: ""
- inherit_alpha: true
- slice9 {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 0.0
- }
- clipping_mode: CLIPPING_MODE_NONE
- clipping_visible: true
- clipping_inverted: false
- alpha: 1.0
- template_node_child: true
- size_mode: SIZE_MODE_MANUAL
- custom_type: 0
- enabled: true
- visible: false
-}
-nodes {
- position {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 0.8
- y: 0.8
- z: 1.0
- w: 1.0
- }
- size {
- x: 750.0
- y: 100.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 1.0
- y: 1.0
- z: 0.9411765
- w: 1.0
- }
- type: TYPE_TEXT
- blend_mode: BLEND_MODE_ALPHA
- text: "Example with
and "
- font: "game"
- id: "case4/hint"
- xanchor: XANCHOR_NONE
- yanchor: YANCHOR_NONE
- pivot: PIVOT_N
- outline {
- x: 0.101960786
- y: 0.101960786
- z: 0.101960786
- w: 1.0
- }
- shadow {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- adjust_mode: ADJUST_MODE_FIT
- line_break: true
- parent: "case4/root"
- layer: ""
- inherit_alpha: true
- alpha: 1.0
- outline_alpha: 0.7
- shadow_alpha: 0.0
- overridden_fields: 8
- template_node_child: true
- text_leading: 1.0
- text_tracking: 0.0
- custom_type: 0
- enabled: true
- visible: true
-}
-nodes {
- position {
- x: 0.0
- y: -60.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- size {
- x: 600.0
- y: 130.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 1.0
- y: 1.0
- z: 0.9411765
- w: 1.0
- }
- type: TYPE_BOX
- blend_mode: BLEND_MODE_ALPHA
- texture: ""
- id: "case4/area"
- xanchor: XANCHOR_NONE
- yanchor: YANCHOR_NONE
- pivot: PIVOT_N
- adjust_mode: ADJUST_MODE_FIT
- parent: "case4/root"
- layer: ""
- inherit_alpha: true
- slice9 {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 0.0
- }
- clipping_mode: CLIPPING_MODE_NONE
- clipping_visible: true
- clipping_inverted: false
- alpha: 1.0
- template_node_child: true
- size_mode: SIZE_MODE_MANUAL
- custom_type: 0
- enabled: true
- visible: true
-}
-nodes {
- position {
- x: 0.0
- y: -65.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- size {
- x: 200.0
- y: 100.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- type: TYPE_TEMPLATE
- id: "case4/rich_text"
- parent: "case4/area"
- layer: ""
- inherit_alpha: true
- alpha: 1.0
- template: "/druid/custom/rich_text/rich_text.gui"
- template_node_child: true
- custom_type: 0
- enabled: true
-}
-nodes {
- position {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- size {
- x: 500.0
- y: 130.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- type: TYPE_BOX
- blend_mode: BLEND_MODE_ALPHA
- texture: ""
- id: "case4/rich_text/root"
- xanchor: XANCHOR_NONE
- yanchor: YANCHOR_NONE
- pivot: PIVOT_CENTER
- adjust_mode: ADJUST_MODE_FIT
- parent: "case4/rich_text"
- layer: ""
- inherit_alpha: true
- slice9 {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 0.0
- }
- clipping_mode: CLIPPING_MODE_NONE
- clipping_visible: true
- clipping_inverted: false
- alpha: 1.0
- overridden_fields: 4
- template_node_child: true
- size_mode: SIZE_MODE_MANUAL
- custom_type: 0
- enabled: true
- visible: false
-}
-nodes {
- position {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- size {
- x: 300.0
- y: 60.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 0.2
- y: 0.2
- z: 0.2
- w: 1.0
- }
- type: TYPE_TEXT
- blend_mode: BLEND_MODE_ALPHA
- text: "Rich Text"
- font: "game"
- id: "case4/rich_text/text_prefab"
- xanchor: XANCHOR_NONE
- yanchor: YANCHOR_NONE
- pivot: PIVOT_SW
- outline {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- shadow {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- adjust_mode: ADJUST_MODE_FIT
- line_break: true
- parent: "case4/rich_text/root"
- layer: ""
- inherit_alpha: true
- alpha: 1.0
- outline_alpha: 0.0
- shadow_alpha: 0.0
- overridden_fields: 8
- overridden_fields: 14
- template_node_child: true
- text_leading: 1.0
- text_tracking: 0.0
- custom_type: 0
- enabled: true
- visible: true
-}
-nodes {
- position {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- size {
- x: 200.0
- y: 100.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- type: TYPE_BOX
- blend_mode: BLEND_MODE_ALPHA
- texture: "items/checkmark"
- id: "case4/rich_text/icon_prefab"
- xanchor: XANCHOR_NONE
- yanchor: YANCHOR_NONE
- pivot: PIVOT_CENTER
- adjust_mode: ADJUST_MODE_FIT
- parent: "case4/rich_text/root"
- layer: ""
- inherit_alpha: true
- slice9 {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 0.0
- }
- clipping_mode: CLIPPING_MODE_NONE
- clipping_visible: true
- clipping_inverted: false
- alpha: 1.0
- template_node_child: true
- size_mode: SIZE_MODE_AUTO
- custom_type: 0
- enabled: true
- visible: true
-}
-nodes {
- position {
- x: 0.0
- y: -800.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- size {
- x: 200.0
- y: 100.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- type: TYPE_TEMPLATE
- id: "case5"
- parent: "content"
- layer: ""
- inherit_alpha: true
- alpha: 1.0
- template: "/example/examples/rich_text/rich_text_texts/prefab_example_rich_text.gui"
- template_node_child: false
- custom_type: 0
- enabled: true
-}
-nodes {
- position {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- size {
- x: 600.0
- y: 200.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- type: TYPE_BOX
- blend_mode: BLEND_MODE_ALPHA
- texture: "kenney/empty"
- id: "case5/root"
- xanchor: XANCHOR_NONE
- yanchor: YANCHOR_NONE
- pivot: PIVOT_N
- adjust_mode: ADJUST_MODE_FIT
- parent: "case5"
- layer: ""
- inherit_alpha: true
- slice9 {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 0.0
- }
- clipping_mode: CLIPPING_MODE_NONE
- clipping_visible: true
- clipping_inverted: false
- alpha: 1.0
- template_node_child: true
- size_mode: SIZE_MODE_MANUAL
- custom_type: 0
- enabled: true
- visible: false
-}
-nodes {
- position {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 0.8
- y: 0.8
- z: 1.0
- w: 1.0
- }
- size {
- x: 750.0
- y: 100.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 1.0
- y: 1.0
- z: 0.9411765
- w: 1.0
- }
- type: TYPE_TEXT
- blend_mode: BLEND_MODE_ALPHA
- text: "Rich Text can adjust text by height:"
- font: "game"
- id: "case5/hint"
- xanchor: XANCHOR_NONE
- yanchor: YANCHOR_NONE
- pivot: PIVOT_N
- outline {
- x: 0.101960786
- y: 0.101960786
- z: 0.101960786
- w: 1.0
- }
- shadow {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- adjust_mode: ADJUST_MODE_FIT
- line_break: true
- parent: "case5/root"
- layer: ""
- inherit_alpha: true
- alpha: 1.0
- outline_alpha: 0.7
- shadow_alpha: 0.0
- overridden_fields: 8
- template_node_child: true
- text_leading: 1.0
- text_tracking: 0.0
- custom_type: 0
- enabled: true
- visible: true
-}
-nodes {
- position {
- x: 0.0
- y: -60.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- size {
- x: 600.0
- y: 130.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 1.0
- y: 1.0
- z: 0.9411765
- w: 1.0
- }
- type: TYPE_BOX
- blend_mode: BLEND_MODE_ALPHA
- texture: ""
- id: "case5/area"
- xanchor: XANCHOR_NONE
- yanchor: YANCHOR_NONE
- pivot: PIVOT_N
- adjust_mode: ADJUST_MODE_FIT
- parent: "case5/root"
- layer: ""
- inherit_alpha: true
- slice9 {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 0.0
- }
- clipping_mode: CLIPPING_MODE_NONE
- clipping_visible: true
- clipping_inverted: false
- alpha: 1.0
- template_node_child: true
- size_mode: SIZE_MODE_MANUAL
- custom_type: 0
- enabled: true
- visible: true
-}
-nodes {
- position {
- x: 0.0
- y: -65.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- size {
- x: 200.0
- y: 100.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- type: TYPE_TEMPLATE
- id: "case5/rich_text"
- parent: "case5/area"
- layer: ""
- inherit_alpha: true
- alpha: 1.0
- template: "/druid/custom/rich_text/rich_text.gui"
- template_node_child: true
- custom_type: 0
- enabled: true
-}
-nodes {
- position {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- size {
- x: 400.0
- y: 100.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 0.8
- y: 1.0
- z: 1.0
- w: 1.0
- }
- type: TYPE_BOX
- blend_mode: BLEND_MODE_ALPHA
- texture: ""
- id: "case5/rich_text/root"
- xanchor: XANCHOR_NONE
- yanchor: YANCHOR_NONE
- pivot: PIVOT_CENTER
- adjust_mode: ADJUST_MODE_FIT
- parent: "case5/rich_text"
- layer: ""
- inherit_alpha: true
- slice9 {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 0.0
- }
- clipping_mode: CLIPPING_MODE_NONE
- clipping_visible: true
- clipping_inverted: false
- alpha: 1.0
- overridden_fields: 4
- overridden_fields: 5
- overridden_fields: 46
- template_node_child: true
- size_mode: SIZE_MODE_MANUAL
- custom_type: 0
- enabled: true
- visible: true
-}
-nodes {
- position {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- size {
- x: 300.0
- y: 60.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 0.2
- y: 0.2
- z: 0.2
- w: 1.0
- }
- type: TYPE_TEXT
- blend_mode: BLEND_MODE_ALPHA
- text: "Rich Text"
- font: "game"
- id: "case5/rich_text/text_prefab"
- xanchor: XANCHOR_NONE
- yanchor: YANCHOR_NONE
- pivot: PIVOT_SW
- outline {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- shadow {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- adjust_mode: ADJUST_MODE_FIT
- line_break: true
- parent: "case5/rich_text/root"
- layer: ""
- inherit_alpha: true
- alpha: 1.0
- outline_alpha: 0.0
- shadow_alpha: 0.0
- overridden_fields: 8
- overridden_fields: 14
- template_node_child: true
- text_leading: 1.0
- text_tracking: 0.0
- custom_type: 0
- enabled: true
- visible: true
-}
-nodes {
- position {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- size {
- x: 200.0
- y: 100.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- type: TYPE_BOX
- blend_mode: BLEND_MODE_ALPHA
- texture: "items/checkmark"
- id: "case5/rich_text/icon_prefab"
- xanchor: XANCHOR_NONE
- yanchor: YANCHOR_NONE
- pivot: PIVOT_CENTER
- adjust_mode: ADJUST_MODE_FIT
- parent: "case5/rich_text/root"
- layer: ""
- inherit_alpha: true
- slice9 {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 0.0
- }
- clipping_mode: CLIPPING_MODE_NONE
- clipping_visible: true
- clipping_inverted: false
- alpha: 1.0
- template_node_child: true
- size_mode: SIZE_MODE_AUTO
- custom_type: 0
- enabled: true
- visible: true
-}
-nodes {
- position {
- x: 0.0
- y: -1000.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- size {
- x: 200.0
- y: 100.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- type: TYPE_TEMPLATE
- id: "case6"
- parent: "content"
- layer: ""
- inherit_alpha: true
- alpha: 1.0
- template: "/example/examples/rich_text/rich_text_texts/prefab_example_rich_text.gui"
- template_node_child: false
- custom_type: 0
- enabled: true
-}
-nodes {
- position {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- size {
- x: 600.0
- y: 200.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- type: TYPE_BOX
- blend_mode: BLEND_MODE_ALPHA
- texture: "kenney/empty"
- id: "case6/root"
- xanchor: XANCHOR_NONE
- yanchor: YANCHOR_NONE
- pivot: PIVOT_N
- adjust_mode: ADJUST_MODE_FIT
- parent: "case6"
- layer: ""
- inherit_alpha: true
- slice9 {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 0.0
- }
- clipping_mode: CLIPPING_MODE_NONE
- clipping_visible: true
- clipping_inverted: false
- alpha: 1.0
- template_node_child: true
- size_mode: SIZE_MODE_MANUAL
- custom_type: 0
- enabled: true
- visible: false
-}
-nodes {
- position {
- x: 0.0
- y: 9.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 0.7
- y: 0.7
- z: 1.0
- w: 1.0
- }
- size {
- x: 800.0
- y: 100.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 1.0
- y: 1.0
- z: 0.9411765
- w: 1.0
- }
- type: TYPE_TEXT
- blend_mode: BLEND_MODE_ALPHA
- text: "Disabled Line Break in text_prefab, adjust by width"
- font: "game"
- id: "case6/hint"
- xanchor: XANCHOR_NONE
- yanchor: YANCHOR_NONE
- pivot: PIVOT_N
- outline {
- x: 0.101960786
- y: 0.101960786
- z: 0.101960786
- w: 1.0
- }
- shadow {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- adjust_mode: ADJUST_MODE_FIT
- line_break: true
- parent: "case6/root"
- layer: ""
- inherit_alpha: true
- alpha: 1.0
- outline_alpha: 0.7
- shadow_alpha: 0.0
- overridden_fields: 1
- overridden_fields: 3
- overridden_fields: 4
- overridden_fields: 8
- template_node_child: true
- text_leading: 1.0
- text_tracking: 0.0
- custom_type: 0
- enabled: true
- visible: true
-}
-nodes {
- position {
- x: 0.0
- y: -60.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- size {
- x: 600.0
- y: 130.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 1.0
- y: 1.0
- z: 0.9411765
- w: 1.0
- }
- type: TYPE_BOX
- blend_mode: BLEND_MODE_ALPHA
- texture: ""
- id: "case6/area"
- xanchor: XANCHOR_NONE
- yanchor: YANCHOR_NONE
- pivot: PIVOT_N
- adjust_mode: ADJUST_MODE_FIT
- parent: "case6/root"
- layer: ""
- inherit_alpha: true
- slice9 {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 0.0
- }
- clipping_mode: CLIPPING_MODE_NONE
- clipping_visible: true
- clipping_inverted: false
- alpha: 1.0
- template_node_child: true
- size_mode: SIZE_MODE_MANUAL
- custom_type: 0
- enabled: true
- visible: true
-}
-nodes {
- position {
- x: 0.0
- y: -65.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- size {
- x: 200.0
- y: 100.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- type: TYPE_TEMPLATE
- id: "case6/rich_text"
- parent: "case6/area"
- layer: ""
- inherit_alpha: true
- alpha: 1.0
- template: "/druid/custom/rich_text/rich_text.gui"
- template_node_child: true
- custom_type: 0
- enabled: true
-}
-nodes {
- position {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- size {
- x: 400.0
- y: 100.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 0.8
- y: 1.0
- z: 1.0
- w: 1.0
- }
- type: TYPE_BOX
- blend_mode: BLEND_MODE_ALPHA
- texture: ""
- id: "case6/rich_text/root"
- xanchor: XANCHOR_NONE
- yanchor: YANCHOR_NONE
- pivot: PIVOT_CENTER
- adjust_mode: ADJUST_MODE_FIT
- parent: "case6/rich_text"
- layer: ""
- inherit_alpha: true
- slice9 {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 0.0
- }
- clipping_mode: CLIPPING_MODE_NONE
- clipping_visible: true
- clipping_inverted: false
- alpha: 1.0
- overridden_fields: 4
- overridden_fields: 5
- overridden_fields: 46
- template_node_child: true
- size_mode: SIZE_MODE_MANUAL
- custom_type: 0
- enabled: true
- visible: true
-}
-nodes {
- position {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- size {
- x: 300.0
- y: 60.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 0.2
- y: 0.2
- z: 0.2
- w: 1.0
- }
- type: TYPE_TEXT
- blend_mode: BLEND_MODE_ALPHA
- text: "Rich Text"
- font: "game"
- id: "case6/rich_text/text_prefab"
- xanchor: XANCHOR_NONE
- yanchor: YANCHOR_NONE
- pivot: PIVOT_SW
- outline {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- shadow {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- adjust_mode: ADJUST_MODE_FIT
- line_break: false
- parent: "case6/rich_text/root"
- layer: ""
- inherit_alpha: true
- alpha: 1.0
- outline_alpha: 0.0
- shadow_alpha: 0.0
- overridden_fields: 8
- overridden_fields: 14
- overridden_fields: 18
- template_node_child: true
- text_leading: 1.0
- text_tracking: 0.0
- custom_type: 0
- enabled: true
- visible: true
-}
-nodes {
- position {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- size {
- x: 200.0
- y: 100.0
- z: 0.0
- w: 1.0
- }
- color {
- x: 1.0
- y: 1.0
- z: 1.0
- w: 1.0
- }
- type: TYPE_BOX
- blend_mode: BLEND_MODE_ALPHA
- texture: "items/checkmark"
- id: "case6/rich_text/icon_prefab"
- xanchor: XANCHOR_NONE
- yanchor: YANCHOR_NONE
- pivot: PIVOT_CENTER
- adjust_mode: ADJUST_MODE_FIT
- parent: "case6/rich_text/root"
- layer: ""
- inherit_alpha: true
- slice9 {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 0.0
- }
- clipping_mode: CLIPPING_MODE_NONE
- clipping_visible: true
- clipping_inverted: false
- alpha: 1.0
- template_node_child: true
- size_mode: SIZE_MODE_AUTO
- custom_type: 0
- enabled: true
- visible: true
-}
layers {
name: "image"
}
@@ -2855,4 +54,3 @@ layers {
}
material: "/builtins/materials/gui.material"
adjust_reference: ADJUST_REFERENCE_PARENT
-max_nodes: 512
diff --git a/game.project b/game.project
index cdedaceb..3df48887 100644
--- a/game.project
+++ b/game.project
@@ -1,5 +1,5 @@
[bootstrap]
-main_collection = /example/example.collectionc
+main_collection = /test/test.collectionc
[script]
shared_state = 1
diff --git a/test/tests/test_button.lua b/test/tests/test_button.lua
index 154803fb..057135bd 100644
--- a/test/tests/test_button.lua
+++ b/test/tests/test_button.lua
@@ -63,7 +63,7 @@ return function()
assert(on_long_click_mock.calls == 0)
druid:on_input(mock_input.click_pressed(10, 10))
- mock_time.elapse(0.5)
+ mock_time.elapse(1)
druid:on_input(mock_input.click_released(20, 10))
assert(on_click_mock.calls == 1)
@@ -144,14 +144,15 @@ return function()
instance.on_hold_callback:subscribe(on_hold_callback)
druid:on_input(mock_input.click_pressed(10, 10))
- mock_time.elapse(0.5) -- time between hold treshold and autorelease hold time
- druid:on_input(mock_input.click_repeated(10, 10))
+ mock_time.elapse(1) -- time between hold treshold and autorelease hold time
+ druid:on_input(mock_input.input_empty(10, 10))
+ pprint(on_long_click_mock)
assert(on_click_mock.calls == 0)
- assert(on_hold_callback_mock.calls == 1)
- assert(on_hold_callback_mock.params[1] == context)
- assert(on_hold_callback_mock.params[2] == button_params)
- assert(on_hold_callback_mock.params[3] == instance)
+ assert(on_long_click_mock.calls == 1)
+ assert(on_long_click_mock.params[1] == context)
+ assert(on_long_click_mock.params[2] == button_params)
+ assert(on_long_click_mock.params[3] == instance)
druid:on_input(mock_input.click_released(10, 10))
@@ -257,8 +258,8 @@ return function()
instance:set_enabled(false)
local is_clicked_pressed = druid:on_input(mock_input.click_pressed(10, 10))
local is_clicked_released = druid:on_input(mock_input.click_released(10, 10))
- assert(is_clicked_pressed == false)
- assert(is_clicked_released == false)
+ assert(is_clicked_pressed == true)
+ assert(is_clicked_released == true)
assert(on_click_mock.calls == 0)
assert(instance:is_enabled() == false)