You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Code Example:
var _string = "[fnt1]Juju is the best {_value},he is powerful"
{_value} will be replaced with "[fnt2]mage[/f]" during actual gameplay.
The expected display should be:
"[fnt1]Juju is the best [fnt2]mage[/f],he is powerful"
However, the actual display results in:
"[fnt1]Juju is the best [fnt2]mage[/f],? ? ?"
This issue occurs because [fnt1] is a Chinese font, and __scribble_state.__default_font does not support Chinese.
What I have in mind is that I might need to modify __scribble_state.__default_font = "fnt1" before rendering the string, but I'm not sure whether this is possible.
I’ve had difficulty finding similar information online, so I’m afraid I’m bothering you with this.
Or should I modify the settings elsewhere?
I apologize for the inconvenience.
The text was updated successfully, but these errors were encountered:
Thank you so much, Juju.
Especially for your suggestion ‘instead of using [/f] I'd use [fnt1],’ which is something I could have thought of. However, when I ran into problems, my thinking got stuck in a dead end, and I couldn't get out of the maze.
I really appreciate your support.
By studying Scribble's functions, I made my own editor, and I'm using it to remake my game.
I'll send you good news later.
Code Example:
var _string = "[fnt1]Juju is the best {_value},he is powerful"
{_value} will be replaced with "[fnt2]mage[/f]" during actual gameplay.
The expected display should be:
"[fnt1]Juju is the best [fnt2]mage[/f],he is powerful"
However, the actual display results in:
"[fnt1]Juju is the best [fnt2]mage[/f],? ? ?"
This issue occurs because [fnt1] is a Chinese font, and __scribble_state.__default_font does not support Chinese.
What I have in mind is that I might need to modify __scribble_state.__default_font = "fnt1" before rendering the string, but I'm not sure whether this is possible.
I’ve had difficulty finding similar information online, so I’m afraid I’m bothering you with this.
Or should I modify the settings elsewhere?
I apologize for the inconvenience.
The text was updated successfully, but these errors were encountered: