89 lines
2.2 KiB
Plaintext
89 lines
2.2 KiB
Plaintext
[gd_scene load_steps=4 format=3 uid="uid://dchtr3qrw2omq"]
|
|
|
|
[ext_resource type="Script" path="res://scripts/debug/HeroSandboxController.cs" id="1_hero_sandbox"]
|
|
[ext_resource type="PackedScene" path="res://scenes/hero/Hero.tscn" id="2_hero"]
|
|
[ext_resource type="Script" path="res://scripts/hero/HeroStateHudController.cs" id="3_hero_hud"]
|
|
|
|
[node name="HeroSandbox" type="Control"]
|
|
process_mode = 3
|
|
layout_mode = 3
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
script = ExtResource("1_hero_sandbox")
|
|
|
|
[node name="ButtonPanel" type="PanelContainer" parent="."]
|
|
process_mode = 3
|
|
layout_mode = 1
|
|
anchors_preset = 10
|
|
anchor_right = 1.0
|
|
offset_left = 16.0
|
|
offset_top = 16.0
|
|
offset_right = -960.0
|
|
offset_bottom = 704.0
|
|
grow_horizontal = 2
|
|
custom_minimum_size = Vector2(220, 0)
|
|
|
|
[node name="Scroll" type="ScrollContainer" parent="ButtonPanel"]
|
|
layout_mode = 2
|
|
|
|
[node name="Buttons" type="VBoxContainer" parent="ButtonPanel/Scroll"]
|
|
layout_mode = 2
|
|
|
|
[node name="Playfield" type="Control" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = 0
|
|
offset_left = 260.0
|
|
offset_top = 64.0
|
|
offset_right = 960.0
|
|
offset_bottom = 560.0
|
|
|
|
[node name="PlayBounds" type="ColorRect" parent="Playfield"]
|
|
layout_mode = 0
|
|
offset_left = 280.0
|
|
offset_top = 96.0
|
|
offset_right = 920.0
|
|
offset_bottom = 516.0
|
|
color = Color(0.1, 0.22, 0.28, 0.28)
|
|
|
|
[node name="Hero" parent="Playfield" instance=ExtResource("2_hero")]
|
|
position = Vector2(600, 306)
|
|
|
|
[node name="HudPanel" type="PanelContainer" parent="."]
|
|
process_mode = 3
|
|
layout_mode = 1
|
|
anchors_preset = 11
|
|
anchor_left = 1.0
|
|
anchor_right = 1.0
|
|
offset_left = -348.0
|
|
offset_top = 16.0
|
|
offset_right = -16.0
|
|
offset_bottom = 268.0
|
|
grow_horizontal = 0
|
|
script = ExtResource("3_hero_hud")
|
|
|
|
[node name="StateLabel" type="Label" parent="HudPanel"]
|
|
layout_mode = 2
|
|
text = "Hero: unbound"
|
|
|
|
[node name="LogPanel" type="PanelContainer" parent="."]
|
|
process_mode = 3
|
|
layout_mode = 1
|
|
anchors_preset = 11
|
|
anchor_left = 1.0
|
|
anchor_right = 1.0
|
|
offset_left = -348.0
|
|
offset_top = 288.0
|
|
offset_right = -16.0
|
|
offset_bottom = 704.0
|
|
grow_horizontal = 0
|
|
|
|
[node name="LogScroll" type="ScrollContainer" parent="LogPanel"]
|
|
layout_mode = 2
|
|
|
|
[node name="LogLabel" type="Label" parent="LogPanel/LogScroll"]
|
|
layout_mode = 2
|
|
text = ""
|