Forum rules - please read before posting.

different fonst for different language

I am making a game where I have used 5 different fonts and I have also my native language support. I also want to use 5 different font from my native language in different language mode. and I am using ANSI font type.

Comments

  • This will have to involve having to manually changing the fonts within your Menus when the language is changed in-game:

    foreach (AC.Menu menu in AC.PlayerMenus.GetMenus ())
    {
      foreach (AC.MenuElement element in menu.elements)
      {
        element.font = myNewFont;
      }
    }


    This code has to be called at the right time, i.e. when the language is changed.  This would best be done as part of a custom event.  Unfortunately, there is not currently an event for when the language option has been changed - but I will add this in the next release.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.