tojam20-elevator/scenes/elevator_panel.tscn

84 lines
2.8 KiB
Text

[gd_scene format=3 uid="uid://nca1hcujxru0"]
[ext_resource type="Script" uid="uid://k1n4iyxp4iww" path="res://scenes/elevator_panel.gd" id="1_1gr6t"]
[ext_resource type="Script" uid="uid://kltqwef8yx3r" path="res://scenes/screen.gd" id="1_3gei6"]
[ext_resource type="Texture2D" uid="uid://51p1gbyn5l02" path="res://images/virtua_hand.png" id="2_03crn"]
[ext_resource type="Script" path="res://scenes/pulse.gd" id="2_pulse"]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_n2snw"]
bg_color = Color(0.039215688, 0.16470589, 0.039215688, 1)
corner_radius_top_left = 4
corner_radius_top_right = 4
corner_radius_bottom_right = 4
corner_radius_bottom_left = 4
[node name="ElevatorPanel" type="PanelContainer" unique_id=574176994]
anchors_preset = 6
anchor_left = 1.0
anchor_top = 0.5
anchor_right = 1.0
anchor_bottom = 0.5
offset_left = -230.0
offset_top = -160.0
offset_right = -10.0
offset_bottom = 160.0
grow_horizontal = 0
grow_vertical = 2
script = ExtResource("1_1gr6t")
[node name="PanelMargin" type="MarginContainer" parent="." unique_id=1575963889]
layout_mode = 2
theme_override_constants/margin_left = 15
theme_override_constants/margin_top = 15
theme_override_constants/margin_right = 15
theme_override_constants/margin_bottom = 15
[node name="VirtuaHandTemp" type="Sprite2D" parent="PanelMargin" unique_id=14079675]
visible = false
z_index = 1
texture_filter = 1
position = Vector2(94, 438)
scale = Vector2(3.75, 3.75)
texture = ExtResource("2_03crn")
[node name="PanelColumn" type="VBoxContainer" parent="PanelMargin" unique_id=434338875]
layout_mode = 2
[node name="Screen" type="Panel" parent="PanelMargin/PanelColumn" unique_id=1395085208]
custom_minimum_size = Vector2(160, 160)
layout_mode = 2
theme_override_styles/panel = SubResource("StyleBoxFlat_n2snw")
script = ExtResource("1_3gei6")
[node name="TargetZone" type="ColorRect" parent="PanelMargin/PanelColumn/Screen" unique_id=1482369006]
custom_minimum_size = Vector2(40, 160)
layout_mode = 0
offset_left = 88.0
offset_top = 18.0
offset_right = 128.0
offset_bottom = 178.0
color = Color(0.101960786, 0.3529412, 0.101960786, 1)
[node name="SweepLine" type="ColorRect" parent="PanelMargin/PanelColumn/Screen" unique_id=6530953]
custom_minimum_size = Vector2(4, 160)
layout_mode = 0
offset_right = 40.0
offset_bottom = 40.0
color = Color(1, 0, 0, 1)
[node name="AIFace" type="Label" parent="PanelMargin/PanelColumn/Screen" unique_id=975263237]
layout_mode = 0
offset_right = 40.0
offset_bottom = 23.0
theme_override_colors/font_color = Color(0.2, 1, 0.2, 1)
theme_override_font_sizes/font_size = 32
text = ">:)"
[node name="Pulse" type="Node" parent="PanelMargin/PanelColumn/Screen" unique_id=988615527]
script = ExtResource("2_pulse")
[node name="CloseButton" type="Button" parent="PanelMargin/PanelColumn" unique_id=554485629]
custom_minimum_size = Vector2(0, 60)
layout_mode = 2
theme_override_font_sizes/font_size = 28
text = "CLOSE"