mirror of
https://github.com/britzl/monarch.git
synced 2025-06-27 10:27:49 +02:00
456 lines
7.9 KiB
Plaintext
456 lines
7.9 KiB
Plaintext
name: "example"
|
|
scale_along_z: 0
|
|
embedded_instances {
|
|
id: "menu"
|
|
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: \"menu\"\n"
|
|
" type: PROPERTY_TYPE_HASH\n"
|
|
" }\n"
|
|
" properties {\n"
|
|
" id: \"transition_id\"\n"
|
|
" value: \"/go\"\n"
|
|
" type: PROPERTY_TYPE_HASH\n"
|
|
" }\n"
|
|
" properties {\n"
|
|
" id: \"focus_id\"\n"
|
|
" value: \"/go\"\n"
|
|
" type: PROPERTY_TYPE_HASH\n"
|
|
" }\n"
|
|
"}\n"
|
|
"embedded_components {\n"
|
|
" id: \"collectionfactory\"\n"
|
|
" type: \"collectionfactory\"\n"
|
|
" data: \"prototype: \\\"/example/menu.collection\\\"\\n"
|
|
"load_dynamically: true\\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: "main"
|
|
data: "components {\n"
|
|
" id: \"main\"\n"
|
|
" component: \"/example/main.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"
|
|
"components {\n"
|
|
" id: \"gui\"\n"
|
|
" component: \"/example/debug.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: "pregame"
|
|
data: "components {\n"
|
|
" id: \"screen\"\n"
|
|
" component: \"/monarch/screen_proxy.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: \"pregame\"\n"
|
|
" type: PROPERTY_TYPE_HASH\n"
|
|
" }\n"
|
|
" properties {\n"
|
|
" id: \"transition_url\"\n"
|
|
" value: \"pregame:/go#pregame\"\n"
|
|
" type: PROPERTY_TYPE_URL\n"
|
|
" }\n"
|
|
"}\n"
|
|
"embedded_components {\n"
|
|
" id: \"collectionproxy\"\n"
|
|
" type: \"collectionproxy\"\n"
|
|
" data: \"collection: \\\"/example/pregame.collection\\\"\\n"
|
|
"exclude: 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: "game"
|
|
data: "components {\n"
|
|
" id: \"screen\"\n"
|
|
" component: \"/monarch/screen_proxy.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: \"game\"\n"
|
|
" type: PROPERTY_TYPE_HASH\n"
|
|
" }\n"
|
|
" properties {\n"
|
|
" id: \"transition_url\"\n"
|
|
" value: \"game:/go#game\"\n"
|
|
" type: PROPERTY_TYPE_URL\n"
|
|
" }\n"
|
|
"}\n"
|
|
"embedded_components {\n"
|
|
" id: \"collectionproxy\"\n"
|
|
" type: \"collectionproxy\"\n"
|
|
" data: \"collection: \\\"/example/game.collection\\\"\\n"
|
|
"exclude: 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: "about"
|
|
data: "components {\n"
|
|
" id: \"screen\"\n"
|
|
" component: \"/monarch/screen_proxy.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: \"about\"\n"
|
|
" type: PROPERTY_TYPE_HASH\n"
|
|
" }\n"
|
|
" properties {\n"
|
|
" id: \"popup\"\n"
|
|
" value: \"true\"\n"
|
|
" type: PROPERTY_TYPE_BOOLEAN\n"
|
|
" }\n"
|
|
" properties {\n"
|
|
" id: \"popup_on_popup\"\n"
|
|
" value: \"true\"\n"
|
|
" type: PROPERTY_TYPE_BOOLEAN\n"
|
|
" }\n"
|
|
" properties {\n"
|
|
" id: \"transition_url\"\n"
|
|
" value: \"about:/go#about\"\n"
|
|
" type: PROPERTY_TYPE_URL\n"
|
|
" }\n"
|
|
" properties {\n"
|
|
" id: \"preload\"\n"
|
|
" value: \"true\"\n"
|
|
" type: PROPERTY_TYPE_BOOLEAN\n"
|
|
" }\n"
|
|
"}\n"
|
|
"embedded_components {\n"
|
|
" id: \"collectionproxy\"\n"
|
|
" type: \"collectionproxy\"\n"
|
|
" data: \"collection: \\\"/example/about.collection\\\"\\n"
|
|
"exclude: 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: "confirm"
|
|
data: "components {\n"
|
|
" id: \"screen\"\n"
|
|
" component: \"/monarch/screen_proxy.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: \"confirm\"\n"
|
|
" type: PROPERTY_TYPE_HASH\n"
|
|
" }\n"
|
|
" properties {\n"
|
|
" id: \"popup\"\n"
|
|
" value: \"true\"\n"
|
|
" type: PROPERTY_TYPE_BOOLEAN\n"
|
|
" }\n"
|
|
" properties {\n"
|
|
" id: \"popup_on_popup\"\n"
|
|
" value: \"true\"\n"
|
|
" type: PROPERTY_TYPE_BOOLEAN\n"
|
|
" }\n"
|
|
" properties {\n"
|
|
" id: \"transition_url\"\n"
|
|
" value: \"confirm:/go#confirm\"\n"
|
|
" type: PROPERTY_TYPE_URL\n"
|
|
" }\n"
|
|
"}\n"
|
|
"embedded_components {\n"
|
|
" id: \"collectionproxy\"\n"
|
|
" type: \"collectionproxy\"\n"
|
|
" data: \"collection: \\\"/example/confirm.collection\\\"\\n"
|
|
"exclude: 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: "background"
|
|
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: \"background\"\n"
|
|
" type: PROPERTY_TYPE_HASH\n"
|
|
" }\n"
|
|
"}\n"
|
|
"embedded_components {\n"
|
|
" id: \"collectionfactory\"\n"
|
|
" type: \"collectionfactory\"\n"
|
|
" data: \"prototype: \\\"/example/background.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
|
|
}
|
|
}
|