Items can no longer bounc past the end of level. Slight modification to item bounce speed, may need more adjustments.

This commit is contained in:
Storm Dragon
2025-02-11 22:50:26 -05:00
parent 8530993fa9
commit c6adc193a1
4 changed files with 31 additions and 18 deletions

View File

@@ -175,7 +175,9 @@ class Enemy(Object):
self.yPos,
itemType,
self.sounds,
direction
direction,
self.level.leftBoundary,
self.level.rightBoundary
)
self.level.bouncing_items.append(droppedItem)