Search the Community
Showing results for tags 'resize'.
Found 78 results
Hi there, I'm wondering, if it is valid/possible to set game width/height after game object initialization? What I'm trying to do is set actual game size in boot state when things such device is available. Unfortunately, it takes no effect on canvas, still the same dimension as once set at game object initialization phase. Any suggestion? Thanks!
Hello everyone, I am new member in Phaser, I have an issue regarding scaling to fit the game screen on all mobile devices (IPhone, Android, ...). I have searched on Internet but failed to find out the best solution for that, so could you please help me or give me some comments for that? I have tried to use EXACT_FIT, SHOW_ALL as some topics figured out but my issue is: all images in game become stretched. So can we fit the game screen on mobile devices and the images is also resized moothly? Thank you for your time and sorry for my English.
Hi, I have begun making my game base from this: http://www.html5gamedevs.com/topic/1613-cocoonjs-webglrenderer-scaling-question/ I have chosen 576x1024 res based on: http://docs.gameclosure.com/guide/scaling.html The original bunny demo runs at 800x600. Here is my app code: https://github.com/DominicTobias/gamestarterjs/blob/master/app/app.js When the bunny renders on 576x1024 it is stretched and it seems tilted too (becomes obvious when rotate is applied). However when changing the app to 800x600 the bunny does not looked stretched (though when rotating it does look like it stretches slightly). I've attached images, does someone have an idea why this is happening? Thanks! Live demo showing issue: http://dominictobias.com/scalingissue/ (far right is from the 800x600 version)