oh-my-git/main.tscn

229 lines
6.4 KiB
Text
Raw Normal View History

2020-10-14 00:57:30 +02:00
[gd_scene load_steps=10 format=2]
2020-01-29 20:25:13 +01:00
[ext_resource path="res://terminal.tscn" type="PackedScene" id=1]
2020-03-18 15:23:38 +01:00
[ext_resource path="res://main.gd" type="Script" id=2]
2020-10-14 00:57:30 +02:00
[ext_resource path="res://cards.tscn" type="PackedScene" id=3]
[ext_resource path="res://styles/alert_button.tres" type="StyleBox" id=4]
2020-09-24 10:10:14 +02:00
[ext_resource path="res://tcp_server.tscn" type="PackedScene" id=5]
[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-09-15 09:30:19 +02:00
[ext_resource path="res://test.gd" type="Script" id=9]
2020-09-01 21:25:24 +02:00
[sub_resource type="StyleBoxFlat" id=1]
content_margin_left = 10.0
content_margin_right = 10.0
content_margin_top = 5.0
content_margin_bottom = 5.0
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
[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
mouse_filter = 2
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"]
anchor_right = 1.0
anchor_bottom = 1.0
mouse_filter = 2
color = Color( 0.0705882, 0.0705882, 0.0705882, 1 )
__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="."]
anchor_right = 1.0
anchor_bottom = 1.0
mouse_filter = 2
2020-10-14 14:48:38 +02:00
size_flags_vertical = 3
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Columns" type="HSplitContainer" parent="Rows"]
2020-10-15 14:39:30 +02:00
margin_right = 1904.0
margin_bottom = 1064.0
2020-10-14 14:48:38 +02:00
mouse_filter = 2
size_flags_vertical = 3
__meta__ = {
"_edit_use_anchors_": false
}
2020-10-14 14:48:38 +02:00
[node name="Repositories" type="HBoxContainer" parent="Rows/Columns"]
2020-10-15 14:39:30 +02:00
margin_right = 1263.0
margin_bottom = 1064.0
2020-09-03 18:10:09 +02:00
mouse_filter = 2
size_flags_horizontal = 3
size_flags_stretch_ratio = 2.0
custom_constants/separation = 0
__meta__ = {
"_edit_use_anchors_": false
}
2020-10-14 14:48:38 +02:00
[node name="RightSide" type="VSplitContainer" parent="Rows/Columns"]
2020-10-15 14:39:30 +02:00
margin_left = 1275.0
margin_right = 1904.0
margin_bottom = 1064.0
size_flags_horizontal = 3
2020-10-14 14:48:38 +02:00
[node name="TopStuff" type="VBoxContainer" parent="Rows/Columns/RightSide"]
2020-10-15 14:39:30 +02:00
margin_right = 629.0
margin_bottom = 526.0
size_flags_vertical = 3
2020-10-14 14:48:38 +02:00
[node name="Menu" type="HBoxContainer" parent="Rows/Columns/RightSide/TopStuff"]
2020-10-15 14:39:30 +02:00
margin_right = 629.0
margin_bottom = 35.0
2020-10-14 14:48:38 +02:00
[node name="ChapterSelect" type="OptionButton" parent="Rows/Columns/RightSide/TopStuff/Menu"]
margin_right = 168.0
2020-09-28 18:40:41 +02:00
margin_bottom = 35.0
2020-09-29 14:28:41 +02:00
focus_mode = 0
enabled_focus_mode = 0
2020-09-28 18:40:41 +02:00
text = "Select chapter..."
2020-10-14 14:48:38 +02:00
[node name="LevelSelect" type="OptionButton" parent="Rows/Columns/RightSide/TopStuff/Menu"]
margin_left = 173.0
margin_right = 317.0
margin_bottom = 35.0
2020-09-29 14:28:41 +02:00
focus_mode = 0
enabled_focus_mode = 0
text = "Select level..."
2020-09-28 18:40:41 +02:00
expand_icon = true
2020-10-14 14:48:38 +02:00
[node name="ReloadButton" type="Button" parent="Rows/Columns/RightSide/TopStuff/Menu"]
margin_left = 322.0
margin_right = 401.0
margin_bottom = 35.0
focus_mode = 0
enabled_focus_mode = 0
text = "Reload"
__meta__ = {
"_edit_use_anchors_": false
}
2020-10-14 14:52:29 +02:00
[node name="CardsButton" type="Button" parent="Rows/Columns/RightSide/TopStuff/Menu"]
margin_left = 406.0
2020-10-14 14:52:29 +02:00
margin_right = 478.0
margin_bottom = 35.0
focus_mode = 0
enabled_focus_mode = 0
text = "Cards!"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="NextLevelButton" type="Button" parent="Rows/Columns/RightSide/TopStuff/Menu"]
margin_left = 483.0
margin_right = 593.0
margin_bottom = 35.0
focus_mode = 0
custom_styles/hover = SubResource( 1 )
custom_styles/normal = ExtResource( 4 )
enabled_focus_mode = 0
text = "Next Level"
__meta__ = {
"_edit_use_anchors_": false
}
2020-10-14 14:48:38 +02:00
[node name="LevelPanel" type="VBoxContainer" parent="Rows/Columns/RightSide/TopStuff"]
margin_top = 40.0
2020-10-15 14:39:30 +02:00
margin_right = 629.0
margin_bottom = 526.0
size_flags_vertical = 3
2020-10-14 14:48:38 +02:00
[node name="LevelName" type="RichTextLabel" parent="Rows/Columns/RightSide/TopStuff/LevelPanel"]
2020-10-15 14:39:30 +02:00
margin_right = 629.0
margin_bottom = 60.0
rect_min_size = Vector2( 0, 60 )
2020-09-14 19:29:51 +02:00
custom_fonts/normal_font = ExtResource( 7 )
text = "Level name here!"
__meta__ = {
"_edit_use_anchors_": false
}
2020-10-14 14:48:38 +02:00
[node name="Text" type="Control" parent="Rows/Columns/RightSide/TopStuff/LevelPanel"]
margin_top = 65.0
2020-10-15 14:39:30 +02:00
margin_right = 629.0
margin_bottom = 486.0
size_flags_vertical = 3
2020-10-14 14:48:38 +02:00
[node name="LevelDescription" type="RichTextLabel" parent="Rows/Columns/RightSide/TopStuff/LevelPanel/Text"]
anchor_right = 1.0
anchor_bottom = 1.0
size_flags_vertical = 3
bbcode_enabled = true
bbcode_text = "Level description here!"
text = "Level description here!"
__meta__ = {
"_edit_use_anchors_": false
}
2020-10-14 14:48:38 +02:00
[node name="LevelCongrats" type="RichTextLabel" parent="Rows/Columns/RightSide/TopStuff/LevelPanel/Text"]
visible = false
anchor_right = 1.0
anchor_bottom = 1.0
size_flags_vertical = 3
bbcode_enabled = true
bbcode_text = "Level description here!"
2020-09-18 11:15:09 +02:00
text = "Level description here!"
__meta__ = {
"_edit_use_anchors_": false
}
2020-10-14 14:48:38 +02:00
[node name="Terminal" parent="Rows/Columns/RightSide" instance=ExtResource( 1 )]
anchor_right = 0.0
anchor_bottom = 0.0
2020-10-15 14:39:30 +02:00
margin_top = 538.0
margin_right = 629.0
margin_bottom = 1064.0
2020-10-14 14:48:38 +02:00
size_flags_vertical = 3
[node name="Cards" parent="Rows" instance=ExtResource( 3 )]
2020-10-14 14:52:29 +02:00
visible = false
2020-09-21 15:40:42 +02:00
anchor_right = 0.0
anchor_bottom = 0.0
2020-10-14 14:48:38 +02:00
margin_top = 801.0
margin_right = 1920.0
margin_bottom = 1080.0
size_flags_vertical = 3
2020-10-14 14:48:38 +02:00
size_flags_stretch_ratio = 0.35
2020-09-15 09:30:19 +02:00
[node name="Test" type="Node2D" parent="."]
2020-09-22 19:43:02 +02:00
visible = false
2020-09-15 09:30:19 +02:00
script = ExtResource( 9 )
2020-09-24 10:10:14 +02:00
[node name="TCPServer" parent="Test" instance=ExtResource( 5 )]
2020-09-15 09:30:19 +02:00
[node name="LineEdit" type="LineEdit" parent="Test"]
margin_left = 720.526
margin_top = 691.052
margin_right = 1130.53
margin_bottom = 778.052
caret_blink = true
2020-09-15 09:30:19 +02:00
__meta__ = {
"_edit_use_anchors_": false
}
2020-10-14 14:48:38 +02:00
[connection signal="button_down" from="Rows/Columns/RightSide/TopStuff/Menu/ChapterSelect" to="." method="repopulate_chapters"]
[connection signal="button_down" from="Rows/Columns/RightSide/TopStuff/Menu/LevelSelect" to="." method="repopulate_levels"]
[connection signal="pressed" from="Rows/Columns/RightSide/TopStuff/Menu/ReloadButton" to="." method="reload_level"]
2020-10-14 14:52:29 +02:00
[connection signal="pressed" from="Rows/Columns/RightSide/TopStuff/Menu/CardsButton" to="." method="toggle_cards"]
2020-10-14 14:48:38 +02:00
[connection signal="pressed" from="Rows/Columns/RightSide/TopStuff/Menu/NextLevelButton" to="." method="load_next_level"]
[connection signal="command_done" from="Rows/Columns/RightSide/Terminal" to="." method="update_repos"]
2020-09-15 09:30:19 +02:00
[connection signal="text_entered" from="Test/LineEdit" to="Test" method="send"]