LIbgdx and android scaling
        Posted  
        
            by 
                petervaz
            
        on Game Development
        
        See other posts from Game Development
        
            or by petervaz
        
        
        
        Published on 2012-12-06T15:55:08Z
        Indexed on 
            2012/12/06
            17:23 UTC
        
        
        Read the original article
        Hit count: 255
        
Following my previous question, I decided to migrate my andengine game to libdgx to have the desktop option. The game assets were planned, at first, to use a 1080x600 resolution and I raised that to 1200x800 which is native for many tablets and would look better on monitors. I followed this blog aproach regarding aspect ratio, which worked nicely on the desktop version, but running the android version (on my smaller tablet), the background would still appear on the original size being cropped by the smaller screen size.
How can I force the resize of the background (or for what matter, of everything) on android to fit the screen?
© Game Development or respective owner