-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'programming' into main
- Loading branch information
Showing
22 changed files
with
12,065 additions
and
111 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
[gd_scene load_steps=2 format=3 uid="uid://1yjtudp4xvsi"] | ||
|
||
[ext_resource type="Script" path="res://scripts/game/ui/CountdownPanel.gd" id="1_x00dc"] | ||
|
||
[node name="COUNTDOWN_PANEL" type="Panel"] | ||
anchors_preset = 8 | ||
anchor_left = 0.5 | ||
anchor_top = 0.5 | ||
anchor_right = 0.5 | ||
anchor_bottom = 0.5 | ||
offset_left = -50.0 | ||
offset_top = -50.0 | ||
offset_right = 50.0 | ||
offset_bottom = 50.0 | ||
grow_horizontal = 2 | ||
grow_vertical = 2 | ||
script = ExtResource("1_x00dc") | ||
|
||
[node name="timer" type="Timer" parent="."] | ||
one_shot = true | ||
|
||
[node name="MarginContainer" type="MarginContainer" parent="."] | ||
layout_mode = 1 | ||
anchors_preset = 15 | ||
anchor_right = 1.0 | ||
anchor_bottom = 1.0 | ||
grow_horizontal = 2 | ||
grow_vertical = 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="NUMBER_LABEL" type="Label" parent="MarginContainer"] | ||
unique_name_in_owner = true | ||
layout_mode = 2 | ||
size_flags_vertical = 1 | ||
theme_override_font_sizes/font_size = 72 | ||
text = "3" | ||
horizontal_alignment = 1 | ||
vertical_alignment = 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,94 @@ | ||
[gd_scene load_steps=4 format=3 uid="uid://1foa2euwwg63"] | ||
|
||
[ext_resource type="Script" path="res://scripts/game/ui/NewGamePanel.gd" id="1_2j5o4"] | ||
[ext_resource type="Script" path="res://scripts/game/ui/FocusAwareSpinbox.gd" id="2_dap12"] | ||
[ext_resource type="Script" path="res://scripts/game/ui/FocusAwareControl.gd" id="3_hv201"] | ||
|
||
[node name="NewGamePanel" type="Panel"] | ||
custom_minimum_size = Vector2(300, 200) | ||
anchors_preset = 8 | ||
anchor_left = 0.5 | ||
anchor_top = 0.5 | ||
anchor_right = 0.5 | ||
anchor_bottom = 0.5 | ||
grow_horizontal = 2 | ||
grow_vertical = 2 | ||
script = ExtResource("1_2j5o4") | ||
|
||
[node name="Margins" type="MarginContainer" parent="."] | ||
layout_mode = 1 | ||
anchors_preset = 15 | ||
anchor_right = 1.0 | ||
anchor_bottom = 1.0 | ||
grow_horizontal = 2 | ||
grow_vertical = 2 | ||
size_flags_vertical = 3 | ||
theme_override_constants/margin_left = 15 | ||
theme_override_constants/margin_top = 5 | ||
theme_override_constants/margin_right = 15 | ||
theme_override_constants/margin_bottom = 15 | ||
|
||
[node name="TitleStack" type="VBoxContainer" parent="Margins"] | ||
layout_mode = 2 | ||
theme_override_constants/separation = 10 | ||
|
||
[node name="Title" type="Label" parent="Margins/TitleStack"] | ||
layout_mode = 2 | ||
size_flags_vertical = 1 | ||
theme_override_font_sizes/font_size = 32 | ||
text = "NEW GAME" | ||
horizontal_alignment = 1 | ||
vertical_alignment = 1 | ||
|
||
[node name="OptionsStack" type="VBoxContainer" parent="Margins/TitleStack"] | ||
layout_mode = 2 | ||
theme_override_constants/separation = 15 | ||
|
||
[node name="DestinationCount" type="HBoxContainer" parent="Margins/TitleStack/OptionsStack"] | ||
layout_mode = 2 | ||
size_flags_vertical = 3 | ||
theme_override_constants/separation = 15 | ||
|
||
[node name="Label" type="Label" parent="Margins/TitleStack/OptionsStack/DestinationCount"] | ||
layout_mode = 2 | ||
size_flags_horizontal = 3 | ||
text = "Destination Count" | ||
horizontal_alignment = 1 | ||
vertical_alignment = 1 | ||
|
||
[node name="DEST_COUNT_SPINBOX" type="SpinBox" parent="Margins/TitleStack/OptionsStack/DestinationCount"] | ||
unique_name_in_owner = true | ||
layout_mode = 2 | ||
min_value = 1.0 | ||
max_value = 10.0 | ||
value = 5.0 | ||
script = ExtResource("2_dap12") | ||
|
||
[node name="Seed" type="HBoxContainer" parent="Margins/TitleStack/OptionsStack"] | ||
layout_mode = 2 | ||
size_flags_vertical = 3 | ||
theme_override_constants/separation = 15 | ||
|
||
[node name="Label" type="Label" parent="Margins/TitleStack/OptionsStack/Seed"] | ||
layout_mode = 2 | ||
size_flags_horizontal = 3 | ||
text = "Seed" | ||
horizontal_alignment = 1 | ||
vertical_alignment = 1 | ||
|
||
[node name="SEED_LINEEDIT" type="LineEdit" parent="Margins/TitleStack/OptionsStack/Seed"] | ||
unique_name_in_owner = true | ||
layout_mode = 2 | ||
size_flags_horizontal = 3 | ||
script = ExtResource("3_hv201") | ||
|
||
[node name="Start" type="HBoxContainer" parent="Margins/TitleStack/OptionsStack"] | ||
layout_mode = 2 | ||
size_flags_vertical = 3 | ||
theme_override_constants/separation = 15 | ||
|
||
[node name="START_BUTTON" type="Button" parent="Margins/TitleStack/OptionsStack/Start"] | ||
unique_name_in_owner = true | ||
layout_mode = 2 | ||
size_flags_horizontal = 3 | ||
text = "START" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
[gd_scene load_steps=4 format=3 uid="uid://conhwwg6txvy"] | ||
|
||
[ext_resource type="PackedScene" uid="uid://1foa2euwwg63" path="res://scenes/game/ui/NewGamePanel.tscn" id="1_0u5ot"] | ||
[ext_resource type="Script" path="res://scripts/game/ui/UI.gd" id="1_2wjvs"] | ||
[ext_resource type="PackedScene" uid="uid://1yjtudp4xvsi" path="res://scenes/game/ui/CountdownPanel.tscn" id="2_2cmfg"] | ||
|
||
[node name="UI" type="Control"] | ||
layout_mode = 3 | ||
anchors_preset = 15 | ||
anchor_right = 1.0 | ||
anchor_bottom = 1.0 | ||
grow_horizontal = 2 | ||
grow_vertical = 2 | ||
script = ExtResource("1_2wjvs") | ||
|
||
[node name="NEW_GAME_PANEL" parent="." instance=ExtResource("1_0u5ot")] | ||
unique_name_in_owner = true | ||
layout_mode = 1 | ||
offset_left = -150.0 | ||
offset_top = -100.0 | ||
offset_right = 150.0 | ||
offset_bottom = 100.0 | ||
|
||
[node name="COUNTDOWN_PANEL" parent="." instance=ExtResource("2_2cmfg")] | ||
unique_name_in_owner = true | ||
layout_mode = 1 | ||
offset_top = -354.0 | ||
offset_bottom = -254.0 | ||
|
||
[node name="Control" type="MarginContainer" parent="."] | ||
layout_mode = 1 | ||
anchors_preset = 15 | ||
anchor_right = 1.0 | ||
anchor_bottom = 1.0 | ||
grow_horizontal = 2 | ||
grow_vertical = 2 | ||
mouse_filter = 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="Control" type="Control" parent="Control"] | ||
layout_mode = 2 | ||
mouse_filter = 2 | ||
|
||
[node name="Label3" type="Label" parent="Control/Control"] | ||
layout_mode = 1 | ||
anchors_preset = 3 | ||
anchor_left = 1.0 | ||
anchor_top = 1.0 | ||
anchor_right = 1.0 | ||
anchor_bottom = 1.0 | ||
offset_left = -313.0 | ||
offset_top = -26.0 | ||
grow_horizontal = 0 | ||
grow_vertical = 0 | ||
text = "(R)estart (E)xplore (N)ew Game" | ||
|
||
[node name="Label2" type="Label" parent="Control/Control"] | ||
layout_mode = 1 | ||
anchors_preset = 2 | ||
anchor_top = 1.0 | ||
anchor_bottom = 1.0 | ||
offset_top = -26.0 | ||
offset_right = 313.0 | ||
grow_vertical = 0 | ||
text = "(WASD) Move (SPACE) Jump (Q) Grapple (MOUSE2) Slide" | ||
|
||
[node name="PRACTICE_CONTROLS" type="Label" parent="Control/Control"] | ||
unique_name_in_owner = true | ||
visible = false | ||
layout_mode = 1 | ||
anchors_preset = 2 | ||
anchor_top = 1.0 | ||
anchor_bottom = 1.0 | ||
offset_top = -80.0 | ||
offset_right = 313.0 | ||
offset_bottom = -28.0 | ||
grow_vertical = 0 | ||
text = "(Z) Set Practice Position | ||
(X) Go to Practice Position" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.