feat(game): add free ball mode and improve ball state handling
* add Free Ball game mode and lobby selection * refactor base mode ball state tracking for reaped/sunk balls * add player ownership tracking and colored-ball support * add initial 9-ball mode implementation * update 8-ball and snooker modes to use base ball handling * replicate ball linear velocity for multiplayer synchronization * improve ball collision sound propagation and physics settings * reenable game music and initialize game signals * improve lobby input focus and mode selection behavior * adjust cue impulse origin and default game mode
This commit is contained in:
@@ -23,7 +23,7 @@ func _on_body_entered(body: Node) -> void:
|
||||
|
||||
body.apply_impulse(
|
||||
impulse,
|
||||
global_position - body.global_position
|
||||
body.global_position - $shape.global_position
|
||||
)
|
||||
|
||||
#body.apply_central_impulse(impulse)
|
||||
|
||||
Reference in New Issue
Block a user