This commit is contained in:
Frank
2026-06-22 09:34:10 +08:00
parent 638aaf36b5
commit af719d3720

View File

@@ -148,6 +148,7 @@ def update():
# 上下墙壁反弹 # 上下墙壁反弹
if ball.top <= 0 or ball.bottom >= HEIGHT: if ball.top <= 0 or ball.bottom >= HEIGHT:
ball_speed_y *= -1 ball_speed_y *= -1
sounds.bump.set_volume(1.6)
sounds.bump.play() sounds.bump.play()
# 左球拍碰撞加分 # 左球拍碰撞加分