I’m making a top-down 2D game. I have a flaw involving free movements of the sprites in the map. When they move at a velocity that’s not a multiple of 1 pixel/frame I see them flickering, especially when they have certain pixel pattern (like thin black outlines around). For example for this sprite I get the following effect (sorry for the bad video quality): Demo video That’s due to different sampling and approximation of the underlying texture between different frames. The problem is quite easily solved when the sprites move vertically, horizontally or diagonally, because I can approximate their velocity to a multiple of 1 pixel/frame. But when they do a curvilinear movement or also a linear movement on an arbitrary direction (different from the aforementioned ones) I can’t use the same technique, because I’d get a jagged movement, even uglier than the flickering. I use a (bi)linear filter to sample the texture and I have MSAA activated, but the problem is still there. It’s less noticeable at 4K, but a lot more at lower resolutions. Do I have to live with this problem or is there any technique I can use to get rid of it?
- The 11 Best Pixel Art Tools to Create Pixel Perfect Artwork
- Shadows of Thought
- This is what it’s like to be struck by lightning
- Can You Hear What You See? More So Than You Imagine
- Acer XB270HU review
- Opposition readies 2-way strategy to counter CAB in Rajya Sabha
- The Internet Archive has uploaded 60 classic handheld LCD games for free
- 12 Raspberry Pi Christmas Projects You Can Make in a Day
- So, what happened with Pokémon Stars?
- In Hindsight
Sprite flickering during curvilinear motion have 288 words, post on gamedev.stackexchange.com at September 21, 2019. This is cached page on GameMax. If you want remove this page, please contact us.