Graphics bug: diagonal snake body parts in board rendering #242
Replies: 4 comments 5 replies
-
Beta Was this translation helpful? Give feedback.
-
Here's a proposed solution that simply draws the snake head on top of the body segment. It doesn't look great but it's certainly less awkward? Let me know what you think. One issue with this solution is that it's unclear exactly how the snake ran into itself -- you need the context of the previous frame 🤔 |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
@thomasweitzel I ended up deploying a variation of the shadow solution that looks like this: Relevant code is here if you're curious: This change is now deployed, as of Board 1.2.22 👍 |
Beta Was this translation helpful? Give feedback.
-
The snake's body parts are normally laid out in a rectangular fashion for the games displayed on the https://play.battlesnake.com website. But the display seems "messed up" in the ending screen, where body parts are rendered in a diagonal fashion. Doesn't look right.
Game where bug can be seen (ending position): https://play.battlesnake.com/game/d9494138-f8f8-4227-bf53-aae82670c0b5
Screenshot
Beta Was this translation helpful? Give feedback.
All reactions