Need help removing the artifact between sprites when the window is resized
Hi,
Just for fun, I started playing with Bevy in an attempt to rewrite one of my childhood favorite games "Road Fighter". Here the project: https://github.com/ufoscout/road_fighter
I have been stuck for a long time with a rendering issue that happens when I resize the screen. For example, with the original size, everything looks as expected:
but if I resize the window, then lots of artefacts appear between the sprites:
As I have exactly zero experience with game programming, Bevy or graphics in general, I am not even able to understand if the issue is linked to how I manage the sprites or how the Bevy camera is configured or anything else.
I would genuinely accept any advice or criticism. This is a hobby project that would probably never be completed, but I am curious to know what I am doing wrong and what the correct approach should be.
I know I could hardcode a larger screen size by simply multiplying everything by a fixed factor, but I would really like to resize the window freely.