• Content count

  • Joined

  • Last visited

  1. sorry it takes so long, as I tested, neither call "renderer.gl.flush()" or update to 4.4.3 work, there are still missing objects sometimes, but I found out this only happen to "the safari on the ipad4", it is quite limited actually. and the missing objects will show up after resizing (turning the screen portrait)
  2. ok, I will try when I get my ipad4, it's not around me now. so if "renderer.gl.flush()" work, should I keep it in my code? does it have any side effect?
  3. by the way, I remember in early version 4, mask won't work in my project until I set renderer.maskManager.enableScissor = false; could it be the problem?
  4. I use both in my project, but at the begining of the game, the filters is not used, only the mask
  5. 4.3.4
  6. hi alex_h it is atlas
  7. Hi guys, I tested my game on ipad4, and sometimes a few sprites can not be displayed(most of the time is the bg image), but the rest are rendered normally, since it does not happen every time, and it only happen on ipad4, moreover, it does not pop out any error, it's really hard to find the cause, does anyone know what could be the possible cause to this sort of partially render problem?
  8. thanks ivan.popelyshev, it works like magic
  9. hi ivan.popelyshev, Sorry I didn't make my question very clear, what I want is movieClip keep playing when I switch to another tab, since RAF stop when I lose the tab focus, I use setInterval continuously update ticker to keep movieClip playing, I hope it updates every 20ms, however, seems like while I lose the tab focus, the setInterval ignore my 20, It only do it every 1000ms, I believe it's browser's feature to save performance. so ticker.update is called every second only, which makes the movieClip only change it's frame every second as well.
  10. Hi guys, Recently I intend to keep my game running at the approximately same speed while the player switch to another tab, it means I need to keep my movieClip(animatedSprite) and Tween object(I am using GreenSock) running while losing tab focus, since RAF will stop, I use setInterval to keep updating PIXI.ticker.shared. const ticker = PIXI.ticker.shared; setInterval(() => { ticker.update(); }, 20); However, setInterval's minimum is limited to around 1000ms when the tab focus is blur, so my movieClip‘s update rate is the same, which is much slower. Now, i am thinking to record the deltatime and set the movieClip to specific frame accordingly on each update, then have to deal with the callback like onRepeat or onComplete, Is there a simpler way to achieve this?
  11. hi themoonrat, thanks for your answering, it is very helpful
  12. hi themoonrat, thanks for your answering, it is very helpful
  13. hi rich, thanks for your advice, we will spend a while more to find the problem.
  14. hi rich, thanks for your advice, we will spend a while more to find the problem.
  15. Hi there, for some low performance devices, phaser's webgl renderer doesn't work, but when I try pixi V3, it goes well, so I am wondering is there any chance to use PIXI V3 renderer in Phaser?