Hello I wonder what could be causing my background to flicker when I move my character & custom view.
I searched for some time and found two things
1)drawing sprites with float coordinates
2)Image may be too big for video card to handle easily
and I am now casting the coordinates to integers and I tried loading an image like 500*500 but I still have the same issue.
how does it flicker?
borders are like filling this way, take 10 pixels width, fill it from down to up then take 10 pixels more. while the "not yet filled" up parts stay black.
Sorry If I coulnd't explain it well:)
I can't take a screenshot because when I try to take, the game freezes for a moment and borders seem normal in screenshots.
And I don't know which part of my code to post since I have like 15 headers and I can't seem to guess what is causing this.
Thanks