From b9d62d7feda4dd4f25206fe530df54c19ed99010 Mon Sep 17 00:00:00 2001 From: Looki2000 Date: Sat, 13 May 2023 22:43:30 +0200 Subject: [PATCH] upgraded fade --- main.py | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/main.py b/main.py index 129370d..ce0ca46 100644 --- a/main.py +++ b/main.py @@ -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