144 lines
4.9 KiB
Plaintext
144 lines
4.9 KiB
Plaintext
[gd_scene load_steps=13 format=3 uid="uid://cxi1kgornpcqy"]
|
|
|
|
[ext_resource type="Script" uid="uid://vdiphjbwoqh1" path="res://ProgramScreen.cs" id="1_bm06t"]
|
|
[ext_resource type="PackedScene" uid="uid://dak80da2s75k7" path="res://card_row.tscn" id="2_ix1r6"]
|
|
[ext_resource type="Texture2D" uid="uid://dpyols31oha7" path="res://images/tape.png" id="3_ngr8y"]
|
|
[ext_resource type="Theme" uid="uid://b8egvkt2yaoqp" path="res://program.tres" id="3_nslm1"]
|
|
[ext_resource type="Texture2D" uid="uid://jr5u06qyuc3o" path="res://images/discard.png" id="4_6oq2n"]
|
|
[ext_resource type="Texture2D" uid="uid://cylelh7qqj5ge" path="res://images/hand.png" id="5_11jcu"]
|
|
[ext_resource type="Texture2D" uid="uid://cqt6uu8t458n" path="res://images/execute.png" id="5_mgbps"]
|
|
[ext_resource type="PackedScene" uid="uid://ccp4pglxnw3dy" path="res://flame_background.tscn" id="6_11jcu"]
|
|
|
|
[sub_resource type="InputEventAction" id="InputEventAction_mgbps"]
|
|
action = &"execute"
|
|
|
|
[sub_resource type="Shortcut" id="Shortcut_11jcu"]
|
|
events = [SubResource("InputEventAction_mgbps")]
|
|
|
|
[sub_resource type="InputEventAction" id="InputEventAction_6oq2n"]
|
|
action = &"discard"
|
|
|
|
[sub_resource type="Shortcut" id="Shortcut_ngr8y"]
|
|
events = [SubResource("InputEventAction_6oq2n")]
|
|
|
|
[node name="Program" type="Control"]
|
|
layout_mode = 3
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
mouse_filter = 1
|
|
theme = ExtResource("3_nslm1")
|
|
script = ExtResource("1_bm06t")
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
|
|
[node name="MarginContainer2" type="MarginContainer" parent="HBoxContainer"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 8
|
|
theme_override_constants/margin_bottom = 20
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="HBoxContainer/MarginContainer2"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 8
|
|
|
|
[node name="PanelContainer" type="PanelContainer" parent="HBoxContainer/MarginContainer2/VBoxContainer"]
|
|
layout_mode = 2
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="HBoxContainer/MarginContainer2/VBoxContainer/PanelContainer"]
|
|
layout_mode = 2
|
|
|
|
[node name="TextureRect" type="TextureRect" parent="HBoxContainer/MarginContainer2/VBoxContainer/PanelContainer/HBoxContainer"]
|
|
custom_minimum_size = Vector2(100, 100)
|
|
layout_mode = 2
|
|
tooltip_text = "Instruction tape.
|
|
Select instructions to add them to the tape.
|
|
Selected instructions are executed."
|
|
texture = ExtResource("3_ngr8y")
|
|
expand_mode = 3
|
|
stretch_mode = 3
|
|
|
|
[node name="ProgramRow" parent="HBoxContainer/MarginContainer2/VBoxContainer/PanelContainer/HBoxContainer" instance=ExtResource("2_ix1r6")]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
AnimationDuration = 0.5
|
|
SupportsMultiSelect = true
|
|
SupportsMultiDrag = true
|
|
BackgroundVariant = 1
|
|
|
|
[node name="TapeLabel" type="Label" parent="HBoxContainer/MarginContainer2/VBoxContainer/PanelContainer/HBoxContainer"]
|
|
unique_name_in_owner = true
|
|
custom_minimum_size = Vector2(50, 0)
|
|
layout_mode = 2
|
|
text = "0/6"
|
|
horizontal_alignment = 1
|
|
|
|
[node name="Sort" type="Button" parent="HBoxContainer/MarginContainer2/VBoxContainer/PanelContainer/HBoxContainer"]
|
|
unique_name_in_owner = true
|
|
custom_minimum_size = Vector2(100, 100)
|
|
layout_mode = 2
|
|
size_flags_vertical = 8
|
|
tooltip_text = "Sort hand"
|
|
icon = ExtResource("5_11jcu")
|
|
expand_icon = true
|
|
|
|
[node name="HandLabel" type="Label" parent="HBoxContainer/MarginContainer2/VBoxContainer/PanelContainer/HBoxContainer"]
|
|
unique_name_in_owner = true
|
|
custom_minimum_size = Vector2(50, 0)
|
|
layout_mode = 2
|
|
text = "0/6"
|
|
horizontal_alignment = 1
|
|
|
|
[node name="MarginContainer" type="MarginContainer" parent="HBoxContainer"]
|
|
layout_mode = 2
|
|
theme = ExtResource("3_nslm1")
|
|
theme_override_constants/margin_right = 20
|
|
theme_override_constants/margin_bottom = 20
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="HBoxContainer/MarginContainer"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 8
|
|
|
|
[node name="FlameBackground" parent="HBoxContainer/MarginContainer/VBoxContainer" instance=ExtResource("6_11jcu")]
|
|
unique_name_in_owner = true
|
|
visible = false
|
|
position = Vector2(58, 50)
|
|
scale = Vector2(2.5, 2.5)
|
|
|
|
[node name="Execute" type="Button" parent="HBoxContainer/MarginContainer/VBoxContainer"]
|
|
unique_name_in_owner = true
|
|
z_index = 2
|
|
z_as_relative = false
|
|
y_sort_enabled = true
|
|
custom_minimum_size = Vector2(115, 100)
|
|
layout_mode = 2
|
|
size_flags_vertical = 8
|
|
tooltip_text = "Execute"
|
|
shortcut = SubResource("Shortcut_11jcu")
|
|
shortcut_in_tooltip = false
|
|
text = "Run"
|
|
icon = ExtResource("5_mgbps")
|
|
expand_icon = true
|
|
|
|
[node name="Discard" type="Button" parent="HBoxContainer/MarginContainer/VBoxContainer"]
|
|
unique_name_in_owner = true
|
|
custom_minimum_size = Vector2(115, 100)
|
|
layout_mode = 2
|
|
size_flags_vertical = 8
|
|
tooltip_text = "Discard"
|
|
shortcut = SubResource("Shortcut_ngr8y")
|
|
shortcut_in_tooltip = false
|
|
text = "20"
|
|
icon = ExtResource("4_6oq2n")
|
|
expand_icon = true
|