mirror of
https://github.com/n0remac/game-jam-2020.git
synced 2025-12-16 10:10:00 -06:00
Fix formatting on condition main:212
This commit is contained in:
@@ -209,9 +209,13 @@ class Game(arcade.Window):
|
|||||||
bullet.remove_from_sprite_lists()
|
bullet.remove_from_sprite_lists()
|
||||||
|
|
||||||
# If the bullet flies off-screen, remove it. TEMP change to range calc
|
# If the bullet flies off-screen, remove it. TEMP change to range calc
|
||||||
if (bullet.bottom < self.view_bottom or bullet.top > self.view_bottom+Config.SCREEN_HEIGHT
|
if (
|
||||||
or bullet.right > self.view_left+Config.SCREEN_WIDTH or bullet.left < self.view_left):
|
bullet.bottom < self.view_bottom or
|
||||||
bullet.remove_from_sprite_lists()
|
bullet.top > self.view_bottom+Config.SCREEN_HEIGHT or
|
||||||
|
bullet.right > self.view_left+Config.SCREEN_WIDTH or
|
||||||
|
bullet.left < self.view_left
|
||||||
|
):
|
||||||
|
bullet.remove_from_sprite_lists()
|
||||||
|
|
||||||
|
|
||||||
def main() -> None:
|
def main() -> None:
|
||||||
|
|||||||
Reference in New Issue
Block a user