Drawn lines changing position?


  • Posts: 243
I have drawn rectangles in my game that run at the correct position when my game is ran in full screen, but the x and y changes when game is ran on a lower resolution. Why is this?

« Last Edit: July 14, 2016, 07:45:08 am by gb346 »


  • *
  • Posts: 2242
Is there a particular reason why you're using stroked lines instead of filled rectangles? I suspect that's what's causing the problem. It looks like it's something to do with the way the stroke thickness is being calculated/drawn. It appears as though the thickness of the lines isn't being resized, so your lines as staying at 150 and 15. It could be a bug.