Skip to content

Commit

Permalink
Change target properties
Browse files Browse the repository at this point in the history
  • Loading branch information
Anonymous4045 committed Mar 20, 2024
1 parent 38316fb commit 95bbd82
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/pyweek37/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
LEFT_FACING = 1

BULLET_MOVE_FORCE = 4500
BULLET_MASS = 0.1
BULLET_MASS = 1000
BULLET_GRAVITY = 300

BALLOON_MASS = 0
BALLOON_MASS = 0.01
2 changes: 1 addition & 1 deletion src/pyweek37/sprites/target.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ def bullet_hit_handler(self, _bullet_sprite, _arbiter, _space, _data):
"""Called for bullet/target collision"""

self.remove_from_sprite_lists()
_bullet_sprite.remove_from_sprite_lists()
# _bullet_sprite.remove_from_sprite_lists()

0 comments on commit 95bbd82

Please sign in to comment.