tModLoader

tModLoader

评价数不足
CharLoader
   
奖励
收藏
已收藏
取消收藏
模组功能: 模组类库
模组端: 客户端
tModLoader版本: 1.4.4
文件大小
发表于
更新日期
32.937 KB
2023 年 7 月 14 日 上午 5:07
2024 年 10 月 23 日 下午 1:49
2 项改动说明 ( 查看 )

订阅以下载
CharLoader

描述
Allows other mods to add characters to preexisting fonts without risking overwriting any characters from vanilla or other mods
Documentation:
AddCharacter/AddChar: font (DynamicSpriteFont), texture (Texture2D), glyph (Rectangle), padding (Rectangle), kerning (Vector3), <optional name (string)>
GetCharacter/AddChar: font (DynamicSpriteFont), name (string)
To change characters, don't use this unless you know what you're doing, index is not relative
SetCharacter/AddChar: font (DynamicSpriteFont), index (char), texture (Texture2D), glyph (Rectangle), padding (Rectangle), kerning (Vector3)
引用自 tModLoader CharLoader
Developed By Tyfyter
2 条留言
Moonlight Glint  [作者] 2024 年 4 月 20 日 下午 3:41 
This is a library mod, if you're asking how to use it as a player, you just install and enable it alongside some mod that uses it, if you're asking how to use it as a mod developer, this should serve as a decent example: https://github.com/Tyfyter/EpikV2/blob/master/CrossMod%2FEpikIntegration.cs#L79-L110
Nastase 2024 年 4 月 20 日 下午 3:35 
how do u use it?