neutro
Member
Hello.
I'm currently working on a ice level, with parallax layers. The problem is that the "Bg_Mountains" adjusts one pixel to the right whenever player and camera stops moving right. And adjusts one pixel left if player moves left and stops. It doesn't look good in my opinion. Anyone got some thoughts on this problem? Do I have to upscale the whole project to "hide" this(it doesn't go away I know) or is there any other way?
Code in oCamera step event:
The game is in 320x180 resolution.
Thankful for some suggestions!
I'm currently working on a ice level, with parallax layers. The problem is that the "Bg_Mountains" adjusts one pixel to the right whenever player and camera stops moving right. And adjusts one pixel left if player moves left and stops. It doesn't look good in my opinion. Anyone got some thoughts on this problem? Do I have to upscale the whole project to "hide" this(it doesn't go away I know) or is there any other way?
Code in oCamera step event:
GML:
var mountains = layer_get_id("Bg_Mountains");
layer_x(mountains, lerp(0, camera_get_view_x(view_camera[0]), 0.90 ) );
Thankful for some suggestions!
Last edited: