ITADN

Fix sprite alignment to grid coordinates to be more balanced

#23Closedmpwoz 创建于 2024-07-22
M
mpwozcommented
There's an annoying issue where the left-bottom corner of the sprite is considered its origin. So when you move left, all you need to do is dip a toe in the next square and you're considered part of that grid coord. If you move right you need your entire sprite to move over before you're considered a part of that coord. Ideally it'd be more like 50% of your sprite needs to be in a square in order to be considered in it. ![Peek 2024-07-21 23-30](https://github.com/user-attachments/assets/88a10829-e4d0-40dd-bef9-3954d22080a9) _Originally posted by @mpwoz in https://github.com/4D4XFUN/bevy-jam-5/issues/22#issuecomment-2242202078_
关闭于 2024-07-22 0 条评论