Skip to content
This repository was archived by the owner on Sep 15, 2024. It is now read-only.
This repository was archived by the owner on Sep 15, 2024. It is now read-only.

Optimizing Coin.cs #120

@valkyrienyanko

Description

@valkyrienyanko

Checking if (!_movingToPlayer || _jumpingOutOfChest) and if (!_jumpingOutOfChest) every frame of _PhysicsProcess seems unnecessary. There is most likely a more optimized approach to this.

https://github.com/GodotModules/GodotModulesCSharp/blob/52b34211535f49e611032aecfc38a19ae96d8eb6/Scripts/Game/Coin.cs#L17-L63

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is neededlow priorityThis issue is not that important.oldThis issue hasnt been touched in a whilequestionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions