Skip to content

Optimize collision detection #9

@drama-ostrich

Description

@drama-ostrich

We're double checking some sprite collisions. If we have sprite A and sprite B on a canvas, we are checking if A hit B, and then checking if B hit A. I tried deleting half of the loop but then some collisions stopped working. We should be able to delete half of the collision detection code and rephrase some of the conditions to still cover all sprite collision combinations.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions