Closed friedow closed 6 years ago
Could not reproduce your issue. Could you try again, please?
Just as I suspected: black rectangles. I also get this error thrown on my console every frame:
[.Offscreen-For-WebGL-000001AC9A79F110]RENDER WARNING: texture bound to texture unit 0 is not renderable. It maybe non-power-of-2 and have incompatible texture filtering.
This error does not occur on the developer branch.
It seems like the rendering error only occurs on windows. How can we deal with that?
We can avoid our font hack (and possibly solve the issue at hand) by using BitmapText. Usage looks like shaders: this.load.bitmapFont(..); this.add.bitmapText(16, 0, 'font-name', 'SCORE: 0', 32);
I will provide the required bitmap font file shortly.
EDIT: After some reading, BitmapText may even increase our performance. Also, a downgrade of Phaser might help with performance as well.
I had 2 players in the match, first one called "12", second one "asdf", and in the game screen of the first player, only his own name seemed to be displayed correctly. The other three text fields seem to be black rectangles.