|
@@ -0,0 +1,393 @@
|
|
|
+script: "/examples/gui/drag/drag.gui_script"
|
|
|
+fonts {
|
|
|
+ name: "text48"
|
|
|
+ font: "/assets/text48.font"
|
|
|
+}
|
|
|
+textures {
|
|
|
+ name: "sprites"
|
|
|
+ texture: "/assets/sprites.atlas"
|
|
|
+}
|
|
|
+background_color {
|
|
|
+ x: 0.0
|
|
|
+ y: 0.0
|
|
|
+ z: 0.0
|
|
|
+ w: 0.0
|
|
|
+}
|
|
|
+nodes {
|
|
|
+ position {
|
|
|
+ x: 260.0
|
|
|
+ y: 360.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: 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: "sprites/red_button12"
|
|
|
+ id: "box1"
|
|
|
+ xanchor: XANCHOR_NONE
|
|
|
+ yanchor: YANCHOR_NONE
|
|
|
+ pivot: PIVOT_CENTER
|
|
|
+ adjust_mode: ADJUST_MODE_FIT
|
|
|
+ layer: ""
|
|
|
+ inherit_alpha: true
|
|
|
+ slice9 {
|
|
|
+ x: 5.0
|
|
|
+ y: 5.0
|
|
|
+ z: 5.0
|
|
|
+ w: 5.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
|
|
|
+ material: ""
|
|
|
+}
|
|
|
+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: 80.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: "1"
|
|
|
+ font: "text48"
|
|
|
+ id: "text1"
|
|
|
+ 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: "box1"
|
|
|
+ layer: ""
|
|
|
+ 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
|
|
|
+ custom_type: 0
|
|
|
+ enabled: true
|
|
|
+ visible: true
|
|
|
+ material: ""
|
|
|
+}
|
|
|
+nodes {
|
|
|
+ position {
|
|
|
+ x: 360.0
|
|
|
+ y: 360.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: 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: "sprites/red_button12"
|
|
|
+ id: "box2"
|
|
|
+ xanchor: XANCHOR_NONE
|
|
|
+ yanchor: YANCHOR_NONE
|
|
|
+ pivot: PIVOT_CENTER
|
|
|
+ adjust_mode: ADJUST_MODE_FIT
|
|
|
+ layer: ""
|
|
|
+ inherit_alpha: true
|
|
|
+ slice9 {
|
|
|
+ x: 5.0
|
|
|
+ y: 5.0
|
|
|
+ z: 5.0
|
|
|
+ w: 5.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
|
|
|
+ material: ""
|
|
|
+}
|
|
|
+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: 80.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: "2"
|
|
|
+ font: "text48"
|
|
|
+ id: "text2"
|
|
|
+ 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: "box2"
|
|
|
+ layer: ""
|
|
|
+ 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
|
|
|
+ custom_type: 0
|
|
|
+ enabled: true
|
|
|
+ visible: true
|
|
|
+ material: ""
|
|
|
+}
|
|
|
+nodes {
|
|
|
+ position {
|
|
|
+ x: 460.0
|
|
|
+ y: 360.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: 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: "sprites/red_button12"
|
|
|
+ id: "box3"
|
|
|
+ xanchor: XANCHOR_NONE
|
|
|
+ yanchor: YANCHOR_NONE
|
|
|
+ pivot: PIVOT_CENTER
|
|
|
+ adjust_mode: ADJUST_MODE_FIT
|
|
|
+ layer: ""
|
|
|
+ inherit_alpha: true
|
|
|
+ slice9 {
|
|
|
+ x: 5.0
|
|
|
+ y: 5.0
|
|
|
+ z: 5.0
|
|
|
+ w: 5.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
|
|
|
+ material: ""
|
|
|
+}
|
|
|
+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: 80.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: "3"
|
|
|
+ font: "text48"
|
|
|
+ id: "text3"
|
|
|
+ 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: "box3"
|
|
|
+ layer: ""
|
|
|
+ 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
|
|
|
+ custom_type: 0
|
|
|
+ enabled: true
|
|
|
+ visible: true
|
|
|
+ material: ""
|
|
|
+}
|
|
|
+material: "/builtins/materials/gui.material"
|
|
|
+adjust_reference: ADJUST_REFERENCE_PARENT
|
|
|
+max_nodes: 512
|