Hacker News Viewer

Our 2D game character grew 3% taller every time he walked

by parisidau on 5/25/2026, 7:07:04 AM

https://hey.paris/posts/leo-sprite-alignment/

Comments

by: rbanffy

Wouldn’t it make sense to calculate the character box when bundling the assets rather than at runtime?

5/28/2026, 7:28:13 AM


by: raincole

I honestly don't get why someone would write a blog post for such a simple problem. It's fizzbuzz level. I thought the author might be an artist who knows very little about programming and is just learning, but according the about page they have PhD and has published 20 programming books...?

5/28/2026, 7:26:37 AM


by: nnevatie

Reads like something that came out of an LLM.

5/28/2026, 7:15:39 AM


by: pwdisswordfishq

Disappointed that this is not about <a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=P8bQ2yxyotw" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=P8bQ2yxyotw</a>

5/28/2026, 7:05:57 AM


by: jay_kyburz

This is not normal. Artists can and do work in a fixed size sprite sheet for so many reasons.

5/28/2026, 7:04:41 AM