upgraded fade

This commit is contained in:
Looki2000 2023-05-13 22:43:30 +02:00
parent ce0fd5d01b
commit b9d62d7fed

18
main.py
View File

@ -105,8 +105,6 @@ for pixel in pixels_target_pos:
# pygame init
pygame.init()
window = pygame.display.set_mode(window_size)
@ -114,22 +112,28 @@ clock = pygame.time.Clock()
############# another config stuff ##############
rot_zoom_delay = 6
rot_speed_increase = 0.2
zoom_speed_increase = 0.65
rot_speed = 0
zoom_speed = 0.04
fade_delay = 1.5
fade_speed = 255/1.5
fade_delay = 2.3
fade_speed = 255
angle = 0
zoom = 1
fade_val = 255
################################################
rot_speed = 0
angle = 0
can_rot = False