mirror of
https://github.com/Insality/druid
synced 2025-06-27 10:27:48 +02:00
1154 lines
16 KiB
Plaintext
1154 lines
16 KiB
Plaintext
script: "/example/gui/main/main.gui_script"
|
|
fonts {
|
|
name: "game"
|
|
font: "/example/assets/fonts/game.font"
|
|
}
|
|
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: 450.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: 900.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_STRETCH
|
|
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
|
|
}
|
|
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: 1.0
|
|
y: 1.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: "C_Anchor"
|
|
xanchor: XANCHOR_NONE
|
|
yanchor: YANCHOR_NONE
|
|
pivot: PIVOT_CENTER
|
|
adjust_mode: ADJUST_MODE_FIT
|
|
parent: "root"
|
|
layer: "image"
|
|
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_AUTO
|
|
}
|
|
nodes {
|
|
position {
|
|
x: 0.0
|
|
y: 380.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: 1.0
|
|
y: 1.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: "lobby"
|
|
xanchor: XANCHOR_NONE
|
|
yanchor: YANCHOR_NONE
|
|
pivot: PIVOT_CENTER
|
|
adjust_mode: ADJUST_MODE_FIT
|
|
parent: "C_Anchor"
|
|
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_AUTO
|
|
}
|
|
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: 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: "lobby_view"
|
|
xanchor: XANCHOR_NONE
|
|
yanchor: YANCHOR_NONE
|
|
pivot: PIVOT_N
|
|
adjust_mode: ADJUST_MODE_FIT
|
|
parent: "lobby"
|
|
layer: ""
|
|
inherit_alpha: true
|
|
slice9 {
|
|
x: 0.0
|
|
y: 0.0
|
|
z: 0.0
|
|
w: 0.0
|
|
}
|
|
clipping_mode: CLIPPING_MODE_STENCIL
|
|
clipping_visible: true
|
|
clipping_inverted: false
|
|
alpha: 1.0
|
|
template_node_child: false
|
|
size_mode: SIZE_MODE_MANUAL
|
|
}
|
|
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: 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: "lobby_content"
|
|
xanchor: XANCHOR_NONE
|
|
yanchor: YANCHOR_NONE
|
|
pivot: PIVOT_N
|
|
adjust_mode: ADJUST_MODE_FIT
|
|
parent: "lobby_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
|
|
}
|
|
nodes {
|
|
position {
|
|
x: 0.0
|
|
y: -59.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: 1.0
|
|
y: 1.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: "prefabs"
|
|
xanchor: XANCHOR_NONE
|
|
yanchor: YANCHOR_NONE
|
|
pivot: PIVOT_CENTER
|
|
adjust_mode: ADJUST_MODE_FIT
|
|
parent: "lobby"
|
|
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_AUTO
|
|
}
|
|
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: 80.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: "prefab_header"
|
|
xanchor: XANCHOR_NONE
|
|
yanchor: YANCHOR_NONE
|
|
pivot: PIVOT_CENTER
|
|
adjust_mode: ADJUST_MODE_FIT
|
|
parent: "prefabs"
|
|
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
|
|
}
|
|
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.9
|
|
y: 0.9
|
|
z: 1.0
|
|
w: 1.0
|
|
}
|
|
size {
|
|
x: 500.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_TEXT
|
|
blend_mode: BLEND_MODE_ALPHA
|
|
text: "Title of component"
|
|
font: "game"
|
|
id: "prefab_text"
|
|
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: false
|
|
parent: "prefab_header"
|
|
layer: ""
|
|
inherit_alpha: true
|
|
alpha: 1.0
|
|
outline_alpha: 1.0
|
|
shadow_alpha: 0.0
|
|
template_node_child: false
|
|
text_leading: 1.0
|
|
text_tracking: 0.0
|
|
}
|
|
nodes {
|
|
position {
|
|
x: 0.0
|
|
y: -74.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: 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: "kenney/empty"
|
|
id: "prefab_button"
|
|
xanchor: XANCHOR_NONE
|
|
yanchor: YANCHOR_NONE
|
|
pivot: PIVOT_CENTER
|
|
adjust_mode: ADJUST_MODE_FIT
|
|
parent: "prefabs"
|
|
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
|
|
}
|
|
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: 55.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/button_green"
|
|
id: "icon_button"
|
|
xanchor: XANCHOR_NONE
|
|
yanchor: YANCHOR_NONE
|
|
pivot: PIVOT_CENTER
|
|
adjust_mode: ADJUST_MODE_FIT
|
|
parent: "prefab_button"
|
|
layer: ""
|
|
inherit_alpha: true
|
|
slice9 {
|
|
x: 20.0
|
|
y: 20.0
|
|
z: 20.0
|
|
w: 20.0
|
|
}
|
|
clipping_mode: CLIPPING_MODE_NONE
|
|
clipping_visible: true
|
|
clipping_inverted: false
|
|
alpha: 1.0
|
|
template_node_child: false
|
|
size_mode: SIZE_MODE_MANUAL
|
|
}
|
|
nodes {
|
|
position {
|
|
x: 0.0
|
|
y: 4.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: 450.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_TEXT
|
|
blend_mode: BLEND_MODE_ALPHA
|
|
text: "Button name"
|
|
font: "game"
|
|
id: "text_button_lobby"
|
|
xanchor: XANCHOR_NONE
|
|
yanchor: YANCHOR_NONE
|
|
pivot: PIVOT_CENTER
|
|
outline {
|
|
x: 0.0
|
|
y: 0.0
|
|
z: 0.0
|
|
w: 1.0
|
|
}
|
|
shadow {
|
|
x: 1.0
|
|
y: 1.0
|
|
z: 1.0
|
|
w: 1.0
|
|
}
|
|
adjust_mode: ADJUST_MODE_FIT
|
|
line_break: false
|
|
parent: "icon_button"
|
|
layer: ""
|
|
inherit_alpha: true
|
|
alpha: 1.0
|
|
outline_alpha: 1.0
|
|
shadow_alpha: 0.0
|
|
template_node_child: false
|
|
text_leading: 1.0
|
|
text_tracking: 0.0
|
|
}
|
|
nodes {
|
|
position {
|
|
x: 0.0
|
|
y: 450.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: 1.0
|
|
y: 1.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: "N_Anchor"
|
|
xanchor: XANCHOR_NONE
|
|
yanchor: YANCHOR_NONE
|
|
pivot: PIVOT_CENTER
|
|
adjust_mode: ADJUST_MODE_STRETCH
|
|
parent: "root"
|
|
layer: "image"
|
|
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_AUTO
|
|
}
|
|
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: 70.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/back_gray"
|
|
id: "panel_top"
|
|
xanchor: XANCHOR_NONE
|
|
yanchor: YANCHOR_NONE
|
|
pivot: PIVOT_N
|
|
adjust_mode: ADJUST_MODE_STRETCH
|
|
parent: "N_Anchor"
|
|
layer: "image_top"
|
|
inherit_alpha: true
|
|
slice9 {
|
|
x: 20.0
|
|
y: 20.0
|
|
z: 20.0
|
|
w: 20.0
|
|
}
|
|
clipping_mode: CLIPPING_MODE_NONE
|
|
clipping_visible: true
|
|
clipping_inverted: false
|
|
alpha: 1.0
|
|
template_node_child: false
|
|
size_mode: SIZE_MODE_MANUAL
|
|
}
|
|
nodes {
|
|
position {
|
|
x: -230.0
|
|
y: -35.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: "button_menu"
|
|
parent: "panel_top"
|
|
layer: "image_top"
|
|
inherit_alpha: true
|
|
alpha: 1.0
|
|
template: "/example/templates/button.gui"
|
|
template_node_child: 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: 80.0
|
|
y: 50.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/button_blue"
|
|
id: "button_menu/button"
|
|
xanchor: XANCHOR_NONE
|
|
yanchor: YANCHOR_NONE
|
|
pivot: PIVOT_CENTER
|
|
adjust_mode: ADJUST_MODE_FIT
|
|
parent: "button_menu"
|
|
layer: "image_top"
|
|
inherit_alpha: true
|
|
slice9 {
|
|
x: 15.0
|
|
y: 15.0
|
|
z: 15.0
|
|
w: 15.0
|
|
}
|
|
clipping_mode: CLIPPING_MODE_NONE
|
|
clipping_visible: true
|
|
clipping_inverted: false
|
|
alpha: 1.0
|
|
overridden_fields: 4
|
|
overridden_fields: 20
|
|
template_node_child: true
|
|
size_mode: SIZE_MODE_MANUAL
|
|
}
|
|
nodes {
|
|
position {
|
|
x: 0.0
|
|
y: 3.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: 130.0
|
|
y: 50.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: "MENU"
|
|
font: "game"
|
|
id: "button_menu/text"
|
|
xanchor: XANCHOR_NONE
|
|
yanchor: YANCHOR_NONE
|
|
pivot: PIVOT_CENTER
|
|
outline {
|
|
x: 1.0
|
|
y: 1.0
|
|
z: 1.0
|
|
w: 1.0
|
|
}
|
|
shadow {
|
|
x: 0.101960786
|
|
y: 0.2
|
|
z: 0.6
|
|
w: 1.0
|
|
}
|
|
adjust_mode: ADJUST_MODE_FIT
|
|
line_break: false
|
|
parent: "button_menu/button"
|
|
layer: "text_top"
|
|
inherit_alpha: true
|
|
alpha: 1.0
|
|
outline_alpha: 0.0
|
|
shadow_alpha: 0.78
|
|
overridden_fields: 1
|
|
overridden_fields: 3
|
|
overridden_fields: 4
|
|
overridden_fields: 8
|
|
overridden_fields: 20
|
|
template_node_child: true
|
|
text_leading: 1.0
|
|
text_tracking: 0.0
|
|
}
|
|
nodes {
|
|
position {
|
|
x: 230.0
|
|
y: -35.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: "button_api"
|
|
parent: "panel_top"
|
|
layer: "image_top"
|
|
inherit_alpha: true
|
|
alpha: 1.0
|
|
template: "/example/templates/button.gui"
|
|
template_node_child: 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: 80.0
|
|
y: 50.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/button_blue"
|
|
id: "button_api/button"
|
|
xanchor: XANCHOR_NONE
|
|
yanchor: YANCHOR_NONE
|
|
pivot: PIVOT_CENTER
|
|
adjust_mode: ADJUST_MODE_FIT
|
|
parent: "button_api"
|
|
layer: "image_top"
|
|
inherit_alpha: true
|
|
slice9 {
|
|
x: 15.0
|
|
y: 15.0
|
|
z: 15.0
|
|
w: 15.0
|
|
}
|
|
clipping_mode: CLIPPING_MODE_NONE
|
|
clipping_visible: true
|
|
clipping_inverted: false
|
|
alpha: 1.0
|
|
overridden_fields: 4
|
|
overridden_fields: 20
|
|
template_node_child: true
|
|
size_mode: SIZE_MODE_MANUAL
|
|
}
|
|
nodes {
|
|
position {
|
|
x: 0.0
|
|
y: 3.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: 130.0
|
|
y: 50.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: "API"
|
|
font: "game"
|
|
id: "button_api/text"
|
|
xanchor: XANCHOR_NONE
|
|
yanchor: YANCHOR_NONE
|
|
pivot: PIVOT_CENTER
|
|
outline {
|
|
x: 1.0
|
|
y: 1.0
|
|
z: 1.0
|
|
w: 1.0
|
|
}
|
|
shadow {
|
|
x: 0.101960786
|
|
y: 0.2
|
|
z: 0.6
|
|
w: 1.0
|
|
}
|
|
adjust_mode: ADJUST_MODE_FIT
|
|
line_break: false
|
|
parent: "button_api/button"
|
|
layer: "text_top"
|
|
inherit_alpha: true
|
|
alpha: 1.0
|
|
outline_alpha: 0.0
|
|
shadow_alpha: 0.78
|
|
overridden_fields: 1
|
|
overridden_fields: 3
|
|
overridden_fields: 4
|
|
overridden_fields: 8
|
|
overridden_fields: 20
|
|
template_node_child: true
|
|
text_leading: 1.0
|
|
text_tracking: 0.0
|
|
}
|
|
nodes {
|
|
position {
|
|
x: 0.0
|
|
y: -30.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: 45.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: "Title"
|
|
font: "game"
|
|
id: "text_header"
|
|
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: false
|
|
parent: "panel_top"
|
|
layer: "text_top"
|
|
inherit_alpha: true
|
|
alpha: 1.0
|
|
outline_alpha: 1.0
|
|
shadow_alpha: 1.0
|
|
template_node_child: false
|
|
text_leading: 1.0
|
|
text_tracking: 0.0
|
|
}
|
|
layers {
|
|
name: "image"
|
|
}
|
|
layers {
|
|
name: "text"
|
|
}
|
|
layers {
|
|
name: "image_top"
|
|
}
|
|
layers {
|
|
name: "text_top"
|
|
}
|
|
material: "/builtins/materials/gui.material"
|
|
adjust_reference: ADJUST_REFERENCE_PARENT
|
|
max_nodes: 1024
|