131 lines
3.9 KiB
Plaintext
131 lines
3.9 KiB
Plaintext
[gd_scene load_steps=7 format=2]
|
|
|
|
[ext_resource path="res://Game.tscn" type="PackedScene" id=1]
|
|
[ext_resource path="res://Blah.gd" type="Script" id=2]
|
|
[ext_resource path="res://GameEnd.tscn" type="PackedScene" id=3]
|
|
[ext_resource path="res://resources/UI Theme.tres" type="Theme" id=4]
|
|
[ext_resource path="res://resources/NewLevel.tscn" type="PackedScene" id=5]
|
|
[ext_resource path="res://resources/Background.tscn" type="PackedScene" id=6]
|
|
|
|
[node name="Deliver" type="Node"]
|
|
pause_mode = 2
|
|
script = ExtResource( 2 )
|
|
|
|
[node name="Game" parent="." instance=ExtResource( 1 )]
|
|
pause_mode = 1
|
|
|
|
[node name="UiAudio" type="AudioStreamPlayer" parent="."]
|
|
pause_mode = 2
|
|
|
|
[node name="Camera2D" type="Camera2D" parent="."]
|
|
offset = Vector2( 512, 300 )
|
|
current = true
|
|
|
|
[node name="BgLayer" type="CanvasLayer" parent="."]
|
|
layer = -1
|
|
|
|
[node name="Background" parent="BgLayer" instance=ExtResource( 6 )]
|
|
|
|
[node name="UiLayer" type="CanvasLayer" parent="."]
|
|
|
|
[node name="PanelContainer" type="Panel" parent="UiLayer"]
|
|
margin_left = 808.0
|
|
margin_right = 1023.0
|
|
margin_bottom = 597.0
|
|
|
|
[node name="Hide" type="CheckButton" parent="UiLayer/PanelContainer"]
|
|
margin_left = 7.0
|
|
margin_top = 7.0
|
|
margin_right = 147.0
|
|
margin_bottom = 47.0
|
|
size_flags_horizontal = 0
|
|
size_flags_vertical = 0
|
|
text = "Minimize"
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="UiLayer/PanelContainer"]
|
|
margin_left = 7.0
|
|
margin_top = 50.0
|
|
margin_right = 208.0
|
|
margin_bottom = 590.0
|
|
|
|
[node name="Delivered" type="Label" parent="UiLayer/PanelContainer/VBoxContainer"]
|
|
modulate = Color( 0.576471, 1, 0.572549, 1 )
|
|
margin_right = 201.0
|
|
margin_bottom = 15.0
|
|
theme = ExtResource( 4 )
|
|
text = "Delivered: 0"
|
|
|
|
[node name="Supplied" type="Label" parent="UiLayer/PanelContainer/VBoxContainer"]
|
|
modulate = Color( 0.576471, 1, 0.572549, 1 )
|
|
margin_top = 19.0
|
|
margin_right = 201.0
|
|
margin_bottom = 34.0
|
|
theme = ExtResource( 4 )
|
|
text = "Supplied score: 0"
|
|
|
|
[node name="Moved" type="Label" parent="UiLayer/PanelContainer/VBoxContainer"]
|
|
modulate = Color( 1, 0.545098, 0.545098, 1 )
|
|
margin_top = 38.0
|
|
margin_right = 201.0
|
|
margin_bottom = 53.0
|
|
theme = ExtResource( 4 )
|
|
text = "Moved: 0"
|
|
|
|
[node name="Score" type="Label" parent="UiLayer/PanelContainer/VBoxContainer"]
|
|
margin_top = 57.0
|
|
margin_right = 201.0
|
|
margin_bottom = 72.0
|
|
theme = ExtResource( 4 )
|
|
text = "Total score: 0"
|
|
|
|
[node name="HSeparator" type="HSeparator" parent="UiLayer/PanelContainer/VBoxContainer"]
|
|
margin_top = 76.0
|
|
margin_right = 201.0
|
|
margin_bottom = 80.0
|
|
|
|
[node name="Capacity" type="Label" parent="UiLayer/PanelContainer/VBoxContainer"]
|
|
margin_top = 84.0
|
|
margin_right = 201.0
|
|
margin_bottom = 99.0
|
|
theme = ExtResource( 4 )
|
|
text = "Cargo: 0 / 10"
|
|
|
|
[node name="HSeparator2" type="HSeparator" parent="UiLayer/PanelContainer/VBoxContainer"]
|
|
margin_top = 103.0
|
|
margin_right = 201.0
|
|
margin_bottom = 107.0
|
|
|
|
[node name="Label" type="Label" parent="UiLayer/PanelContainer/VBoxContainer"]
|
|
margin_top = 111.0
|
|
margin_right = 201.0
|
|
margin_bottom = 486.0
|
|
theme = ExtResource( 4 )
|
|
text = "
|
|
Pick up cargo from uparrrow, and deliver to downarrow.
|
|
|
|
Paths have a cost to use them, try to minimize your movement cost to maximize your score.
|
|
|
|
Deliver cargo to all destinations to end game.
|
|
|
|
Move: double click on selected node
|
|
Move node: click and hold to drag
|
|
Hold right-click and drag to pan around.
|
|
Pan View: right-click + drag
|
|
Zoom: scroll wheel
|
|
Menu: Escape"
|
|
autowrap = true
|
|
|
|
[node name="ResetCamera" type="Button" parent="UiLayer/PanelContainer/VBoxContainer"]
|
|
margin_top = 490.0
|
|
margin_right = 201.0
|
|
margin_bottom = 510.0
|
|
text = "Reset Camera"
|
|
|
|
[node name="GameEndDialog" parent="UiLayer" instance=ExtResource( 3 )]
|
|
|
|
[node name="NewLevelDialog" parent="UiLayer" instance=ExtResource( 5 )]
|
|
|
|
[connection signal="toggled" from="UiLayer/PanelContainer/Hide" to="." method="_on_Hide_toggled"]
|
|
[connection signal="pressed" from="UiLayer/PanelContainer/VBoxContainer/ResetCamera" to="." method="_on_ResetCamera_pressed"]
|
|
[connection signal="start_pressed" from="UiLayer/NewLevelDialog" to="." method="_on_NewLevelDialog_start_pressed"]
|