News: Welcome back to Bullworth! If you haven't already, you will need to reset your password..


Author Topic: Change Font  (Read 2940 times)

0 Members and 1 Guest are viewing this topic.

Offline Unknownsoldier

  • Hero Member
  • ****
  • Posts: 2,773
    • View Profile
Change Font
« on: December 06, 2014, 10:01:09 PM »
Is it possible to change a font? I tried changing the language to see if there was a different font, but the letters dont appear.

Offline AfterLife

  • The Reaper
  • Sr. Member
  • ***
  • Posts: 830
  • Gender: Male
  • I'm from the AfterLife...
    • View Profile
Re: Change Font
« Reply #1 on: May 31, 2015, 12:13:10 AM »
I don't think its possible. Maybe it is but I don't know...

Offline DaBOSS54320

  • Hero Member
  • ****
  • Posts: 3,398
  • Gender: Female
    • View Profile
Re: Change Font
« Reply #2 on: May 31, 2015, 03:48:58 AM »
In the past I've seen a few files relating to fonts... but I've never done much experimentation with them. You could try to though.

/Bully/TXD/fonts.nft
/Bully/Config/hdt/font.hdt
/Bully/Config/hdt/fontj.hdt
/Bully/Config/hdt/fontr.hdt

deadpoolXYZ

  • Guest
Re: Change Font
« Reply #3 on: May 31, 2015, 10:59:38 AM »
The other day I started the future racing arcade game while using the coord finder mod and I noticed that the font of the coords changed before starting the race. It's possible to change the font this way.

MGArcade_Sprite_SetFont()

In the past I've seen a few files relating to fonts... but I've never done much experimentation with them. You could try to though.

/Bully/TXD/fonts.nft
/Bully/Config/hdt/font.hdt
/Bully/Config/hdt/fontj.hdt
/Bully/Config/hdt/fontr.hdt

I believe that are the russian and japanese fonts along with the traditional english ones.

Offline Unknownsoldier

  • Hero Member
  • ****
  • Posts: 2,773
    • View Profile
Re: Change Font
« Reply #4 on: May 31, 2015, 01:09:43 PM »
The other day I started the future racing arcade game while using the coord finder mod and I noticed that the font of the coords changed before starting the race. It's possible to change the font this way.

MGArcade_Sprite_SetFont()

In the past I've seen a few files relating to fonts... but I've never done much experimentation with them. You could try to though.

/Bully/TXD/fonts.nft
/Bully/Config/hdt/font.hdt
/Bully/Config/hdt/fontj.hdt
/Bully/Config/hdt/fontr.hdt

I believe that are the russian and japanese fonts along with the traditional english ones.
I would think the util library does it, considering the ArcRace1 imports the "Library/ArcadeRace_util.lua".

EDIT: I found this: MGArcade_Sprite_SetFont(gStartScreen, gStartText, 1). It seems interesting.
gGameOverLayer = MGArcade_CreateLayer(512, 400, 1, C_LayerUpdate)
gHighScoreText = MGArcade_Layer_AddSprite(gGameOverLayer)

Might be pretty complicated, but I think i'm getting somewhere.
« Last Edit: May 31, 2015, 01:32:54 PM by Unknownsoldier »

Offline DaBOSS54320

  • Hero Member
  • ****
  • Posts: 3,398
  • Gender: Female
    • View Profile
Re: Change Font
« Reply #5 on: May 31, 2015, 06:41:03 PM »
I've always wanted to enable the arcade font... so MGArcade_Sprite_SetFont() does it... thanks deadpool.