game: add: padding to collision
This commit is contained in:
@ -18,7 +18,7 @@ class Ball:
|
||||
def reset(self) -> None:
|
||||
self.size = config.BALL_SIZE
|
||||
self.position = Point(config.BALL_SPAWN_POS_X + self.size / 2, config.BALL_SPAWN_POS_Y + self.size / 2)
|
||||
self.angle = math.pi * 1
|
||||
self.angle = math.pi * 0.3
|
||||
self.speed = config.BALL_SPEED_START
|
||||
|
||||
def to_dict(self) -> dict:
|
||||
|
Reference in New Issue
Block a user