Skip to content

Fix enemy collision teleportation #30

Description

@nasearle

Enemies sometimes teleport to the side of an obstacle when colliding with the top of the obstacle. caused by the bottom of the enemy overlapping the top of the obstacle by one pixel, so that when the enemy moves to one side, a collision is detected in the x direction and the enemy is moved to the corresponding side

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions