From feafdfbac2c2ed08fbe0ebae115e17df3f955fe8 Mon Sep 17 00:00:00 2001 From: William Hubbard <75867393+Markil3@users.noreply.github.com> Date: Sun, 5 Feb 2023 15:19:16 -0700 Subject: [PATCH] Implements scaling difficulty. Probably not balanced, but it is there. --- Throot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Throot.py b/Throot.py index 0878d8b..3f673e7 100644 --- a/Throot.py +++ b/Throot.py @@ -161,7 +161,7 @@ class GameLoop(Room): # Generate new entities as needed if abs(self.player.y) < abs(self.finish_depth): - self.entities |= update_entities(self.entities, 5, self.player.ysub, self.player.prev_y) + self.entities |= update_entities(self.entities, self.level, self.player.ysub, self.player.prev_y) else: self.entities.clear()