mirror of
https://github.com/Insality/druid.git
synced 2025-06-27 18:37:44 +02:00
1603 lines
22 KiB
Plaintext
1603 lines
22 KiB
Plaintext
script: "/example/examples/general/buttons/buttons.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: 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
|
|
}
|
|
nodes {
|
|
position {
|
|
x: -200.0
|
|
y: 280.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_usual"
|
|
parent: "root"
|
|
layer: ""
|
|
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: 130.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/button_blue"
|
|
id: "button_usual/button"
|
|
xanchor: XANCHOR_NONE
|
|
yanchor: YANCHOR_NONE
|
|
pivot: PIVOT_CENTER
|
|
adjust_mode: ADJUST_MODE_FIT
|
|
parent: "button_usual"
|
|
layer: "image"
|
|
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
|
|
template_node_child: true
|
|
size_mode: SIZE_MODE_MANUAL
|
|
}
|
|
nodes {
|
|
position {
|
|
x: 0.0
|
|
y: 7.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: 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_TEXT
|
|
blend_mode: BLEND_MODE_ALPHA
|
|
text: "Usual"
|
|
font: "game"
|
|
id: "button_usual/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_usual/button"
|
|
layer: "text"
|
|
inherit_alpha: true
|
|
alpha: 1.0
|
|
outline_alpha: 0.0
|
|
shadow_alpha: 0.78
|
|
overridden_fields: 8
|
|
template_node_child: true
|
|
text_leading: 1.0
|
|
text_tracking: 0.0
|
|
}
|
|
nodes {
|
|
position {
|
|
x: -200.0
|
|
y: 180.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_custom_style"
|
|
parent: "root"
|
|
layer: ""
|
|
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: 130.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/button_blue"
|
|
id: "button_custom_style/button"
|
|
xanchor: XANCHOR_NONE
|
|
yanchor: YANCHOR_NONE
|
|
pivot: PIVOT_CENTER
|
|
adjust_mode: ADJUST_MODE_FIT
|
|
parent: "button_custom_style"
|
|
layer: "image"
|
|
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
|
|
template_node_child: true
|
|
size_mode: SIZE_MODE_MANUAL
|
|
}
|
|
nodes {
|
|
position {
|
|
x: 0.0
|
|
y: 7.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_TEXT
|
|
blend_mode: BLEND_MODE_ALPHA
|
|
text: "Custom Style"
|
|
font: "game"
|
|
id: "button_custom_style/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_custom_style/button"
|
|
layer: "text"
|
|
inherit_alpha: true
|
|
alpha: 1.0
|
|
outline_alpha: 0.0
|
|
shadow_alpha: 0.78
|
|
overridden_fields: 3
|
|
overridden_fields: 8
|
|
template_node_child: true
|
|
text_leading: 1.0
|
|
text_tracking: 0.0
|
|
}
|
|
nodes {
|
|
position {
|
|
x: -200.0
|
|
y: 80.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_long_tap"
|
|
parent: "root"
|
|
layer: ""
|
|
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: 130.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/button_blue"
|
|
id: "button_long_tap/button"
|
|
xanchor: XANCHOR_NONE
|
|
yanchor: YANCHOR_NONE
|
|
pivot: PIVOT_CENTER
|
|
adjust_mode: ADJUST_MODE_FIT
|
|
parent: "button_long_tap"
|
|
layer: "image"
|
|
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
|
|
template_node_child: true
|
|
size_mode: SIZE_MODE_MANUAL
|
|
}
|
|
nodes {
|
|
position {
|
|
x: 0.0
|
|
y: 7.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.7
|
|
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_TEXT
|
|
blend_mode: BLEND_MODE_ALPHA
|
|
text: "Long tap"
|
|
font: "game"
|
|
id: "button_long_tap/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_long_tap/button"
|
|
layer: "text"
|
|
inherit_alpha: true
|
|
alpha: 1.0
|
|
outline_alpha: 0.0
|
|
shadow_alpha: 0.78
|
|
overridden_fields: 3
|
|
overridden_fields: 8
|
|
template_node_child: true
|
|
text_leading: 1.0
|
|
text_tracking: 0.0
|
|
}
|
|
nodes {
|
|
position {
|
|
x: -200.0
|
|
y: -20.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_repeated_tap"
|
|
parent: "root"
|
|
layer: ""
|
|
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: 130.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/button_blue"
|
|
id: "button_repeated_tap/button"
|
|
xanchor: XANCHOR_NONE
|
|
yanchor: YANCHOR_NONE
|
|
pivot: PIVOT_CENTER
|
|
adjust_mode: ADJUST_MODE_FIT
|
|
parent: "button_repeated_tap"
|
|
layer: "image"
|
|
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
|
|
template_node_child: true
|
|
size_mode: SIZE_MODE_MANUAL
|
|
}
|
|
nodes {
|
|
position {
|
|
x: 0.0
|
|
y: 7.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.7
|
|
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_TEXT
|
|
blend_mode: BLEND_MODE_ALPHA
|
|
text: "Repeated"
|
|
font: "game"
|
|
id: "button_repeated_tap/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_repeated_tap/button"
|
|
layer: "text"
|
|
inherit_alpha: true
|
|
alpha: 1.0
|
|
outline_alpha: 0.0
|
|
shadow_alpha: 0.78
|
|
overridden_fields: 3
|
|
overridden_fields: 8
|
|
template_node_child: true
|
|
text_leading: 1.0
|
|
text_tracking: 0.0
|
|
}
|
|
nodes {
|
|
position {
|
|
x: -200.0
|
|
y: -120.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_double_tap"
|
|
parent: "root"
|
|
layer: ""
|
|
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: 130.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/button_blue"
|
|
id: "button_double_tap/button"
|
|
xanchor: XANCHOR_NONE
|
|
yanchor: YANCHOR_NONE
|
|
pivot: PIVOT_CENTER
|
|
adjust_mode: ADJUST_MODE_FIT
|
|
parent: "button_double_tap"
|
|
layer: "image"
|
|
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
|
|
template_node_child: true
|
|
size_mode: SIZE_MODE_MANUAL
|
|
}
|
|
nodes {
|
|
position {
|
|
x: 0.0
|
|
y: 7.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.7
|
|
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_TEXT
|
|
blend_mode: BLEND_MODE_ALPHA
|
|
text: "Double tap"
|
|
font: "game"
|
|
id: "button_double_tap/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_double_tap/button"
|
|
layer: "text"
|
|
inherit_alpha: true
|
|
alpha: 1.0
|
|
outline_alpha: 0.0
|
|
shadow_alpha: 0.78
|
|
overridden_fields: 3
|
|
overridden_fields: 8
|
|
template_node_child: true
|
|
text_leading: 1.0
|
|
text_tracking: 0.0
|
|
}
|
|
nodes {
|
|
position {
|
|
x: -200.0
|
|
y: -220.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_key_trigger"
|
|
parent: "root"
|
|
layer: ""
|
|
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: 130.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/button_blue"
|
|
id: "button_key_trigger/button"
|
|
xanchor: XANCHOR_NONE
|
|
yanchor: YANCHOR_NONE
|
|
pivot: PIVOT_CENTER
|
|
adjust_mode: ADJUST_MODE_FIT
|
|
parent: "button_key_trigger"
|
|
layer: "image"
|
|
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
|
|
template_node_child: true
|
|
size_mode: SIZE_MODE_MANUAL
|
|
}
|
|
nodes {
|
|
position {
|
|
x: 0.0
|
|
y: 7.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.7
|
|
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_TEXT
|
|
blend_mode: BLEND_MODE_ALPHA
|
|
text: "Press Space"
|
|
font: "game"
|
|
id: "button_key_trigger/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_key_trigger/button"
|
|
layer: "text"
|
|
inherit_alpha: true
|
|
alpha: 1.0
|
|
outline_alpha: 0.0
|
|
shadow_alpha: 0.78
|
|
overridden_fields: 3
|
|
overridden_fields: 8
|
|
template_node_child: true
|
|
text_leading: 1.0
|
|
text_tracking: 0.0
|
|
}
|
|
nodes {
|
|
position {
|
|
x: 0.0
|
|
y: 280.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_anim"
|
|
parent: "root"
|
|
layer: ""
|
|
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: 130.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/button_blue"
|
|
id: "button_anim/button"
|
|
xanchor: XANCHOR_NONE
|
|
yanchor: YANCHOR_NONE
|
|
pivot: PIVOT_CENTER
|
|
adjust_mode: ADJUST_MODE_FIT
|
|
parent: "button_anim"
|
|
layer: "image"
|
|
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
|
|
template_node_child: true
|
|
size_mode: SIZE_MODE_MANUAL
|
|
}
|
|
nodes {
|
|
position {
|
|
x: 0.0
|
|
y: 7.0
|
|
z: 0.0
|
|
w: 1.0
|
|
}
|
|
rotation {
|
|
x: 0.0
|
|
y: 0.0
|
|
z: 0.0
|
|
w: 1.0
|
|
}
|
|
scale {
|
|
x: 0.6
|
|
y: 0.6
|
|
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_TEXT
|
|
blend_mode: BLEND_MODE_ALPHA
|
|
text: "Anim node"
|
|
font: "game"
|
|
id: "button_anim/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_anim/button"
|
|
layer: "text"
|
|
inherit_alpha: true
|
|
alpha: 1.0
|
|
outline_alpha: 0.0
|
|
shadow_alpha: 0.78
|
|
overridden_fields: 3
|
|
overridden_fields: 8
|
|
template_node_child: true
|
|
text_leading: 1.0
|
|
text_tracking: 0.0
|
|
}
|
|
nodes {
|
|
position {
|
|
x: 62.0
|
|
y: 305.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: 36.0
|
|
y: 36.0
|
|
z: 0.0
|
|
w: 1.0
|
|
}
|
|
color {
|
|
x: 1.0
|
|
y: 1.0
|
|
z: 0.4
|
|
w: 1.0
|
|
}
|
|
type: TYPE_BOX
|
|
blend_mode: BLEND_MODE_ALPHA
|
|
texture: "kenney/slider_move"
|
|
id: "anim_node_icon"
|
|
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: 2.0
|
|
y: 2.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: 40.0
|
|
y: 40.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: "?"
|
|
font: "game"
|
|
id: "anim_node_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: 1.0
|
|
y: 1.0
|
|
z: 1.0
|
|
w: 1.0
|
|
}
|
|
adjust_mode: ADJUST_MODE_FIT
|
|
line_break: false
|
|
parent: "anim_node_icon"
|
|
layer: ""
|
|
inherit_alpha: true
|
|
alpha: 1.0
|
|
outline_alpha: 0.0
|
|
shadow_alpha: 0.0
|
|
template_node_child: false
|
|
text_leading: 1.0
|
|
text_tracking: 0.0
|
|
}
|
|
nodes {
|
|
position {
|
|
x: 200.0
|
|
y: 80.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_custom_check"
|
|
parent: "root"
|
|
layer: ""
|
|
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: 130.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/button_blue"
|
|
id: "button_custom_check/button"
|
|
xanchor: XANCHOR_NONE
|
|
yanchor: YANCHOR_NONE
|
|
pivot: PIVOT_CENTER
|
|
adjust_mode: ADJUST_MODE_FIT
|
|
parent: "button_custom_check"
|
|
layer: "image"
|
|
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
|
|
template_node_child: true
|
|
size_mode: SIZE_MODE_MANUAL
|
|
}
|
|
nodes {
|
|
position {
|
|
x: 0.0
|
|
y: 7.0
|
|
z: 0.0
|
|
w: 1.0
|
|
}
|
|
rotation {
|
|
x: 0.0
|
|
y: 0.0
|
|
z: 0.0
|
|
w: 1.0
|
|
}
|
|
scale {
|
|
x: 0.6
|
|
y: 0.6
|
|
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_TEXT
|
|
blend_mode: BLEND_MODE_ALPHA
|
|
text: "Check func"
|
|
font: "game"
|
|
id: "button_custom_check/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_custom_check/button"
|
|
layer: "text"
|
|
inherit_alpha: true
|
|
alpha: 1.0
|
|
outline_alpha: 0.0
|
|
shadow_alpha: 0.78
|
|
overridden_fields: 3
|
|
overridden_fields: 8
|
|
overridden_fields: 18
|
|
template_node_child: true
|
|
text_leading: 1.0
|
|
text_tracking: 0.0
|
|
}
|
|
nodes {
|
|
position {
|
|
x: 200.0
|
|
y: 180.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: 400.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_TEXT
|
|
blend_mode: BLEND_MODE_ALPHA
|
|
text: "Button with additional check function."
|
|
font: "game"
|
|
id: "text_custom_check"
|
|
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: true
|
|
parent: "root"
|
|
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: 200.0
|
|
y: -20.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: 400.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_TEXT
|
|
blend_mode: BLEND_MODE_ALPHA
|
|
text: "Failure callback: false"
|
|
font: "game"
|
|
id: "text_custom_result"
|
|
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: true
|
|
parent: "root"
|
|
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
|
|
}
|
|
layers {
|
|
name: "image"
|
|
}
|
|
layers {
|
|
name: "text"
|
|
}
|
|
material: "/builtins/materials/gui.material"
|
|
adjust_reference: ADJUST_REFERENCE_PARENT
|
|
max_nodes: 512
|