mirror of
https://github.com/Insality/druid
synced 2025-06-27 18:37:45 +02:00
627 lines
8.5 KiB
Plaintext
627 lines
8.5 KiB
Plaintext
script: "/example/examples/grid/grid_animations/grid_animations.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: -100.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: "button_add"
|
|
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_add/button"
|
|
xanchor: XANCHOR_NONE
|
|
yanchor: YANCHOR_NONE
|
|
pivot: PIVOT_CENTER
|
|
adjust_mode: ADJUST_MODE_FIT
|
|
parent: "button_add"
|
|
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: "Add\n"
|
|
""
|
|
font: "game"
|
|
id: "button_add/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_add/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: 100.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: "button_remove"
|
|
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_remove/button"
|
|
xanchor: XANCHOR_NONE
|
|
yanchor: YANCHOR_NONE
|
|
pivot: PIVOT_CENTER
|
|
adjust_mode: ADJUST_MODE_FIT
|
|
parent: "button_remove"
|
|
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: "Remove\n"
|
|
""
|
|
font: "game"
|
|
id: "button_remove/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_remove/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: 0.0
|
|
y: 108.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: "grid"
|
|
xanchor: XANCHOR_NONE
|
|
yanchor: YANCHOR_NONE
|
|
pivot: PIVOT_CENTER
|
|
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
|
|
}
|
|
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: 110.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"
|
|
xanchor: XANCHOR_NONE
|
|
yanchor: YANCHOR_NONE
|
|
pivot: PIVOT_CENTER
|
|
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
|
|
}
|
|
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: 110.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: "prefab_icon"
|
|
xanchor: XANCHOR_NONE
|
|
yanchor: YANCHOR_NONE
|
|
pivot: PIVOT_CENTER
|
|
adjust_mode: ADJUST_MODE_FIT
|
|
parent: "prefab"
|
|
layer: ""
|
|
inherit_alpha: true
|
|
slice9 {
|
|
x: 10.0
|
|
y: 10.0
|
|
z: 10.0
|
|
w: 10.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: -2.0
|
|
y: 8.0
|
|
z: 0.0
|
|
w: 1.0
|
|
}
|
|
rotation {
|
|
x: 0.0
|
|
y: 0.0
|
|
z: 0.0
|
|
w: 1.0
|
|
}
|
|
scale {
|
|
x: 1.5
|
|
y: 1.5
|
|
z: 1.0
|
|
w: 1.0
|
|
}
|
|
size {
|
|
x: 30.0
|
|
y: 30.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: "1"
|
|
font: "game"
|
|
id: "prefab_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.0
|
|
y: 0.0
|
|
z: 0.0
|
|
w: 1.0
|
|
}
|
|
adjust_mode: ADJUST_MODE_FIT
|
|
line_break: false
|
|
parent: "prefab_icon"
|
|
layer: ""
|
|
inherit_alpha: true
|
|
alpha: 1.0
|
|
outline_alpha: 0.0
|
|
shadow_alpha: 0.5
|
|
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
|