camera - libGDX: Get most left coordinate in a FillViewport -
how can left coordinate in fillviewport? tried things camera.viewportwidth/50, math.abs(gamescreen.viewport.getleftgutterwidth()) when resizing game, sprite should left outside of screen. resize method:
@override public void resize(int width, int height) { viewport.update(width,height, true); }
Comments
Post a Comment