Closed ghost closed 7 years ago
Maybe viewport is calculated before something is completed? Or not taking into account retina 2x ratio at that point?
Is this your situation?
##
#@
# black
@ actual image
strange behavior, for test i hardcode in https://github.com/jtransc/gdx-backend-jtransc/blob/master/gdx-backend-jtransc/src/com/jtransc/media/limelibgdx/LimeApplication.java#L224 width*2 and height*2, in inputs too *2 for x and y. screen size return @1x. How better fix it w/o hardcode?
@soywiz i make many test, and on spine-demo i see this problem on desktop with fullscreen. Fullscreen always add space but not stretch.
Provide original size screenshots.
on iPad first launch, screen black and image 1/4. after change focus to home via home button and return to game, screen get fullscreen correctly. i reproduced 1/4 on all build, e.g. spine-demo from examples. Touch events not by image, events as image is fullscreen. First step reproduced on emulator too.