News for hackers. Stuff that matters.
Re:Show HN: Coderegon Trail – A retro game to help you explo... by dtran on Thursday April 09, 2026 @05:59PM (#47710779)
Thanks for trying it, and keen eye! Fixing (with Claude code) but also taking time to try to learn a bit about the canvas drawing/pixel art, which I'm not super familiar with.
Re:Show HN: Coderegon Trail – A retro game to help you explo... by vunderba on Thursday April 09, 2026 @06:09PM (#47710893)
Sure! If you’re just drawing things directly polygons, lines, and other primitive shapes, then you can usually get away with just turning off anti-aliasing, and that will fix most visual artifacts and get you closer to that classic Apple II Oregon Trail look.

However, if you’re using pre-rendered sprite sheets, you’ll probably need to enforce integer scaling to avoid fringing or blurring.