Godot Version
4.4.dev7
Question
Hello I make this pong game and I made in asprite the wall sprite and this is how it looks when i run the game.
Can someone help me why it does like this?
4.4.dev7
Hello I make this pong game and I made in asprite the wall sprite and this is how it looks when i run the game.
Can someone help me why it does like this?
its maybe because of screen tearing or resolution.if the resolution of the screen isn’t round, than that can happen.if that’s not the case, then its maybe because of screen tearing.it desactivates the fps limit for better performance but can cause screen cuts and weird effects.to fix that go to the project settings and turn v-sync on
I verified and v-sync is on already and me resolution is 640x360 i guessed shouldn’t be a problem this.
maybe its its angle and position,i had such problems before and it was because of that.also pls show more information about it(screenshots)
I tried to move them around and now both are messed up. So is about position or maybe a glitch in this godot build?
Update: I flip them verticali and it works but when i reversed it goes back to being broken
both?that’s the problem!its position.try to move it to all posible ways.and if it didn’t work make its resolution to it’s screen size
I will try but you know why exactly i didn’t had this problem in other project and i used the same resolution?
can you pls send me the image file,i will try it by myself
Sure
i can’t download it,also the snap 2Dvertices and 2Dtransforms to pixel as matheusmdx said
Imgur: The magic of the Internet see if it works this way
yes thank you both works it matter what i choose? Also, is because of the image itself that this happened?
it worked perfectly with me.and its because of the screen and it wasn’t snaped to pixel so the screen couldn’t show it correctly.
You choice what shows the better result, some situations one works better than the other, if both works, you can keep the first one.
That happens when your have too thin lines and the image position is between the pixels to be drawn, so end being impossible to draw because the image is out of the pixels position in the monitor.
Good to know thank you!
I understand thank you so much!
np also thanks to matheusmdx for giving us right answers the hole time i really appreciate his work