hotgeart Posted October 26, 2014 Report Share Posted October 26, 2014 Hi, I'm making a game with Phaser, It's working great but when I test on my Galaxy S3 (.apk compiled with phonegap) the images is blurred.Click for the imageIf i scale up the image it's to big. How can I fix the problem ? May be the script I use : How i pick image this.screen = "drawable-ldpi"; if(gameWidth >= 480){ this.screen = "drawable-mdpi"; } if(gameWidth >= 720){ this.screen = "drawable-hdpi"; } if(gameWidth >= 960){ this.screen = "drawable-xhdpi"; } if(gameWidth >= 1440){ this.screen = "drawable-xxhdpi"; }How i make the canvas size :var gameWidth = window.innerWidth;var gameHeight = window.innerHeight;var game = new Phaser.Game(gameWidth, gameHeight, Phaser.AUTO, 'gameDiv');Thanks you. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.