feat: Implement player movement manager with grid-based movement, rotation, and advanced 'SUPER PUSH' mechanics.
This commit is contained in:
@@ -151,7 +151,12 @@ func try_push(target_pos: Vector2i, direction: Vector2i) -> bool:
|
||||
if main:
|
||||
var gcm = main.get_node_or_null("GoalsCycleManager")
|
||||
if gcm:
|
||||
gcm.rpc("request_add_score", 200)
|
||||
if multiplayer.is_server():
|
||||
# Server/Bot: Directly add score to specific player ID
|
||||
gcm.add_score(player.name.to_int(), 200)
|
||||
else:
|
||||
# Client: Request score add (sender ID used)
|
||||
gcm.rpc("request_add_score", 200)
|
||||
NotificationManager.send_message(player, "Successful Attack! +200 Pts", NotificationManager.MessageType.GOAL)
|
||||
|
||||
# 5. Attack Mode Persistence
|
||||
|
||||
Reference in New Issue
Block a user