digEmAll Posted August 20, 2016 Share Posted August 20, 2016 Hi All, I'm starting to play with PIXI (after some tests on phaser) so apologies for the newbie question... I can't figure out why creating a game with window.innerWidth and window.innerHeight doesn't work correctly in PIXI (i.e. the scrollbars appear) while it works perfectly fine on Phaser. I reproduced the problem in two really simple jsfiddle (just a blue HTML5 canvas on a red background body that I expect to be completely covered), as you can see in the PIXI example the scrollbars appear while in the Phaser example they don't : PIXI v3 : https://jsfiddle.net/7042d86p/5/ Phaser v2: https://jsfiddle.net/o6ghgckb/2/ Any idea ? Thanks in advance Quote Link to comment Share on other sites More sharing options...
digEmAll Posted August 20, 2016 Author Share Posted August 20, 2016 I found a workaround, look at the new jsfiddle : https://jsfiddle.net/7042d86p/6/ Don't know if it might be considered a bug, anyway, with those three lines it works. !untrue 1 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.