Jump to content

Texture appear only after Reload in IE


PlaceOfM
 Share

Recommended Posts

Hello,

 

when I run the pixijs tutorial on the following page I can´t see the turning bunny.

 

http://www.goodboydigital.com/pixi-js-tutorial-getting-started/

 

There is only the green canvas but nothing inside. When I hit F5 to refresh the page

the bunny appears. In FF or Chrome everything works fine. This failure happens only in

IE11.

 

Is there a workaround to avoid this?

 

Thanks!

Link to comment
Share on other sites

Hi,

 

When I load the page the first time the image width is 0. When i refresh the page the width is 400px like it should be. The problem seems to be that the image isn´t loaded before pixi draws it. I found a solution on https://github.com/GoodBoyDigital/pixi.js/issues/35 .

 

Now I use the PIXI.AssetLoader and IE 11 shows the images the first time I visit the page.

 

Tanks!

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...