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

Popular posts from this blog

Spring Boot + JPA + Hibernate: Unable to locate persister -

go - Golang: panic: runtime error: invalid memory address or nil pointer dereference using bufio.Scanner -

c - double free or corruption (fasttop) -