This website requires JavaScript.
Explore
Help
Sign In
itdominator
/
Billiards
Watch
1
Star
0
Fork
0
You've already forked Billiards
Code
Issues
Pull Requests
Actions
Packages
Projects
Releases
Wiki
Activity
Files
develop
Billiards
/
controllers
/
game
/
modes
/
9_ball.gd
6 lines
91 B
GDScript3
Raw
Permalink
Normal View
History
Unescape
Escape
`major refactor(game-modes): centralize scoring and turn handling` * Move common ball recording, scoring, and turn-switching logic into `BaseMode` * Add hooks for mode-specific ball handling and turn behavior * Simplify 8-ball and 9-ball modes to use `LastBallMode` * Update Snooker to use the new ball-processing hooks * Remove duplicated scoring and turn-management code
2026-08-13 00:16:09 -05:00
class_name
Ball9
extends
LastBallMode
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
2026-08-10 21:22:52 -05:00
`major refactor(game-modes): centralize scoring and turn handling` * Move common ball recording, scoring, and turn-switching logic into `BaseMode` * Add hooks for mode-specific ball handling and turn behavior * Simplify 8-ball and 9-ball modes to use `LastBallMode` * Update Snooker to use the new ball-processing hooks * Remove duplicated scoring and turn-management code
2026-08-13 00:16:09 -05:00
func
_init
(
)
-
>
void
:
final_ball_name
=
"
09_ball
"
Reference in New Issue
Copy Permalink