Jump King

Jump King

Ikke nok vurderinger
More Text Options
   
Pris
Føj til foretrukne
Gjort til foretrukken
Fjern som foretrukken
Type: Mod
Tags: Interface
Filstørrelse:
Offentliggjort:
Opdateret:
933.376 KB
25. juni 2024 kl. 8:19
21. juli kl. 7:10
21 ændringsbemærkninger ( vis )

Abonner for at downloade
More Text Options

I 1 samling af Zebra · ♞
More or Less Mods
9 genstande
Beskrivelse
More Text Options


Description
Gives you the ability to customize text and outline colour of ingame strings like the timer or the ones added by other mods like Level%.


Information for Creators
To change the colour of a maps credits, dialog, or location text (that you have access to the xml file containing the text to) add
{color="#RRGGBB"}
to the front of your text, the colour will affect all text to the right of it, another color tag can be used to change it again, don't place it at the end though as it might be a problem, but it might not be, but at that point why even do it :) , replace the RRGGBB with a valid hex representation of a colour, e.g. 00FF00 for full green. While technically you should be able to use this in other places too it seems to not play nicely all the time, so testing what works and what doesn't is on your end.

To change the Default and Gargoyle font create a "font" folder and place your custom font inside, to replace the fonts the files should be called Default.xnb and Gargoyle.xnb respectively.


Information for Modders
For your own mod to use custom colours use the function TextHelper.DrawString, if you dont want your text to be changed use Game1.spriteBatch.DrawString


GitHub Repository
View the source code here[github.com]