Added wheel margin
This commit is contained in:
2
game.py
2
game.py
@ -63,7 +63,7 @@ class Game(gameUtils.Game):
|
|||||||
# Don't remove this. It does important things. :3
|
# Don't remove this. It does important things. :3
|
||||||
super().__init__(*args, **kwargs)
|
super().__init__(*args, **kwargs)
|
||||||
|
|
||||||
self.wheelSurf = pygame.Surface([min(self.size)]*2) # Don't ask.
|
self.wheelSurf = pygame.Surface([min(self.size)-100]*2) # Don't ask.
|
||||||
self.wheelRotation = 0
|
self.wheelRotation = 0
|
||||||
# How long (in seconds) it takes for the wheel to get to full speed
|
# How long (in seconds) it takes for the wheel to get to full speed
|
||||||
self.WHEEL_SPIN_FADE_IN = 0.25
|
self.WHEEL_SPIN_FADE_IN = 0.25
|
||||||
|
|||||||
Reference in New Issue
Block a user