Quantcast
Channel: 2D Latest Topics
Viewing all articles
Browse latest Browse all 623

Does Phaser 2 cache webfont texts as textures?

$
0
0

I'm working with 2.6.2 and drawing some webfonts directly instead of bitmap fonts.

I know rendering a vectorial font is an expensive operation and I was thinking of just rendering it to a separate BitmapData and then use the BitmapData as an image instead, but since Phaser 1 performance on text rendering seems to have improved a lot, so I was wondering if these optimizations are maybe already done behind the scenes by Phaser, but didn't find anything on the source code so far.

Does anybody know?


Viewing all articles
Browse latest Browse all 623

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>