Hacker News new | past | comments | ask | show | jobs | submit login

When I was in high school I tried to write a star control clone and I had a devil of a time with rotating the ships.

The first method I used would write the rotated pixel array back to the array I hand coded with the rgb values for the ship. Error quickly crept in, and while you were rotating, the ship would gradually shrink to a single pixel. After that, I used 2 arrays and it looked ok and nobody complained, but I was never truly satisfied with the result. I'm glad to know I wasn't the only one bothered by poor quality pixel rotations.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: