JakeCake Posted September 7, 2014 Share Posted September 7, 2014 This is kind of weird. I am drawing a line on the screen using a game.add.graphics object. I need it to draw a trajectory, which is working alright till now. In my game, it is now also possible to zoom out, so to keep the line visible at all times I set the line-width to:2.0 / game.camera.scale.xSo that it always appear 2 units wide no matter how scaled up or down the game-world is. Now this works fine, up until the scale hits about 1/150. Then parts of the line starts to disappear, it is still somewhat visible, but very hard to see. Here's a screenshot of it:Proper, just on the edge of where weirdness happens. And here is the problem, zoomed slightly further out. Link to comment Share on other sites More sharing options...
Recommended Posts