From ace8b97fba8a9e4b17517e5ac71958dbe21b6ba8 Mon Sep 17 00:00:00 2001 From: Xavier Del Campo Romero Date: Wed, 18 Nov 2026 01:29:47 +0100 Subject: Only add 1 point if non-null killer + potential draw Previously, adding 5 points to the cat killer unbalanced the game way too much, making the initial box stacking mechanic almost useless. --- game-over.gd | 14 ++++++++------ game-over.tscn | 4 ++-- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/game-over.gd b/game-over.gd index 6789c67..45240d0 100644 --- a/game-over.gd +++ b/game-over.gd @@ -11,14 +11,16 @@ signal go_back func set_winner(green_points, pink_points, killer_team): var bp = green_points var pp = pink_points + var bonus = 1 if killer_team != null: - if killer_team == team.Team.GREEN: - bp += 5 - $CanvasLayer/extra_bp.visible = true - elif killer_team == team.Team.PINK: - pp += 5 - $CanvasLayer/extra_pp.visible = true + if bp == pp: + if killer_team == team.Team.GREEN: + bp += 1 + $CanvasLayer/extra_bp.visible = true + elif killer_team == team.Team.PINK: + pp += 1 + $CanvasLayer/extra_pp.visible = true $win.play() diff --git a/game-over.tscn b/game-over.tscn index 2468fa0..4891c4f 100644 --- a/game-over.tscn +++ b/game-over.tscn @@ -69,7 +69,7 @@ margin_right = 40.0 margin_bottom = 14.0 custom_colors/font_color = Color( 0.219608, 0.72549, 0.407843, 1 ) custom_fonts/font = SubResource( 4 ) -text = "+5 points!" +text = "+1 point!" [node name="extra_pp" type="Label" parent="CanvasLayer"] visible = false @@ -81,7 +81,7 @@ margin_right = 40.0 margin_bottom = 14.0 custom_colors/font_color = Color( 0.219608, 0.72549, 0.407843, 1 ) custom_fonts/font = SubResource( 4 ) -text = "+5 points!" +text = "+1 point!" [node name="c" type="CenterContainer" parent="CanvasLayer"] anchor_left = 0.5 -- cgit v1.2.3