mirror of
https://github.com/Insality/druid
synced 2025-06-27 10:27:48 +02:00
620 lines
11 KiB
Plaintext
620 lines
11 KiB
Plaintext
name: "example"
|
|
scale_along_z: 0
|
|
embedded_instances {
|
|
id: "gui"
|
|
data: "components {\n"
|
|
" id: \"main\"\n"
|
|
" component: \"/example/example.gui\"\n"
|
|
" position {\n"
|
|
" x: 0.0\n"
|
|
" y: 0.0\n"
|
|
" z: 0.0\n"
|
|
" }\n"
|
|
" rotation {\n"
|
|
" x: 0.0\n"
|
|
" y: 0.0\n"
|
|
" z: 0.0\n"
|
|
" w: 1.0\n"
|
|
" }\n"
|
|
"}\n"
|
|
""
|
|
position {
|
|
x: 0.0
|
|
y: 0.0
|
|
z: 0.0
|
|
}
|
|
rotation {
|
|
x: 0.0
|
|
y: 0.0
|
|
z: 0.0
|
|
w: 1.0
|
|
}
|
|
scale3 {
|
|
x: 1.0
|
|
y: 1.0
|
|
z: 1.0
|
|
}
|
|
}
|
|
embedded_instances {
|
|
id: "system"
|
|
data: "components {\n"
|
|
" id: \"init\"\n"
|
|
" component: \"/example/init.script\"\n"
|
|
" position {\n"
|
|
" x: 0.0\n"
|
|
" y: 0.0\n"
|
|
" z: 0.0\n"
|
|
" }\n"
|
|
" rotation {\n"
|
|
" x: 0.0\n"
|
|
" y: 0.0\n"
|
|
" z: 0.0\n"
|
|
" w: 1.0\n"
|
|
" }\n"
|
|
"}\n"
|
|
""
|
|
position {
|
|
x: 0.0
|
|
y: 0.0
|
|
z: 0.0
|
|
}
|
|
rotation {
|
|
x: 0.0
|
|
y: 0.0
|
|
z: 0.0
|
|
w: 1.0
|
|
}
|
|
scale3 {
|
|
x: 1.0
|
|
y: 1.0
|
|
z: 1.0
|
|
}
|
|
}
|
|
embedded_instances {
|
|
id: "sound"
|
|
data: "embedded_components {\n"
|
|
" id: \"click\"\n"
|
|
" type: \"sound\"\n"
|
|
" data: \"sound: \\\"/example/assets/sounds/click.ogg\\\"\\n"
|
|
"looping: 0\\n"
|
|
"group: \\\"master\\\"\\n"
|
|
"gain: 1.0\\n"
|
|
"pan: 0.0\\n"
|
|
"speed: 1.0\\n"
|
|
"loopcount: 0\\n"
|
|
"\"\n"
|
|
" position {\n"
|
|
" x: 0.0\n"
|
|
" y: 0.0\n"
|
|
" z: 0.0\n"
|
|
" }\n"
|
|
" rotation {\n"
|
|
" x: 0.0\n"
|
|
" y: 0.0\n"
|
|
" z: 0.0\n"
|
|
" w: 1.0\n"
|
|
" }\n"
|
|
"}\n"
|
|
""
|
|
position {
|
|
x: 0.0
|
|
y: 0.0
|
|
z: 0.0
|
|
}
|
|
rotation {
|
|
x: 0.0
|
|
y: 0.0
|
|
z: 0.0
|
|
w: 1.0
|
|
}
|
|
scale3 {
|
|
x: 1.0
|
|
y: 1.0
|
|
z: 1.0
|
|
}
|
|
}
|
|
embedded_instances {
|
|
id: "general_overview"
|
|
data: "components {\n"
|
|
" id: \"screen_factory\"\n"
|
|
" component: \"/monarch/screen_factory.script\"\n"
|
|
" position {\n"
|
|
" x: 0.0\n"
|
|
" y: 0.0\n"
|
|
" z: 0.0\n"
|
|
" }\n"
|
|
" rotation {\n"
|
|
" x: 0.0\n"
|
|
" y: 0.0\n"
|
|
" z: 0.0\n"
|
|
" w: 1.0\n"
|
|
" }\n"
|
|
" properties {\n"
|
|
" id: \"screen_id\"\n"
|
|
" value: \"general_overview\"\n"
|
|
" type: PROPERTY_TYPE_HASH\n"
|
|
" }\n"
|
|
" properties {\n"
|
|
" id: \"popup\"\n"
|
|
" value: \"true\"\n"
|
|
" type: PROPERTY_TYPE_BOOLEAN\n"
|
|
" }\n"
|
|
"}\n"
|
|
"embedded_components {\n"
|
|
" id: \"collectionfactory\"\n"
|
|
" type: \"collectionfactory\"\n"
|
|
" data: \"prototype: \\\"/example/examples/general/overview/overview.collection\\\"\\n"
|
|
"load_dynamically: false\\n"
|
|
"\"\n"
|
|
" position {\n"
|
|
" x: 0.0\n"
|
|
" y: 0.0\n"
|
|
" z: 0.0\n"
|
|
" }\n"
|
|
" rotation {\n"
|
|
" x: 0.0\n"
|
|
" y: 0.0\n"
|
|
" z: 0.0\n"
|
|
" w: 1.0\n"
|
|
" }\n"
|
|
"}\n"
|
|
""
|
|
position {
|
|
x: 0.0
|
|
y: 0.0
|
|
z: 0.0
|
|
}
|
|
rotation {
|
|
x: 0.0
|
|
y: 0.0
|
|
z: 0.0
|
|
w: 1.0
|
|
}
|
|
scale3 {
|
|
x: 1.0
|
|
y: 1.0
|
|
z: 1.0
|
|
}
|
|
}
|
|
embedded_instances {
|
|
id: "general_buttons"
|
|
data: "components {\n"
|
|
" id: \"screen_factory\"\n"
|
|
" component: \"/monarch/screen_factory.script\"\n"
|
|
" position {\n"
|
|
" x: 0.0\n"
|
|
" y: 0.0\n"
|
|
" z: 0.0\n"
|
|
" }\n"
|
|
" rotation {\n"
|
|
" x: 0.0\n"
|
|
" y: 0.0\n"
|
|
" z: 0.0\n"
|
|
" w: 1.0\n"
|
|
" }\n"
|
|
" properties {\n"
|
|
" id: \"screen_id\"\n"
|
|
" value: \"general_buttons\"\n"
|
|
" type: PROPERTY_TYPE_HASH\n"
|
|
" }\n"
|
|
" properties {\n"
|
|
" id: \"popup\"\n"
|
|
" value: \"true\"\n"
|
|
" type: PROPERTY_TYPE_BOOLEAN\n"
|
|
" }\n"
|
|
"}\n"
|
|
"embedded_components {\n"
|
|
" id: \"collectionfactory\"\n"
|
|
" type: \"collectionfactory\"\n"
|
|
" data: \"prototype: \\\"/example/examples/general/buttons/buttons.collection\\\"\\n"
|
|
"load_dynamically: false\\n"
|
|
"\"\n"
|
|
" position {\n"
|
|
" x: 0.0\n"
|
|
" y: 0.0\n"
|
|
" z: 0.0\n"
|
|
" }\n"
|
|
" rotation {\n"
|
|
" x: 0.0\n"
|
|
" y: 0.0\n"
|
|
" z: 0.0\n"
|
|
" w: 1.0\n"
|
|
" }\n"
|
|
"}\n"
|
|
""
|
|
position {
|
|
x: 0.0
|
|
y: 0.0
|
|
z: 0.0
|
|
}
|
|
rotation {
|
|
x: 0.0
|
|
y: 0.0
|
|
z: 0.0
|
|
w: 1.0
|
|
}
|
|
scale3 {
|
|
x: 1.0
|
|
y: 1.0
|
|
z: 1.0
|
|
}
|
|
}
|
|
embedded_instances {
|
|
id: "general_texts"
|
|
data: "components {\n"
|
|
" id: \"screen_factory\"\n"
|
|
" component: \"/monarch/screen_factory.script\"\n"
|
|
" position {\n"
|
|
" x: 0.0\n"
|
|
" y: 0.0\n"
|
|
" z: 0.0\n"
|
|
" }\n"
|
|
" rotation {\n"
|
|
" x: 0.0\n"
|
|
" y: 0.0\n"
|
|
" z: 0.0\n"
|
|
" w: 1.0\n"
|
|
" }\n"
|
|
" properties {\n"
|
|
" id: \"screen_id\"\n"
|
|
" value: \"general_texts\"\n"
|
|
" type: PROPERTY_TYPE_HASH\n"
|
|
" }\n"
|
|
" properties {\n"
|
|
" id: \"popup\"\n"
|
|
" value: \"true\"\n"
|
|
" type: PROPERTY_TYPE_BOOLEAN\n"
|
|
" }\n"
|
|
"}\n"
|
|
"embedded_components {\n"
|
|
" id: \"collectionfactory\"\n"
|
|
" type: \"collectionfactory\"\n"
|
|
" data: \"prototype: \\\"/example/examples/general/texts/texts.collection\\\"\\n"
|
|
"load_dynamically: false\\n"
|
|
"\"\n"
|
|
" position {\n"
|
|
" x: 0.0\n"
|
|
" y: 0.0\n"
|
|
" z: 0.0\n"
|
|
" }\n"
|
|
" rotation {\n"
|
|
" x: 0.0\n"
|
|
" y: 0.0\n"
|
|
" z: 0.0\n"
|
|
" w: 1.0\n"
|
|
" }\n"
|
|
"}\n"
|
|
""
|
|
position {
|
|
x: 0.0
|
|
y: 0.0
|
|
z: 0.0
|
|
}
|
|
rotation {
|
|
x: 0.0
|
|
y: 0.0
|
|
z: 0.0
|
|
w: 1.0
|
|
}
|
|
scale3 {
|
|
x: 1.0
|
|
y: 1.0
|
|
z: 1.0
|
|
}
|
|
}
|
|
embedded_instances {
|
|
id: "general_sliders"
|
|
data: "components {\n"
|
|
" id: \"screen_factory\"\n"
|
|
" component: \"/monarch/screen_factory.script\"\n"
|
|
" position {\n"
|
|
" x: 0.0\n"
|
|
" y: 0.0\n"
|
|
" z: 0.0\n"
|
|
" }\n"
|
|
" rotation {\n"
|
|
" x: 0.0\n"
|
|
" y: 0.0\n"
|
|
" z: 0.0\n"
|
|
" w: 1.0\n"
|
|
" }\n"
|
|
" properties {\n"
|
|
" id: \"screen_id\"\n"
|
|
" value: \"general_sliders\"\n"
|
|
" type: PROPERTY_TYPE_HASH\n"
|
|
" }\n"
|
|
" properties {\n"
|
|
" id: \"popup\"\n"
|
|
" value: \"true\"\n"
|
|
" type: PROPERTY_TYPE_BOOLEAN\n"
|
|
" }\n"
|
|
"}\n"
|
|
"embedded_components {\n"
|
|
" id: \"collectionfactory\"\n"
|
|
" type: \"collectionfactory\"\n"
|
|
" data: \"prototype: \\\"/example/examples/general/sliders/sliders.collection\\\"\\n"
|
|
"load_dynamically: false\\n"
|
|
"\"\n"
|
|
" position {\n"
|
|
" x: 0.0\n"
|
|
" y: 0.0\n"
|
|
" z: 0.0\n"
|
|
" }\n"
|
|
" rotation {\n"
|
|
" x: 0.0\n"
|
|
" y: 0.0\n"
|
|
" z: 0.0\n"
|
|
" w: 1.0\n"
|
|
" }\n"
|
|
"}\n"
|
|
""
|
|
position {
|
|
x: 0.0
|
|
y: 0.0
|
|
z: 0.0
|
|
}
|
|
rotation {
|
|
x: 0.0
|
|
y: 0.0
|
|
z: 0.0
|
|
w: 1.0
|
|
}
|
|
scale3 {
|
|
x: 1.0
|
|
y: 1.0
|
|
z: 1.0
|
|
}
|
|
}
|
|
embedded_instances {
|
|
id: "general_grid"
|
|
data: "components {\n"
|
|
" id: \"screen_factory\"\n"
|
|
" component: \"/monarch/screen_factory.script\"\n"
|
|
" position {\n"
|
|
" x: 0.0\n"
|
|
" y: 0.0\n"
|
|
" z: 0.0\n"
|
|
" }\n"
|
|
" rotation {\n"
|
|
" x: 0.0\n"
|
|
" y: 0.0\n"
|
|
" z: 0.0\n"
|
|
" w: 1.0\n"
|
|
" }\n"
|
|
" properties {\n"
|
|
" id: \"screen_id\"\n"
|
|
" value: \"general_grid\"\n"
|
|
" type: PROPERTY_TYPE_HASH\n"
|
|
" }\n"
|
|
" properties {\n"
|
|
" id: \"popup\"\n"
|
|
" value: \"true\"\n"
|
|
" type: PROPERTY_TYPE_BOOLEAN\n"
|
|
" }\n"
|
|
"}\n"
|
|
"embedded_components {\n"
|
|
" id: \"collectionfactory\"\n"
|
|
" type: \"collectionfactory\"\n"
|
|
" data: \"prototype: \\\"/example/examples/general/grid/grid.collection\\\"\\n"
|
|
"load_dynamically: false\\n"
|
|
"\"\n"
|
|
" position {\n"
|
|
" x: 0.0\n"
|
|
" y: 0.0\n"
|
|
" z: 0.0\n"
|
|
" }\n"
|
|
" rotation {\n"
|
|
" x: 0.0\n"
|
|
" y: 0.0\n"
|
|
" z: 0.0\n"
|
|
" w: 1.0\n"
|
|
" }\n"
|
|
"}\n"
|
|
""
|
|
position {
|
|
x: 0.0
|
|
y: 0.0
|
|
z: 0.0
|
|
}
|
|
rotation {
|
|
x: 0.0
|
|
y: 0.0
|
|
z: 0.0
|
|
w: 1.0
|
|
}
|
|
scale3 {
|
|
x: 1.0
|
|
y: 1.0
|
|
z: 1.0
|
|
}
|
|
}
|
|
embedded_instances {
|
|
id: "general_input"
|
|
data: "components {\n"
|
|
" id: \"screen_factory\"\n"
|
|
" component: \"/monarch/screen_factory.script\"\n"
|
|
" position {\n"
|
|
" x: 0.0\n"
|
|
" y: 0.0\n"
|
|
" z: 0.0\n"
|
|
" }\n"
|
|
" rotation {\n"
|
|
" x: 0.0\n"
|
|
" y: 0.0\n"
|
|
" z: 0.0\n"
|
|
" w: 1.0\n"
|
|
" }\n"
|
|
" properties {\n"
|
|
" id: \"screen_id\"\n"
|
|
" value: \"general_input\"\n"
|
|
" type: PROPERTY_TYPE_HASH\n"
|
|
" }\n"
|
|
" properties {\n"
|
|
" id: \"popup\"\n"
|
|
" value: \"true\"\n"
|
|
" type: PROPERTY_TYPE_BOOLEAN\n"
|
|
" }\n"
|
|
"}\n"
|
|
"embedded_components {\n"
|
|
" id: \"collectionfactory\"\n"
|
|
" type: \"collectionfactory\"\n"
|
|
" data: \"prototype: \\\"/example/examples/general/input/input.collection\\\"\\n"
|
|
"load_dynamically: false\\n"
|
|
"\"\n"
|
|
" position {\n"
|
|
" x: 0.0\n"
|
|
" y: 0.0\n"
|
|
" z: 0.0\n"
|
|
" }\n"
|
|
" rotation {\n"
|
|
" x: 0.0\n"
|
|
" y: 0.0\n"
|
|
" z: 0.0\n"
|
|
" w: 1.0\n"
|
|
" }\n"
|
|
"}\n"
|
|
""
|
|
position {
|
|
x: 0.0
|
|
y: 0.0
|
|
z: 0.0
|
|
}
|
|
rotation {
|
|
x: 0.0
|
|
y: 0.0
|
|
z: 0.0
|
|
w: 1.0
|
|
}
|
|
scale3 {
|
|
x: 1.0
|
|
y: 1.0
|
|
z: 1.0
|
|
}
|
|
}
|
|
embedded_instances {
|
|
id: "general_scroll"
|
|
data: "components {\n"
|
|
" id: \"screen_factory\"\n"
|
|
" component: \"/monarch/screen_factory.script\"\n"
|
|
" position {\n"
|
|
" x: 0.0\n"
|
|
" y: 0.0\n"
|
|
" z: 0.0\n"
|
|
" }\n"
|
|
" rotation {\n"
|
|
" x: 0.0\n"
|
|
" y: 0.0\n"
|
|
" z: 0.0\n"
|
|
" w: 1.0\n"
|
|
" }\n"
|
|
" properties {\n"
|
|
" id: \"screen_id\"\n"
|
|
" value: \"general_scroll\"\n"
|
|
" type: PROPERTY_TYPE_HASH\n"
|
|
" }\n"
|
|
" properties {\n"
|
|
" id: \"popup\"\n"
|
|
" value: \"true\"\n"
|
|
" type: PROPERTY_TYPE_BOOLEAN\n"
|
|
" }\n"
|
|
"}\n"
|
|
"embedded_components {\n"
|
|
" id: \"collectionfactory\"\n"
|
|
" type: \"collectionfactory\"\n"
|
|
" data: \"prototype: \\\"/example/examples/general/scroll/scroll.collection\\\"\\n"
|
|
"load_dynamically: false\\n"
|
|
"\"\n"
|
|
" position {\n"
|
|
" x: 0.0\n"
|
|
" y: 0.0\n"
|
|
" z: 0.0\n"
|
|
" }\n"
|
|
" rotation {\n"
|
|
" x: 0.0\n"
|
|
" y: 0.0\n"
|
|
" z: 0.0\n"
|
|
" w: 1.0\n"
|
|
" }\n"
|
|
"}\n"
|
|
""
|
|
position {
|
|
x: 0.0
|
|
y: 0.0
|
|
z: 0.0
|
|
}
|
|
rotation {
|
|
x: 0.0
|
|
y: 0.0
|
|
z: 0.0
|
|
w: 1.0
|
|
}
|
|
scale3 {
|
|
x: 1.0
|
|
y: 1.0
|
|
z: 1.0
|
|
}
|
|
}
|
|
embedded_instances {
|
|
id: "general_data_list"
|
|
data: "components {\n"
|
|
" id: \"screen_factory\"\n"
|
|
" component: \"/monarch/screen_factory.script\"\n"
|
|
" position {\n"
|
|
" x: 0.0\n"
|
|
" y: 0.0\n"
|
|
" z: 0.0\n"
|
|
" }\n"
|
|
" rotation {\n"
|
|
" x: 0.0\n"
|
|
" y: 0.0\n"
|
|
" z: 0.0\n"
|
|
" w: 1.0\n"
|
|
" }\n"
|
|
" properties {\n"
|
|
" id: \"screen_id\"\n"
|
|
" value: \"general_data_list\"\n"
|
|
" type: PROPERTY_TYPE_HASH\n"
|
|
" }\n"
|
|
" properties {\n"
|
|
" id: \"popup\"\n"
|
|
" value: \"true\"\n"
|
|
" type: PROPERTY_TYPE_BOOLEAN\n"
|
|
" }\n"
|
|
"}\n"
|
|
"embedded_components {\n"
|
|
" id: \"collectionfactory\"\n"
|
|
" type: \"collectionfactory\"\n"
|
|
" data: \"prototype: \\\"/example/examples/general/data_list/data_list.collection\\\"\\n"
|
|
"load_dynamically: false\\n"
|
|
"\"\n"
|
|
" position {\n"
|
|
" x: 0.0\n"
|
|
" y: 0.0\n"
|
|
" z: 0.0\n"
|
|
" }\n"
|
|
" rotation {\n"
|
|
" x: 0.0\n"
|
|
" y: 0.0\n"
|
|
" z: 0.0\n"
|
|
" w: 1.0\n"
|
|
" }\n"
|
|
"}\n"
|
|
""
|
|
position {
|
|
x: 0.0
|
|
y: 0.0
|
|
z: 0.0
|
|
}
|
|
rotation {
|
|
x: 0.0
|
|
y: 0.0
|
|
z: 0.0
|
|
w: 1.0
|
|
}
|
|
scale3 {
|
|
x: 1.0
|
|
y: 1.0
|
|
z: 1.0
|
|
}
|
|
}
|