pixijs / layers

Separate the z-hierarchy of your scene tree from its canonical structure.
https://pixijs.io/layers/docs/
MIT License
222 stars 57 forks source link

Some (lots) of items disappear in internet explorer #8

Closed robbeman closed 7 years ago

robbeman commented 7 years ago

Very strange: some items just disappear completely in internet explorer. Don't know exactly why, but it seems to be related to the zOrder property.

The elements disappearing al have a zOrder lower then ~180, elements with a higher zIndex seem to work. (I'm calculating zIndex by distance from the bottom of the screen)

I've attached two screenshots, one in chrome and another, from the same game, in IE (11).

screenshot chrome

screenshot ie

Anyway, I don't have more information right now, I'll probably look further into it later. (Maybe I'm doing something strange, I dunno)

robbeman commented 7 years ago

I've looked further into this issue and it seems that the cause was sprite.cacheAsBitmap = true; I only had this on elements with zOrder, so I wrongly assumed it had to do with that.

So I'm closing the issue. Sorry for bothering.

ivanpopelyshev commented 7 years ago

Hello! Sorry for late answer :) I happy that you resolved it. And I'm happy that people actually use my plugin