News for hackers. Stuff that matters.
Re:In-browser retro-futuristic tank game, open source by pierrec on Sunday August 07, 2022 @05:55PM (#32380287)
That was fun. I love how the AI is both very simple but also creates interesting group movements (especially in "zombie modes"). Cosmetic enhancement: the ground plane looks really blurry half-way to the horizon. I can even see it in the README screenshot :D Looks to me like a textbook use case for anisotropic filtering, which should be a simple setting in the library you're using: https://en.wikipedia.org/wiki/Anisotropic_filtering

Or if you're feeling hardcore, write a shader for the ground plane: https://iquilezles.org/articles/filterableprocedurals

Re:In-browser retro-futuristic tank game, open source by brianrisk on Monday August 08, 2022 @08:55AM (#32384848)
What a pro tip! This was an easy change; I've pushed it to the repo and will be out with the next release I put out later today. Any other suggestions you have I'd love to hear. (Incidentally; I set the anisotropy to 8 for that texture -- I liked some of the blur produced as it gives it a nice neon effect)