Sign in to follow this  
digEmAll

PIXI v3 : cannot create a proper full window renderer

Recommended Posts

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

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.