Split Color Game into digit and color modes with up to 16 pods.
Add menu entries for both variants, use eight high-contrast colors with allowed duplicates, and turn wrong-guess pods off after a red blink until the next round. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -115,6 +115,12 @@ theme_override_font_sizes/font_size = 140
|
||||
horizontal_alignment = 1
|
||||
text = "—"
|
||||
|
||||
[node name="TargetSwatch" type="ColorRect" parent="UiLayer/Center"]
|
||||
custom_minimum_size = Vector2(220, 220)
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 4
|
||||
color = Color(0.2, 0.22, 0.28, 1)
|
||||
|
||||
[node name="TimerLabel" type="Label" parent="UiLayer/Center"]
|
||||
layout_mode = 2
|
||||
theme_override_colors/font_color = Color(1, 0.88, 0.4, 1)
|
||||
|
||||
+12
-5
@@ -29,12 +29,12 @@ anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 0.5
|
||||
offset_left = -180.0
|
||||
offset_top = -280.0
|
||||
offset_top = -320.0
|
||||
offset_right = 180.0
|
||||
offset_bottom = 280.0
|
||||
offset_bottom = 320.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
theme_override_constants/separation = 16
|
||||
theme_override_constants/separation = 14
|
||||
alignment = 1
|
||||
|
||||
[node name="Title" type="Label" parent="CenterBox"]
|
||||
@@ -76,12 +76,19 @@ size_flags_horizontal = 4
|
||||
theme_override_font_sizes/font_size = 18
|
||||
text = "Pong"
|
||||
|
||||
[node name="ColorGameButton" type="Button" parent="CenterBox"]
|
||||
[node name="DigitsGameButton" type="Button" parent="CenterBox"]
|
||||
custom_minimum_size = Vector2(280, 48)
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 4
|
||||
theme_override_font_sizes/font_size = 18
|
||||
text = "Color Game"
|
||||
text = "Zahlen-Spiel"
|
||||
|
||||
[node name="ColorsGameButton" type="Button" parent="CenterBox"]
|
||||
custom_minimum_size = Vector2(280, 48)
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 4
|
||||
theme_override_font_sizes/font_size = 18
|
||||
text = "Farben-Spiel"
|
||||
|
||||
[node name="SpaceShooterButton" type="Button" parent="CenterBox"]
|
||||
custom_minimum_size = Vector2(280, 48)
|
||||
|
||||
Reference in New Issue
Block a user