2021-02-11 10:46:20 +01:00
|
|
|
[gd_scene load_steps=14 format=2]
|
2020-01-29 20:25:13 +01:00
|
|
|
|
2020-10-26 19:15:47 +01:00
|
|
|
[ext_resource path="res://scenes/terminal.tscn" type="PackedScene" id=1]
|
|
|
|
[ext_resource path="res://scenes/main.gd" type="Script" id=2]
|
|
|
|
[ext_resource path="res://scenes/cards.tscn" type="PackedScene" id=3]
|
2020-09-11 13:12:12 +02:00
|
|
|
[ext_resource path="res://styles/alert_button.tres" type="StyleBox" id=4]
|
2020-10-27 17:32:41 +01:00
|
|
|
[ext_resource path="res://scenes/file_browser.tscn" type="PackedScene" id=5]
|
2020-09-21 17:00:00 +02:00
|
|
|
[ext_resource path="res://styles/theme.tres" type="Theme" id=6]
|
2020-09-14 19:29:51 +02:00
|
|
|
[ext_resource path="res://fonts/big.tres" type="DynamicFont" id=7]
|
2020-10-22 14:51:09 +02:00
|
|
|
[ext_resource path="res://sounds/success.wav" type="AudioStream" id=8]
|
2020-11-07 13:59:47 +01:00
|
|
|
[ext_resource path="res://scenes/cursor.gd" type="Script" id=9]
|
2021-01-21 15:08:59 +01:00
|
|
|
[ext_resource path="res://scenes/cli_badge.tscn" type="PackedScene" id=10]
|
2021-02-11 10:46:20 +01:00
|
|
|
[ext_resource path="res://scenes/music_button.tscn" type="PackedScene" id=11]
|
2020-09-01 21:25:24 +02:00
|
|
|
|
2021-01-21 15:08:59 +01:00
|
|
|
[sub_resource type="CircleShape2D" id=1]
|
2021-01-19 11:13:40 +01:00
|
|
|
radius = 1.0
|
|
|
|
|
2021-01-21 15:08:59 +01:00
|
|
|
[sub_resource type="StyleBoxFlat" id=2]
|
2020-09-21 17:00:00 +02:00
|
|
|
content_margin_left = 10.0
|
|
|
|
content_margin_right = 10.0
|
|
|
|
content_margin_top = 5.0
|
|
|
|
content_margin_bottom = 5.0
|
2020-09-11 13:12:12 +02:00
|
|
|
bg_color = Color( 0.847059, 0.0666667, 0.0666667, 1 )
|
|
|
|
corner_radius_top_left = 3
|
|
|
|
corner_radius_top_right = 3
|
|
|
|
corner_radius_bottom_right = 3
|
|
|
|
corner_radius_bottom_left = 3
|
|
|
|
|
2020-09-21 15:25:54 +02:00
|
|
|
[node name="Main" type="Control"]
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
2020-10-15 14:39:30 +02:00
|
|
|
margin_left = 8.0
|
|
|
|
margin_top = 8.0
|
|
|
|
margin_right = -8.0
|
|
|
|
margin_bottom = -8.0
|
2020-09-21 18:33:34 +02:00
|
|
|
mouse_filter = 2
|
2020-09-21 17:00:00 +02:00
|
|
|
theme = ExtResource( 6 )
|
2020-03-18 15:23:38 +01:00
|
|
|
script = ExtResource( 2 )
|
2020-09-01 21:25:24 +02:00
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
2020-09-29 17:05:04 +02:00
|
|
|
[node name="CanvasLayer" type="CanvasLayer" parent="."]
|
|
|
|
layer = -1
|
|
|
|
|
|
|
|
[node name="Background" type="ColorRect" parent="CanvasLayer"]
|
2020-09-21 15:25:54 +02:00
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
mouse_filter = 2
|
|
|
|
color = Color( 0.0705882, 0.0705882, 0.0705882, 1 )
|
2020-09-01 15:14:01 +02:00
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
2020-09-01 17:24:21 +02:00
|
|
|
|
2020-10-14 14:48:38 +02:00
|
|
|
[node name="Rows" type="VBoxContainer" parent="."]
|
2020-09-21 15:25:54 +02:00
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
2020-09-21 18:33:34 +02:00
|
|
|
mouse_filter = 2
|
2020-10-14 14:48:38 +02:00
|
|
|
size_flags_vertical = 3
|
2020-10-27 17:32:41 +01:00
|
|
|
custom_constants/separation = 8
|
2020-10-14 14:48:38 +02:00
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
2020-10-27 15:48:23 +01:00
|
|
|
[node name="Columns" type="HBoxContainer" parent="Rows"]
|
2020-10-15 14:39:30 +02:00
|
|
|
margin_right = 1904.0
|
2020-10-27 17:32:41 +01:00
|
|
|
margin_bottom = 782.0
|
2020-10-14 14:48:38 +02:00
|
|
|
mouse_filter = 2
|
|
|
|
size_flags_vertical = 3
|
2020-09-03 17:50:03 +02:00
|
|
|
|
2020-10-27 16:53:19 +01:00
|
|
|
[node name="Repositories" type="VBoxContainer" parent="Rows/Columns"]
|
2020-12-23 12:01:07 +01:00
|
|
|
margin_right = 1266.0
|
2020-10-27 17:32:41 +01:00
|
|
|
margin_bottom = 782.0
|
2020-09-03 18:10:09 +02:00
|
|
|
mouse_filter = 2
|
2020-09-21 15:25:54 +02:00
|
|
|
size_flags_horizontal = 3
|
2020-10-27 15:48:23 +01:00
|
|
|
size_flags_stretch_ratio = 2.0
|
2020-10-23 13:07:16 +02:00
|
|
|
custom_constants/separation = 8
|
2020-09-03 17:50:03 +02:00
|
|
|
|
2020-10-27 17:32:41 +01:00
|
|
|
[node name="RightSide" type="VBoxContainer" parent="Rows/Columns"]
|
2020-12-23 12:01:07 +01:00
|
|
|
margin_left = 1271.0
|
2020-10-15 14:39:30 +02:00
|
|
|
margin_right = 1904.0
|
2020-10-27 17:32:41 +01:00
|
|
|
margin_bottom = 782.0
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
size_flags_vertical = 3
|
|
|
|
custom_constants/separation = 8
|
|
|
|
|
|
|
|
[node name="LevelInfo" type="VBoxContainer" parent="Rows/Columns/RightSide"]
|
2020-12-23 12:01:07 +01:00
|
|
|
margin_right = 633.0
|
2021-01-19 11:13:40 +01:00
|
|
|
margin_bottom = 595.0
|
2020-09-21 15:25:54 +02:00
|
|
|
size_flags_horizontal = 3
|
2020-09-21 19:28:39 +02:00
|
|
|
size_flags_vertical = 3
|
2020-11-10 23:17:48 +01:00
|
|
|
custom_constants/separation = 8
|
2020-09-21 19:28:39 +02:00
|
|
|
|
2020-10-27 17:32:41 +01:00
|
|
|
[node name="LevelPanel" type="VBoxContainer" parent="Rows/Columns/RightSide/LevelInfo"]
|
2020-12-23 12:01:07 +01:00
|
|
|
margin_right = 633.0
|
2021-01-19 11:13:40 +01:00
|
|
|
margin_bottom = 595.0
|
2020-09-21 15:25:54 +02:00
|
|
|
size_flags_vertical = 3
|
|
|
|
|
2020-10-27 17:32:41 +01:00
|
|
|
[node name="LevelName" type="RichTextLabel" parent="Rows/Columns/RightSide/LevelInfo/LevelPanel"]
|
2020-10-27 15:48:23 +01:00
|
|
|
margin_right = 633.0
|
2020-09-21 15:25:54 +02:00
|
|
|
margin_bottom = 60.0
|
|
|
|
rect_min_size = Vector2( 0, 60 )
|
2021-02-09 14:53:50 +01:00
|
|
|
size_flags_stretch_ratio = 0.0
|
2020-09-14 19:29:51 +02:00
|
|
|
custom_fonts/normal_font = ExtResource( 7 )
|
|
|
|
text = "Level name here!"
|
2021-02-09 14:53:50 +01:00
|
|
|
fit_content_height = true
|
|
|
|
scroll_active = false
|
2020-09-14 19:29:51 +02:00
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
2020-10-27 17:32:41 +01:00
|
|
|
[node name="Text" type="Control" parent="Rows/Columns/RightSide/LevelInfo/LevelPanel"]
|
2021-01-05 13:05:46 +01:00
|
|
|
margin_top = 65.0
|
2020-12-23 12:01:07 +01:00
|
|
|
margin_right = 633.0
|
2021-01-19 11:13:40 +01:00
|
|
|
margin_bottom = 590.0
|
2020-09-21 15:25:54 +02:00
|
|
|
size_flags_vertical = 3
|
|
|
|
|
2020-10-27 17:32:41 +01:00
|
|
|
[node name="LevelDescription" type="RichTextLabel" parent="Rows/Columns/RightSide/LevelInfo/LevelPanel/Text"]
|
2020-09-21 15:25:54 +02:00
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
size_flags_vertical = 3
|
2020-09-03 19:22:46 +02:00
|
|
|
bbcode_enabled = true
|
|
|
|
bbcode_text = "Level description here!"
|
|
|
|
text = "Level description here!"
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
2020-09-11 13:12:12 +02:00
|
|
|
|
2020-10-27 17:32:41 +01:00
|
|
|
[node name="LevelCongrats" type="RichTextLabel" parent="Rows/Columns/RightSide/LevelInfo/LevelPanel/Text"]
|
2020-09-16 16:16:46 +02:00
|
|
|
visible = false
|
2020-09-21 15:25:54 +02:00
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
size_flags_vertical = 3
|
2020-09-16 16:16:46 +02:00
|
|
|
bbcode_enabled = true
|
|
|
|
bbcode_text = "Level description here!"
|
2020-09-18 11:15:09 +02:00
|
|
|
text = "Level description here!"
|
2020-09-16 16:16:46 +02:00
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
2021-01-08 13:54:37 +01:00
|
|
|
[node name="Goals" type="VBoxContainer" parent="Rows/Columns/RightSide/LevelInfo/LevelPanel"]
|
2021-01-19 11:13:40 +01:00
|
|
|
margin_top = 595.0
|
2021-01-08 13:54:37 +01:00
|
|
|
margin_right = 633.0
|
2021-01-19 11:13:40 +01:00
|
|
|
margin_bottom = 595.0
|
2021-01-08 13:54:37 +01:00
|
|
|
size_flags_vertical = 3
|
2021-01-13 16:26:48 +01:00
|
|
|
size_flags_stretch_ratio = 0.0
|
2021-01-08 13:54:37 +01:00
|
|
|
|
2020-10-27 17:32:41 +01:00
|
|
|
[node name="FileBrowser" parent="Rows/Columns/RightSide" instance=ExtResource( 5 )]
|
|
|
|
anchor_right = 0.0
|
|
|
|
anchor_bottom = 0.0
|
2021-01-19 11:13:40 +01:00
|
|
|
margin_top = 603.0
|
2020-12-23 12:01:07 +01:00
|
|
|
margin_right = 633.0
|
2020-10-27 17:32:41 +01:00
|
|
|
margin_bottom = 782.0
|
|
|
|
size_flags_vertical = 3
|
2021-01-19 11:13:40 +01:00
|
|
|
size_flags_stretch_ratio = 0.3
|
2020-10-27 17:32:41 +01:00
|
|
|
|
2020-10-27 15:48:23 +01:00
|
|
|
[node name="Controls" type="HBoxContainer" parent="Rows"]
|
2020-10-27 17:32:41 +01:00
|
|
|
margin_top = 790.0
|
2020-10-27 15:48:23 +01:00
|
|
|
margin_right = 1904.0
|
|
|
|
margin_bottom = 1064.0
|
|
|
|
mouse_filter = 2
|
|
|
|
size_flags_vertical = 3
|
|
|
|
size_flags_stretch_ratio = 0.35
|
|
|
|
|
|
|
|
[node name="Cards" parent="Rows/Controls" instance=ExtResource( 3 )]
|
2020-10-14 14:48:38 +02:00
|
|
|
anchor_right = 0.0
|
|
|
|
anchor_bottom = 0.0
|
2020-10-27 15:48:23 +01:00
|
|
|
margin_right = 1266.0
|
2020-10-27 17:32:41 +01:00
|
|
|
margin_bottom = 274.0
|
2020-10-27 15:48:23 +01:00
|
|
|
size_flags_horizontal = 3
|
2020-10-14 14:48:38 +02:00
|
|
|
size_flags_vertical = 3
|
2020-10-27 15:48:23 +01:00
|
|
|
size_flags_stretch_ratio = 2.0
|
2020-10-14 14:48:38 +02:00
|
|
|
|
2020-10-27 15:48:23 +01:00
|
|
|
[node name="Terminal" parent="Rows/Controls" instance=ExtResource( 1 )]
|
2020-09-21 15:40:42 +02:00
|
|
|
anchor_right = 0.0
|
|
|
|
anchor_bottom = 0.0
|
2020-10-27 15:48:23 +01:00
|
|
|
margin_left = 1271.0
|
2020-10-15 15:02:43 +02:00
|
|
|
margin_right = 1904.0
|
2020-10-27 17:32:41 +01:00
|
|
|
margin_bottom = 274.0
|
2020-10-27 15:48:23 +01:00
|
|
|
size_flags_horizontal = 3
|
2020-09-21 15:25:54 +02:00
|
|
|
size_flags_vertical = 3
|
2020-09-15 09:30:19 +02:00
|
|
|
|
2020-10-22 14:51:09 +02:00
|
|
|
[node name="SuccessSound" type="AudioStreamPlayer" parent="."]
|
|
|
|
stream = ExtResource( 8 )
|
2020-10-27 19:44:17 +01:00
|
|
|
volume_db = -10.0
|
2020-11-07 13:59:47 +01:00
|
|
|
|
|
|
|
[node name="Cursor" type="Node2D" parent="."]
|
|
|
|
position = Vector2( 68.6342, 59.1206 )
|
|
|
|
script = ExtResource( 9 )
|
|
|
|
|
|
|
|
[node name="Area2D" type="Area2D" parent="Cursor"]
|
|
|
|
input_pickable = false
|
|
|
|
collision_layer = 524288
|
|
|
|
collision_mask = 0
|
|
|
|
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Cursor/Area2D"]
|
2021-01-21 15:08:59 +01:00
|
|
|
shape = SubResource( 1 )
|
2021-01-19 11:13:40 +01:00
|
|
|
|
|
|
|
[node name="Menu" type="HBoxContainer" parent="."]
|
|
|
|
margin_left = 3.86392
|
|
|
|
margin_top = 5.13129
|
|
|
|
margin_right = 636.864
|
|
|
|
margin_bottom = 44.1313
|
|
|
|
custom_constants/separation = 8
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="BackButton" type="Button" parent="Menu"]
|
|
|
|
margin_right = 65.0
|
|
|
|
margin_bottom = 39.0
|
|
|
|
focus_mode = 0
|
|
|
|
enabled_focus_mode = 0
|
|
|
|
text = "Back"
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="ReloadButton2" type="Button" parent="Menu"]
|
|
|
|
margin_left = 73.0
|
|
|
|
margin_right = 161.0
|
|
|
|
margin_bottom = 39.0
|
|
|
|
focus_mode = 0
|
|
|
|
enabled_focus_mode = 0
|
|
|
|
text = "Reload"
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="CardsButton" type="Button" parent="Menu"]
|
|
|
|
visible = false
|
|
|
|
margin_left = 458.0
|
|
|
|
margin_right = 539.0
|
|
|
|
margin_bottom = 39.0
|
|
|
|
focus_mode = 0
|
|
|
|
enabled_focus_mode = 0
|
|
|
|
text = "Cards!"
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="Tip!" type="Button" parent="Menu"]
|
|
|
|
visible = false
|
|
|
|
margin_left = 169.0
|
|
|
|
margin_right = 225.0
|
|
|
|
margin_bottom = 39.0
|
|
|
|
focus_mode = 0
|
|
|
|
enabled_focus_mode = 0
|
|
|
|
text = "Tip!"
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
2021-02-11 10:46:20 +01:00
|
|
|
[node name="Button3" parent="Menu" instance=ExtResource( 11 )]
|
|
|
|
margin_left = 169.0
|
|
|
|
margin_top = 0.0
|
|
|
|
margin_right = 315.0
|
|
|
|
margin_bottom = 39.0
|
|
|
|
|
2021-01-21 15:08:59 +01:00
|
|
|
[node name="CLIBadge" parent="Menu" instance=ExtResource( 10 )]
|
|
|
|
anchor_right = 0.0
|
|
|
|
anchor_bottom = 0.0
|
2021-02-11 10:46:20 +01:00
|
|
|
margin_left = 323.0
|
|
|
|
margin_right = 368.0
|
2021-01-21 15:08:59 +01:00
|
|
|
margin_bottom = 39.0
|
|
|
|
|
|
|
|
[node name="NextLevelButton" type="Button" parent="Menu"]
|
2021-02-11 10:46:20 +01:00
|
|
|
margin_left = 376.0
|
|
|
|
margin_right = 493.0
|
2021-01-19 11:13:40 +01:00
|
|
|
margin_bottom = 39.0
|
|
|
|
focus_mode = 0
|
2021-01-21 15:08:59 +01:00
|
|
|
custom_styles/hover = SubResource( 2 )
|
2021-01-19 11:13:40 +01:00
|
|
|
custom_styles/normal = ExtResource( 4 )
|
|
|
|
enabled_focus_mode = 0
|
|
|
|
text = "Next level"
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
2021-01-08 13:54:37 +01:00
|
|
|
[connection signal="saved" from="Rows/Columns/RightSide/FileBrowser" to="." method="update_repos"]
|
2020-10-27 15:48:23 +01:00
|
|
|
[connection signal="command_done" from="Rows/Controls/Terminal" to="." method="update_repos"]
|
2021-01-19 11:13:40 +01:00
|
|
|
[connection signal="pressed" from="Menu/BackButton" to="." method="back"]
|
|
|
|
[connection signal="pressed" from="Menu/ReloadButton2" to="." method="reload_level"]
|
|
|
|
[connection signal="pressed" from="Menu/CardsButton" to="." method="toggle_cards"]
|
|
|
|
[connection signal="pressed" from="Menu/Tip!" to="." method="new_tip"]
|
|
|
|
[connection signal="pressed" from="Menu/NextLevelButton" to="." method="load_next_level"]
|