hi all, i have a problem with a font im using in a game im creating.
i have created an intro, after this intro blender opens another file but i cant see the text even if i packed the font into it.
it happens only in runtime.
i have to go into the runtime folder, open the file, unpack the font and assign the new folder to see the text but it seems strange to me… what im doing wrong?
any help?
thx
Have you tried doing [File -> External Data -> Automatically pack Into .blend] after you load in the font?
i packed all
i think its a limit of execution runutime, i think it is not so much accurate
if i unpack a text font and give him the new path all text works
help pls
Have you installed the font on your computer?
it was in the fonts windows folder
Oh, interesting. For me, fonts work in runtime once you pack them in properly. It may have to do with a specific font you are packing.
Have you included all versions of the font (bold, italic…etc.) in the fonts folder?
If you provide a blend file, I can take a quick look at it.
mmm nope i packed only regular one, i’ve nevr used to pack italic bold etc.
anyway it is strange because i have 3 files, the first one is an intro animation, when ends appears a text “press any key to continue” and in this file blender packed the text correctly, in the second file (menu) and the third (first lvl1) doesn’t.
another strange thing is that i’ve created a font by myself and it is packed and works correctly
i will try to pack in italic bold ect and we will see
ps: the font im using is ForteMT and im using blender 2.78
How are you displaying your text? Also, I just wanted to clarify - for all three of your files, have you “packed all” ([File -> External Data -> Automatically pack Into .blend])? You might also double check the file paths you have specified for all 3 of your files matches the location of the text. Then again, it may be, as you suggested, a runtime issue.
I have a feeling you might be missing something however, so I’m not entirely sure.
what do you mean with “How are you displaying your text?”
anyway i used like you said File -> External Data -> Automatically pack Into .blend for all 3 files
but now i have another big problem not inherent the font i can’t figure out lol
i moved menu, lvl1 and lvl2 in a folder to organize the files and now if i open the game from the intro when is the time to open lvl1 seems doesn’t use the camera and the view is from the top, but if i launch the game from the menu all works well (not in runtime)… in runtime otherwise the same files works well i cant believe… anyway im uploading the files i will post soon if you want take a look.
thx for your support
i forgot to say a thing, sometimes when i open lvl1 for example to work with and i press p to controll the game texts dont appears and i have to close blender and relaunch file
here is the folder
Nice game, nice textures. I’m glad to see a lot of blender artists create good art.
Interesting. I have tried your other font (and previously my own in my projects), and it seems that ForteMT font specifically will not work in Runtime.
For your camera problem, I would make sure your code is running good. I am not willing to look at your entire code, but I can tell you I would make sure the camera is active and in view in that file as you start your game.
thx, anyway the camera is active and the problem is begun when i put all the file in a sub folder, i don’t know why.
about looking at the code i understand you, there are a lot of code and they are a “little bit” chaotic… its a mess
maybe i will change the font
thx for help
You’re welcome! By the way, I noticed by glancing at your code there are some places where you specify file paths. I recommend checking those spots to make sure you are referencing correctly. Ask away if you need more help.