Increased suspense by 200%
This commit is contained in:
parent
27150a2cb7
commit
61ea1e1453
1 changed files with 2 additions and 1 deletions
3
wheel.py
3
wheel.py
|
@ -93,7 +93,8 @@ while running:
|
||||||
|
|
||||||
text_surface = bigfont.render(items[i], True, (r * 255, g * 255, b * 255))
|
text_surface = bigfont.render(items[i], True, (r * 255, g * 255, b * 255))
|
||||||
|
|
||||||
rotated_surface = pygame.transform.rotate(text_surface, spinny)
|
scaled_surface = pygame.transform.scale_by(text_surface, d_spin/2)
|
||||||
|
rotated_surface = pygame.transform.rotate(scaled_surface, spinny)
|
||||||
|
|
||||||
text_rect = rotated_surface.get_rect()
|
text_rect = rotated_surface.get_rect()
|
||||||
text_rect.center = (WIDTH / 2, HEIGHT / 2)
|
text_rect.center = (WIDTH / 2, HEIGHT / 2)
|
||||||
|
|
Loading…
Reference in a new issue