Hi, I've got a little problem with creating a font.
I wrote this code in one of my functions:

Code:
my_txt.font = font_create("my_font.bmp"); //create a font with a Bitmap



This works fine, when I test it.
But after publish, if I run the exe, it crashes.

This one works:
Code:
my_txt.font = font_create("arial#8");


So the problem must be at this line.

But there isn't something wrong with the bitmap-file,
because in another included script I created a font the same way (and the same Bitmap), but there it works.
It's really only in this Scriptfile and only after publish.

Has someone an idea, what the fu** is going on here? o.0
Thanks. laugh
LG
Hopfel


Hilf mir, dir zu helfen!