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:
@@ -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)
|
||||
|
||||
|
Reference in New Issue
Block a user