SFML community forums
Help => Graphics => Topic started by: Lunoo3204 on February 20, 2024, 07:41:58 pm
-
Hello. I am making a game that is originally 640x480, but you can turn on the fullscreen.
The fullscreen isn't a regular fullscreen built in the system. It simply closes the window and then creates a new one, without a bar, streching 640x480 so it fits the desktop resolution (viewport). It looks fancy.
The problem is that when I move my character on the y axis (therefore causing the view to move, following my character), all that is a texture that regularly (without fullscreen) seems to be fitting perfectly begins to flicker. Look at the attatchment, it's difficult to describe without getting into the details.
Note that this does not happen when the application is run in original resolution
How can I fix this? All the sprites' positions are integers. I'd be glad for any help!!
-
I don't really see a flicker, or do you mean that the character vanishes?
Is the whole thing intentionally very faded/barely visible?
-
Yes it is. It's a kind of foggy effect.
And by flickering I mean this... that little line that appears, as if the texture didn't stick with the black texture, revealing what is under the texture. Look at the attatchment. The second one is how it SHOULD look like. But this flickering effect happens only when I move (as shown previously in the video).