Closed ForNeVeR closed 1 year ago
Currently, the player position we get from the game engine marks the coordinate of the top left corner of the sprite.
While it's possible to make game with that, let's consider using the center of the sprite instead, and making that the rule for all the others.
This opens the question of how to track positions of oddly-shaped sprites, though.
Anyway, figure it out and eliminate TODO[#121].
TODO[#121]
I've considered this and decided against it. We'll have proper corner coordinates on sprites, e.g. TopLeft or TopForward (for player).
TopLeft
TopForward
Currently, the player position we get from the game engine marks the coordinate of the top left corner of the sprite.
While it's possible to make game with that, let's consider using the center of the sprite instead, and making that the rule for all the others.
This opens the question of how to track positions of oddly-shaped sprites, though.
Anyway, figure it out and eliminate
TODO[#121]
.