-
Hi everyone, As you can see in the video, non moving sprites like the player and the HUD are displayed correctly. I'm sure I might be doing something wrong, but can't figure out what. Here's the code drawing the planets, it's called every tick. At first I thought it was maybe a bad idea to draw every frame, but as expected it changed nothing. Thanks a lot for you help, don't hesitate to ask if you need more info. blurry_planets.mp4Edit : here's a link to the game, it's actually hard to see it on video : https://darenn.itch.io/last-in-space |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 8 replies
-
How are you handling movement/speed/input, using timers or just adding some value to the camera position every tick/when input received? TBH it doesn't look too bad to me! |
Beta Was this translation helpful? Give feedback.
-
Yes, it looks fine to me also. I don't see any blurring. |
Beta Was this translation helpful? Give feedback.
-
You can literally step thru the video frame by frame, there is no blur. |
Beta Was this translation helpful? Give feedback.
-
Hey everyone, Closing! |
Beta Was this translation helpful? Give feedback.
Hey everyone,
Thanks again for your help.
I changed my camera to a smooth camera, and added to my player a "logic position" and "draw position".
The logic one is decimal, and used of speed and things. The draw one is integer and used to draw at the right position (rounding the logic position).
Playing around with the speed of the camera and player, I managed to get something where I don't get the visual effect anymore.
Seems like I was just big pixels too fast for our eyes.
Closing!