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

@FPErfvv

Description

@FPErfvv

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.

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