feat: update vfx
This commit is contained in:
@@ -1025,6 +1025,14 @@ func _scatter_player_tiles(player_node: Node):
|
||||
# Notify the player
|
||||
SfxManager.rpc("play_rpc", "tile_scatter")
|
||||
NotificationManager.send_message(player_node, "Not in Safe Zone! Tiles scattered!", NotificationManager.MessageType.WARNING)
|
||||
|
||||
# Playerboard scatter VFX: one-shot, only on the affected player's own UI.
|
||||
# Routed through the player node (same pattern as play_scatter_knock) because
|
||||
# the player-node name is not a valid network peer ID for rpc_id here.
|
||||
if can_rpc():
|
||||
player_node.rpc("play_playerboard_scatter")
|
||||
else:
|
||||
player_node.play_playerboard_scatter()
|
||||
|
||||
# Screen shake and animation
|
||||
if can_rpc():
|
||||
|
||||
Reference in New Issue
Block a user