phaserjs / phaser

Phaser is a fun, free and fast 2D game framework for making HTML5 games for desktop and mobile web browsers, supporting Canvas and WebGL rendering.
https://phaser.io
MIT License
37.06k stars 7.09k forks source link

Nineslice objects flickering #6922

Open Allabreve opened 1 week ago

Allabreve commented 1 week ago

Version

Description

When creating, animating and destroying a lot of nine-slice objects the remaining alive nine-slices will eventually start flickering.

Expected behavior: All nine-slices finish their animation without glitches.

Example Test Code

https://phaser.io/sandbox/GQSpWrP5

Additional Information

To reproduce the issue open the example sandbox and let it run until objects start leaving the screen.

If the number of objects is reduced (By increasing the "interval" or decreasing the "duration") the flickering stops.

Additionally the flickering can reproduced if using mor complex objects alongside the nine-slices. (Original Scenario: A particle system with container. Containing images texts and nine-slices as background.

Allabreve commented 1 day ago

One addition: it seems the issue is resolved in TP5.

Is there any eta on this issue before 3.90 or does it have any priority at all?

I got a kickoff in a month and would like to know if I should roll out my own Nineslice.