Changes the obstacle generation system.

More random, less level design needed.
This commit is contained in:
William Hubbard
2023-02-05 09:40:18 -07:00
parent e25a5dd9cc
commit 3c6e070716
2 changed files with 24 additions and 19 deletions

View File

@@ -109,7 +109,7 @@ class GameLoop(Room):
self.player.update_phys(self.current_depth, prev_depth)
# Generate new entities as needed
self.entities |= update_entities(self.current_obstacle_slice, self.current_depth, prev_depth)
self.entities |= update_entities(self.entities, 5, self.current_depth, prev_depth)
# Updates the entities
to_remove = set()