/
freewaffle
/
darkbox
Обзор
Документация
Войти
/
freewaffle
/
darkbox
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
editor/editor.gui
912 строк
14 KB
freewaffle
intermediate commit
17 ноя 2025, 22:22
17 ноя 2025, 22:22
0621996
Код
Авторство
О чём код?
script: "/editor/editor.gui_script" fonts { name: "juliamono_bold_lq" font: "/assets/fonts/juliamono_bold_lq.font" } fonts { name: "juliamono_regular_lq" font: "/assets/fonts/juliamono_regular_lq.font" } fonts { name: "juliamono_bold" font: "/assets/fonts/juliamono_bold.font" } textures { name: "ui" texture: "/assets/atlas/ui.atlas" } nodes { type: TYPE_BOX id: "root" inherit_alpha: true size_mode: SIZE_MODE_AUTO visible: false } nodes { size { x: 1440.0 y: 810.0 } color { x: 0.102 y: 0.102 z: 0.102 } type: TYPE_BOX id: "workspace" pivot: PIVOT_SW parent: "root" inherit_alpha: true slice9 { x: 2.0 y: 2.0 z: 2.0 w: 2.0 } size_mode: SIZE_MODE_AUTO } nodes { position { x: 720.0 y: 381.0 } type: TYPE_BOX id: "nodes" parent: "workspace" inherit_alpha: true size_mode: SIZE_MODE_AUTO visible: false } nodes { size { x: 250.0 y: 150.0 } type: TYPE_BOX texture: "ui/panel" id: "node" parent: "nodes" inherit_alpha: true slice9 { x: 2.0 y: 2.0 z: 2.0 w: 2.0 } } nodes { position { y: 62.0 } size { x: 248.0 y: 24.0 } color { x: 0.0 z: 0.0 } type: TYPE_BOX blend_mode: BLEND_MODE_MULT id: "class" parent: "node" inherit_alpha: true size_mode: SIZE_MODE_AUTO } nodes { position { x: -116.0 } scale { x: 0.6 y: 0.6 } size { x: 390.0 y: 24.0 } type: TYPE_TEXT text: "<class>" font: "juliamono_bold_lq" id: "class_name" pivot: PIVOT_W parent: "class" inherit_alpha: true } nodes { position { y: 762.0 } size { x: 480.0 y: 762.0 } color { x: 0.502 y: 0.502 z: 0.502 } type: TYPE_BOX texture: "ui/panel" id: "editor_Lpanel" pivot: PIVOT_NW parent: "root" inherit_alpha: true slice9 { x: 2.0 y: 2.0 z: 2.0 w: 2.0 } enabled: false } nodes { size { x: 480.0 y: 32.0 } color { x: 0.752 y: 0.752 z: 0.752 } type: TYPE_BOX texture: "ui/panel" id: "editor_Lpanel_head" pivot: PIVOT_NW parent: "editor_Lpanel" inherit_alpha: true slice9 { x: 2.0 y: 2.0 z: 2.0 w: 2.0 } } nodes { position { x: 442.0 y: -16.0 } scale { x: 0.5 y: 0.5 } type: TYPE_TEMPLATE id: "editor_Lpanel_hide" parent: "editor_Lpanel_head" inherit_alpha: true template: "/assets/widgets/button.gui" } nodes { size { x: 48.0 y: 48.0 } color { y: 0.0 z: 0.0 } type: TYPE_BOX id: "editor_Lpanel_hide/root" parent: "editor_Lpanel_hide" overridden_fields: 4 overridden_fields: 5 template_node_child: true } nodes { size { x: 48.0 y: 50.0 } type: TYPE_TEXT text: "X" id: "editor_Lpanel_hide/text" parent: "editor_Lpanel_hide/root" overridden_fields: 4 overridden_fields: 8 template_node_child: true } nodes { position { x: 26.0 y: -16.0 } scale { x: 0.75 y: 0.75 } size { x: 540.0 y: 24.0 } color { x: 0.702 y: 0.702 z: 0.702 } type: TYPE_TEXT text: "\320\277\321\200\320\276\320\262\320\276\320\264\320\275\320\270\320\272" font: "juliamono_regular_lq" id: "editor_Lpanel_head_text" pivot: PIVOT_W parent: "editor_Lpanel_head" inherit_alpha: true } nodes { position { y: 810.0 } size { x: 1440.0 y: 48.0 } type: TYPE_BOX texture: "ui/panel" id: "editor_title_box" pivot: PIVOT_NW parent: "root" inherit_alpha: true slice9 { x: 2.0 y: 2.0 z: 2.0 w: 2.0 } } nodes { position { x: 176.0 y: -24.0 } size { x: 1244.0 y: 24.0 } color { x: 0.702 y: 0.702 z: 0.702 } type: TYPE_TEXT text: "[\320\275\320\265\321\202 \320\270\320\274\320\265\320\275\320\270]" font: "juliamono_bold_lq" id: "editor_title" pivot: PIVOT_W parent: "editor_title_box" inherit_alpha: true } nodes { position { x: 26.0 y: -24.0 } type: TYPE_TEMPLATE id: "editor_title_file" parent: "editor_title_box" inherit_alpha: true template: "/assets/widgets/button.gui" } nodes { size { x: 60.0 y: 24.0 } color { x: 0.502 y: 0.502 z: 0.502 } type: TYPE_BOX id: "editor_title_file/root" pivot: PIVOT_W parent: "editor_title_file" overridden_fields: 4 overridden_fields: 5 overridden_fields: 14 template_node_child: true } nodes { position { x: 30.0 } scale { x: 0.55 y: 0.55 } size { x: 109.0 y: 43.0 } type: TYPE_TEXT text: "\320\244\320\260\320\271\320\273" id: "editor_title_file/text" parent: "editor_title_file/root" overridden_fields: 1 overridden_fields: 3 overridden_fields: 4 overridden_fields: 8 template_node_child: true } nodes { position { x: 96.0 y: -24.0 } type: TYPE_TEMPLATE id: "editor_title_view" parent: "editor_title_box" inherit_alpha: true template: "/assets/widgets/button.gui" } nodes { size { x: 60.0 y: 24.0 } color { x: 0.502 y: 0.502 z: 0.502 } type: TYPE_BOX id: "editor_title_view/root" pivot: PIVOT_W parent: "editor_title_view" overridden_fields: 4 overridden_fields: 5 overridden_fields: 14 template_node_child: true } nodes { position { x: 30.0 } scale { x: 0.55 y: 0.55 } size { x: 109.0 y: 43.0 } type: TYPE_TEXT text: "\320\222\320\270\320\264" id: "editor_title_view/text" parent: "editor_title_view/root" overridden_fields: 1 overridden_fields: 3 overridden_fields: 4 overridden_fields: 8 template_node_child: true } nodes { size { x: 1440.0 y: 810.0 } color { x: 0.0 y: 0.0 z: 0.0 } type: TYPE_BOX id: "busy" pivot: PIVOT_SW parent: "root" inherit_alpha: true alpha: 0.75 size_mode: SIZE_MODE_AUTO enabled: false } nodes { color { x: 0.0 y: 0.0 z: 0.0 } type: TYPE_BOX id: "welcome" pivot: PIVOT_SW parent: "root" inherit_alpha: true size_mode: SIZE_MODE_AUTO enabled: false visible: false } nodes { position { x: 720.0 y: 405.0 } size { x: 540.0 y: 405.0 } type: TYPE_BOX texture: "ui/panel" id: "welcome_box" parent: "welcome" inherit_alpha: true slice9 { x: 2.0 y: 2.0 z: 2.0 w: 2.0 } } nodes { position { y: 159.0 } type: TYPE_BOX id: "welcome_content" parent: "welcome_box" inherit_alpha: true size_mode: SIZE_MODE_AUTO visible: false } nodes { scale { x: 0.6 y: 0.6 } size { x: 833.0 y: 54.0 } type: TYPE_TEXT text: "\320\240\320\265\320\264\320\260\320\272\321\202\320\276\321\200 Darkbox" font: "juliamono_bold" id: "welcome_title" parent: "welcome_content" inherit_alpha: true } nodes { position { y: -110.0 } type: TYPE_BOX id: "welcome_section_game" parent: "welcome_content" inherit_alpha: true size_mode: SIZE_MODE_AUTO visible: false } nodes { position { x: -250.0 y: 64.0 } scale { x: 0.6 y: 0.6 } size { x: 833.5 y: 24.0 } type: TYPE_TEXT text: "\320\240\320\265\320\264\320\260\320\272\321\202\320\270\321\200\320\276\320\262\320\260\320\275\320\270\320\265 \320\270\320\263\321\200" font: "juliamono_regular_lq" id: "welcome_section_game_title" pivot: PIVOT_W parent: "welcome_section_game" inherit_alpha: true } nodes { position { x: -133.0 y: 17.0 } scale { x: 0.8 y: 0.8 } type: TYPE_TEMPLATE id: "welcome_new" parent: "welcome_section_game" inherit_alpha: true template: "/assets/widgets/button.gui" } nodes { size { x: 290.0 y: 50.0 } color { x: 0.0 z: 0.0 } type: TYPE_BOX id: "welcome_new/root" parent: "welcome_new" overridden_fields: 4 overridden_fields: 5 template_node_child: true } nodes { size { x: 290.0 y: 50.0 } type: TYPE_TEXT text: "\320\241\320\276\320\267\320\264\320\260\321\202\321\214" id: "welcome_new/text" parent: "welcome_new/root" overridden_fields: 4 overridden_fields: 8 template_node_child: true } nodes { position { x: 133.0 y: 17.0 } scale { x: 0.8 y: 0.8 } type: TYPE_TEMPLATE id: "welcome_open" parent: "welcome_section_game" inherit_alpha: true template: "/assets/widgets/button.gui" } nodes { size { x: 290.0 y: 50.0 } color { x: 0.0 } type: TYPE_BOX id: "welcome_open/root" parent: "welcome_open" overridden_fields: 4 overridden_fields: 5 template_node_child: true } nodes { size { x: 290.0 y: 50.0 } type: TYPE_TEXT text: "\320\236\321\202\320\272\321\200\321\213\321\202\321\214" id: "welcome_open/text" parent: "welcome_open/root" overridden_fields: 4 overridden_fields: 8 template_node_child: true } nodes { position { y: -204.0 } type: TYPE_BOX id: "welcome_section_help" parent: "welcome_content" inherit_alpha: true size_mode: SIZE_MODE_AUTO visible: false } nodes { position { x: -250.0 y: 64.0 } scale { x: 0.6 y: 0.6 } size { x: 833.5 y: 24.0 } type: TYPE_TEXT text: "\320\242\321\203\321\202\320\276\321\200\320\270\320\260\320\273\321\213" font: "juliamono_regular_lq" id: "welcome_section_help_title" pivot: PIVOT_W parent: "welcome_section_help" inherit_alpha: true } nodes { type: TYPE_BOX id: "welcome_getting_started" parent: "welcome_section_help" inherit_alpha: true size_mode: SIZE_MODE_AUTO visible: false } nodes { position { x: -133.0 y: 17.0 } scale { x: 0.8 y: 0.8 } type: TYPE_TEMPLATE id: "welcome_getting_started_button" parent: "welcome_getting_started" inherit_alpha: true template: "/assets/widgets/button.gui" } nodes { size { x: 290.0 y: 50.0 } color { x: 0.4 y: 0.502 z: 0.902 } type: TYPE_BOX id: "welcome_getting_started_button/root" parent: "welcome_getting_started_button" overridden_fields: 4 overridden_fields: 5 template_node_child: true } nodes { size { x: 290.0 y: 50.0 } type: TYPE_TEXT text: "1. \320\235\320\260\321\207\320\260\320\273\320\276 \321\200\320\260\320\261\320\276\321\202\321\213" id: "welcome_getting_started_button/text" parent: "welcome_getting_started_button/root" overridden_fields: 4 overridden_fields: 8 template_node_child: true } nodes { position { x: 16.0 y: 17.0 } scale { x: 0.5 y: 0.5 } size { x: 468.0 y: 80.0 } type: TYPE_TEXT text: "\320\236\321\201\320\275\320\276\320\262\321\213 \321\200\320\260\320\261\320\276\321\202\321\213 \320\275\320\260\320\264 \320\270\320\263\321\200\320\276\320\271: \321\201\320\276\320\267\320\264\320\260\320\275\320\270\320\265 \320\270\320\263\321\200\321\213, \320\264\320\276\320\261\320\260\320\262\320\273\320\265\320\275\320\270\320\265 \320\272\320\260\321\200\321\202, \321\201\320\272\321\200\320\270\320\277\321\202\320\270\320\275\320\263" font: "juliamono_regular_lq" id: "welcome_getting_started_text" pivot: PIVOT_W line_break: true parent: "welcome_getting_started" inherit_alpha: true } nodes { type: TYPE_BOX id: "welcome_node_prog" parent: "welcome_section_help" inherit_alpha: true size_mode: SIZE_MODE_AUTO visible: false } nodes { position { x: -133.0 y: -43.0 } scale { x: 0.8 y: 0.8 } type: TYPE_TEMPLATE id: "welcome_node_prog_button" parent: "welcome_node_prog" inherit_alpha: true template: "/assets/widgets/button.gui" } nodes { size { x: 290.0 y: 50.0 } color { x: 0.4 y: 0.502 z: 0.902 } type: TYPE_BOX id: "welcome_node_prog_button/root" parent: "welcome_node_prog_button" overridden_fields: 1 overridden_fields: 4 overridden_fields: 5 template_node_child: true } nodes { size { x: 290.0 y: 50.0 } type: TYPE_TEXT text: "2. \320\241\320\272\321\200\320\270\320\277\321\202\320\270\320\275\320\263" id: "welcome_node_prog_button/text" parent: "welcome_node_prog_button/root" overridden_fields: 4 overridden_fields: 8 template_node_child: true } nodes { position { x: 16.0 y: -43.0 } scale { x: 0.5 y: 0.5 } size { x: 468.0 y: 80.0 } type: TYPE_TEXT text: "\320\243\320\263\320\273\321\203\320\261\320\273\321\221\320\275\320\275\320\276\320\265 \320\270\320\267\321\203\321\207\320\265\320\275\320\270\320\265 \321\201\320\272\321\200\320\270\320\277\321\202\320\270\320\275\320\263\320\260 \320\262 Darkbox" font: "juliamono_regular_lq" id: "welcome_node_prog_text" pivot: PIVOT_W line_break: true parent: "welcome_node_prog" inherit_alpha: true } nodes { position { y: -307.0 } scale { x: 0.8 y: 0.8 } type: TYPE_TEMPLATE id: "welcome_quit" parent: "welcome_content" inherit_alpha: true template: "/assets/widgets/button.gui" } nodes { size { x: 623.0 y: 50.0 } color { y: 0.0 z: 0.0 } type: TYPE_BOX id: "welcome_quit/root" parent: "welcome_quit" overridden_fields: 4 overridden_fields: 5 template_node_child: true } nodes { size { x: 290.0 y: 50.0 } type: TYPE_TEXT text: "\320\222\321\213\320\271\321\202\320\270" id: "welcome_quit/text" parent: "welcome_quit/root" overridden_fields: 4 overridden_fields: 8 template_node_child: true } nodes { position { x: 720.0 y: 405.0 } size { x: 600.0 y: 120.0 } color { x: 0.5 y: 0.5 z: 0.5 } type: TYPE_BOX texture: "ui/panel" id: "input" parent: "root" inherit_alpha: true slice9 { x: 2.0 y: 2.0 z: 2.0 w: 2.0 } enabled: false } nodes { position { x: -280.0 y: 28.0 } size { x: 560.0 y: 24.0 } type: TYPE_TEXT text: "\320\222\320\262\320\265\320\264\320\270\321\202\320\265 \321\202\320\265\320\272\321\201\321\202..." font: "juliamono_bold_lq" id: "input_title" pivot: PIVOT_W parent: "input" inherit_alpha: true } nodes { position { y: -18.0 } size { x: 560.0 y: 44.0 } color { x: 0.2 y: 0.2 z: 0.2 } type: TYPE_BOX id: "input_field" parent: "input" inherit_alpha: true slice9 { x: 2.0 y: 2.0 z: 2.0 w: 2.0 } size_mode: SIZE_MODE_AUTO } nodes { position { x: -260.0 } size { x: 520.0 y: 24.0 } type: TYPE_TEXT font: "juliamono_regular_lq" id: "input_field_data" pivot: PIVOT_W parent: "input_field" inherit_alpha: true } nodes { position { x: -260.0 } size { x: 14.0 y: 24.0 } type: TYPE_BOX id: "input_cursor" pivot: PIVOT_W parent: "input_field" inherit_alpha: true alpha: 0.5 } material: "/builtins/materials/gui.material" adjust_reference: ADJUST_REFERENCE_PARENT max_nodes: 256 max_dynamic_textures: 0