is it possible to preload the font? Because my game freezes when I try to create text
The first time that you use a particular font from a specific location, it gets cached by Solar2D. So, you can manually create a text object using it and then remove that object.
I wrote a module a couple of years ago that caches all desired fonts:
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.