feat: implement Stop N Go arena, animation system, and lobby manager features
This commit is contained in:
@@ -191,6 +191,12 @@ func spawn_boost_reward() -> bool:
|
||||
return false
|
||||
|
||||
if player.special_tiles_manager and player.special_tiles_manager.has_method("spawn_powerups_around"):
|
||||
# Trigger the synced floor spawn animation
|
||||
if player.has_method("rpc"):
|
||||
player.rpc("sync_floor_spawn_animation")
|
||||
elif player.has_method("play_floor_spawn"):
|
||||
player.play_floor_spawn()
|
||||
|
||||
# Spawn tiles (Stop N Go gets only common, Free Mode gets 60/40 ratio)
|
||||
player.special_tiles_manager.spawn_powerups_around(player.current_position, true, false, true)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user