Login / Registrieren
DE EN FR ES IT CZ
Zurück Nach oben

Change font for object text dynamically?

  • #1, by constantin 9 years ago Zitieren
    is there a way to change the font for object texts within the game? i need to use a special font in one scene for object texts and couldn´t find any solution. 
  • #2, by sebastian 9 years ago Zitieren
    is there a way to change the font for object texts within the game? i need to use a special font in one scene for object texts and couldn´t find any solution. 

    since the latest RC2 version object text can now have a specific font in the display object text action part. Before lua was needed to change it temporarily. But it now should work as mentioned above.
  • #3, by constantin 9 years ago Zitieren
    please tell me how to do this in lua - i still use 4.2.5 
  • #4, by sebastian 9 years ago Zitieren
    please tell me how to do this in lua - i still use 4.2.5 
    super old method:
    game:setValue(VGameObjectFont,"Fonts[myfontname]")

    i recommend setting it back after your displayed the text (it gets not affected by that, only if you use display object text again for that object.)
  • #5, by constantin 9 years ago Zitieren
    thanks! i love superold methods.