Add high scores level with specific settings, new resources for images and textures, update project configuration to include HighScoreMgr, and define style boxes for game theme.
This commit is contained in:
parent
3eaa959910
commit
115b4b0a69
22 changed files with 821 additions and 12 deletions
|
|
@ -1,10 +1,7 @@
|
|||
[gd_scene load_steps=3 format=3 uid="uid://cwutwy11pityw"]
|
||||
[gd_scene load_steps=2 format=3 uid="uid://cwutwy11pityw"]
|
||||
|
||||
[ext_resource type="Script" path="res://ui/scripts/level_complete_component.gd" id="1_qpygu"]
|
||||
|
||||
[sub_resource type="LabelSettings" id="LabelSettings_phhcy"]
|
||||
font_size = 32
|
||||
|
||||
[node name="LevelCompleteComponent" type="Control"]
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
|
|
@ -42,24 +39,27 @@ layout_mode = 2
|
|||
|
||||
[node name="HappyBees" type="Label" parent="MarginContainer/CenterContainer/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_colors/font_color = Color(0.819608, 0.454902, 0.254902, 1)
|
||||
theme_override_font_sizes/font_size = 30
|
||||
text = "The Bees Are Happy!"
|
||||
label_settings = SubResource("LabelSettings_phhcy")
|
||||
|
||||
[node name="TimeSpent" type="Label" parent="MarginContainer/CenterContainer/VBoxContainer"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 20
|
||||
text = "Time Spent: "
|
||||
|
||||
[node name="DronesUsed" type="Label" parent="MarginContainer/CenterContainer/VBoxContainer"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 20
|
||||
text = "Drones Used:"
|
||||
|
||||
[node name="TotalPoints" type="Label" parent="MarginContainer/CenterContainer/VBoxContainer"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 4
|
||||
theme_override_font_sizes/font_size = 18
|
||||
theme_override_font_sizes/font_size = 24
|
||||
text = "Total Points: "
|
||||
|
||||
[node name="MarginContainer" type="MarginContainer" parent="MarginContainer/CenterContainer/VBoxContainer"]
|
||||
|
|
|
|||
|
|
@ -90,6 +90,7 @@ unique_name_in_owner = true
|
|||
layout_mode = 2
|
||||
size_flags_horizontal = 4
|
||||
size_flags_vertical = 0
|
||||
theme_override_colors/font_color = Color(1, 1, 1, 1)
|
||||
theme_override_font_sizes/font_size = 20
|
||||
text = "00:00:00"
|
||||
|
||||
|
|
@ -101,11 +102,13 @@ mouse_filter = 2
|
|||
[node name="Help_Drone_Placement_Cancel" type="Label" parent="MarginContainer/MarginContainer/HelpTextContainer"]
|
||||
visible = false
|
||||
layout_mode = 2
|
||||
theme_override_colors/font_color = Color(1, 1, 1, 1)
|
||||
text = "Right click to cancel placing a drone"
|
||||
|
||||
[node name="Help_Drone_Placement_Dancer" type="Label" parent="MarginContainer/MarginContainer/HelpTextContainer"]
|
||||
visible = false
|
||||
layout_mode = 2
|
||||
theme_override_colors/font_color = Color(1, 1, 1, 1)
|
||||
text = "Place a dancing drone within range of
|
||||
the hive to tempt bees out. Your time
|
||||
starts when you place a dancer drone."
|
||||
|
|
@ -113,6 +116,7 @@ starts when you place a dancer drone."
|
|||
[node name="Help_Drone_Placement_Collector" type="Label" parent="MarginContainer/MarginContainer/HelpTextContainer"]
|
||||
visible = false
|
||||
layout_mode = 2
|
||||
theme_override_colors/font_color = Color(1, 1, 1, 1)
|
||||
text = "Place a collector drone within range
|
||||
of a flower patch to tell the bees
|
||||
where they need to go to gather pollen."
|
||||
|
|
@ -120,6 +124,7 @@ where they need to go to gather pollen."
|
|||
[node name="Help_Drone_Placement_Director" type="Label" parent="MarginContainer/MarginContainer/HelpTextContainer"]
|
||||
visible = false
|
||||
layout_mode = 2
|
||||
theme_override_colors/font_color = Color(1, 1, 1, 1)
|
||||
text = "Use the Director drones to guide bees
|
||||
around obstacles. Bees fly in straight(ish)
|
||||
lines between hive, directors, and collectors."
|
||||
|
|
@ -127,6 +132,7 @@ lines between hive, directors, and collectors."
|
|||
[node name="Help_Drone_Placement_Distractor" type="Label" parent="MarginContainer/MarginContainer/HelpTextContainer"]
|
||||
visible = false
|
||||
layout_mode = 2
|
||||
theme_override_colors/font_color = Color(1, 1, 1, 1)
|
||||
text = "Use a distractor drone to try and divert a
|
||||
threats attention away from the bees."
|
||||
|
||||
|
|
@ -135,6 +141,7 @@ unique_name_in_owner = true
|
|||
layout_mode = 2
|
||||
size_flags_horizontal = 0
|
||||
size_flags_vertical = 8
|
||||
theme_override_colors/font_color = Color(1, 1, 1, 1)
|
||||
text = "Level: 1"
|
||||
|
||||
[node name="ParText" type="Label" parent="MarginContainer"]
|
||||
|
|
@ -144,4 +151,5 @@ size_flags_horizontal = 8
|
|||
size_flags_vertical = 8
|
||||
tooltip_text = "Par is the number of drones it should take you to complete this level"
|
||||
mouse_filter = 1
|
||||
theme_override_colors/font_color = Color(1, 1, 1, 1)
|
||||
text = "Par: 2"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue