In the past, I've had to look over the list of graphics in the BitmapFrontEnd cache to determine the cause of memory issues.
In this circumstance, having readable keys is important; for example, if one bit of text appears in the cache a lot, there may be something forcing it to re-render too often.
This PR changes auto-generated graphics created by FlxText to include the actual text in their key (text123 will instead be text(Hello World)123). This shouldn't have any negative impact but should improve debugging.
In the past, I've had to look over the list of graphics in the BitmapFrontEnd cache to determine the cause of memory issues.
In this circumstance, having readable keys is important; for example, if one bit of text appears in the cache a lot, there may be something forcing it to re-render too often.
This PR changes auto-generated graphics created by FlxText to include the actual text in their key (
text123
will instead betext(Hello World)123
). This shouldn't have any negative impact but should improve debugging.