Skip to content

change code to only update the hitboxes of the sprites in the list of sprites within a certain range of the main character.  #10

Description

@FErfvv

This will improve the performance of the game, as the calculations for the hitbox take a lot of processing power. When the game was ran with a few thousand game elements while updating their hitbox, it was very laggy. With the same number of cows but without updating their hitboxes it ran much faster.

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

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions