goals now visible on every players, need to fix the pattern of goals generator

This commit is contained in:
2025-02-04 17:34:56 +08:00
parent 1c67557135
commit c578c3e97e
12 changed files with 1914 additions and 79 deletions
+5 -2
View File
@@ -78,7 +78,10 @@ func _ready():
if enhanced_gridmap:
current_position = find_valid_starting_position()
update_player_position(current_position)
append_random_goals()
# Remove this line as goals are now managed by the host
#append_random_goals()
playerboard.resize(25)
playerboard.fill(-1)
return
@@ -90,7 +93,7 @@ func _ready():
current_position = find_valid_starting_position()
update_player_position(current_position)
append_random_goals()
#append_random_goals()
playerboard.resize(25)
playerboard.fill(-1)