Hello, in my game I have a bitmap text gameobject that is a child of multiple containers and moves up and down vertically.
On rare occasions, part of the text will turn into the first image of my texture atlas. The text will then revert back once the group has been moved.
Attached is a screenshot of the bugged text. The text was supposed to read, “was in hot water”
This is using Phaser 3.15.
Has this happened to any of you guys and if so, what did you do to work around it?
rich
January 9, 2019, 10:48pm
2
I would suggest trying this against the master branch (3.16 Beta 4) as there is a fix in there which I’m 99% sure is causing this.
Thank you for the reply! I just updated to 3.16 beta and I’ll be sure to post back on this thread if it doesn’t work.
Update 1/16: Upgrading to 3.16 does fix the issue.
rich
January 16, 2019, 10:24pm
4
Awesome, thought so. 3.16 should be out by the end of the month.
cdm
January 10, 2025, 3:23pm
5
I am still experiencing this bug in 3.60
cdm
January 30, 2025, 8:57am
6
Found the culprit: This happens when there is a Graphics object added to the same scene as the BitmapText AFTER the BitmapText was added. The Graphics object may even have lower depth and it will still cause BitmapText glitches. Workarounds that worked for me:
Add the Graphics object before adding the BitmapText
Replace Graphics with RenderTexture
Move one of them to another Scene