Mr. Unp3rf3ct
Member
Hi there. Im currently encountering a rather big problem with the view system in GM:S 1.
Basically I set the views x and y coordinates to the players exact coordinates (number with one decimal) minus the view_wview[0]/2 and view_hview[0]/2 respectively...
...I decided that I wanted to scale my 384x216 game up to the screen resolution by setting the view port size to the screen resolution and the players subpixel movements were visible. Then I added this code in hopes to eliminate the views behaviour to only move in 1 pixel increments. Let's just say it worked, but it resulted in this... (the blue lines)
It's realy bad when you are moving fast and everything flickers. Does anyone know how to fix this?
Thanks in advance!
Basically I set the views x and y coordinates to the players exact coordinates (number with one decimal) minus the view_wview[0]/2 and view_hview[0]/2 respectively...
Code:
view_xview[0] = x-view_wview[0]/2
view_yview[0] = y-view_hview[0]/2
It's realy bad when you are moving fast and everything flickers. Does anyone know how to fix this?
Thanks in advance!