fix backgrounds

This commit is contained in:
Anthony Samms
2025-11-20 09:38:47 -05:00
parent 3fa52c09d3
commit 0720f9d539
10 changed files with 82 additions and 80 deletions

View File

@@ -73,7 +73,7 @@ class BGNormal4(BGNormalBase):
def __init__(self, tex: TextureWrapper):
self.spawn_point = self.random_excluding_range(tex.screen_width)
duration = random.randint(1400, 2000)
self.move_x = Animation.create_move(duration, total_distance=random.randint(-300, 300))
self.move_x = Animation.create_move(duration, total_distance=random.randint(int(-300 * tex.screen_scale), int(300 * tex.screen_scale)))
self.move_y = Animation.create_move(duration, total_distance=tex.screen_height//2)
self.move_x.start()
self.move_y.start()