Update rich text for last version

This commit is contained in:
Insality
2023-02-07 19:37:05 +02:00
parent 6ea5ed0b97
commit 547b10d097
8 changed files with 1284 additions and 712 deletions

View File

@@ -4,7 +4,7 @@ fonts {
font: "/example/assets/fonts/game.font"
}
textures {
name: "kenney"
name: "items"
texture: "/example/assets/images/kenney.atlas"
}
background_color {
@@ -33,8 +33,8 @@ nodes {
w: 1.0
}
size {
x: 300.0
y: 200.0
x: 400.0
y: 100.0
z: 0.0
w: 1.0
}
@@ -90,7 +90,7 @@ nodes {
w: 1.0
}
size {
x: 200.0
x: 400.0
y: 100.0
z: 0.0
w: 1.0
@@ -103,7 +103,7 @@ nodes {
}
type: TYPE_TEXT
blend_mode: BLEND_MODE_ALPHA
text: "Text"
text: "Rich text"
font: "game"
id: "text_prefab"
xanchor: XANCHOR_NONE
@@ -116,9 +116,9 @@ nodes {
w: 1.0
}
shadow {
x: 1.0
y: 1.0
z: 1.0
x: 0.0
y: 0.0
z: 0.0
w: 1.0
}
adjust_mode: ADJUST_MODE_FIT
@@ -127,7 +127,7 @@ nodes {
layer: ""
inherit_alpha: true
alpha: 1.0
outline_alpha: 1.0
outline_alpha: 0.0
shadow_alpha: 0.0
template_node_child: false
text_leading: 1.0
@@ -138,7 +138,7 @@ nodes {
}
nodes {
position {
x: 77.0
x: 110.0
y: 0.0
z: 0.0
w: 1.0
@@ -156,8 +156,8 @@ nodes {
w: 1.0
}
size {
x: 36.0
y: 36.0
x: 21.0
y: 20.0
z: 0.0
w: 1.0
}
@@ -169,7 +169,7 @@ nodes {
}
type: TYPE_BOX
blend_mode: BLEND_MODE_ALPHA
texture: "kenney/slider_move"
texture: "items/checkmark"
id: "icon_prefab"
xanchor: XANCHOR_NONE
yanchor: YANCHOR_NONE