diff --git a/arcade/physics_engines.py b/arcade/physics_engines.py index ff583a8e8..413afce3f 100644 --- a/arcade/physics_engines.py +++ b/arcade/physics_engines.py @@ -399,8 +399,6 @@ def update(self): # print(f"Spot B ({self.player_sprite.center_x}, {self.player_sprite.center_y})") - complete_hit_list = _move_sprite(self.player_sprite, self.walls + self.platforms, ramp_up=True) - for platform_list in self.platforms: for platform in platform_list: if platform.change_x != 0 or platform.change_y != 0: @@ -433,6 +431,8 @@ def update(self): platform.center_y += platform.change_y + complete_hit_list = _move_sprite(self.player_sprite, self.walls + self.platforms, ramp_up=True) + # print(f"Spot Z ({self.player_sprite.center_x}, {self.player_sprite.center_y})") # Return list of encountered sprites # end_time = time.time()