willunited Posted March 14, 2013 Author Share Posted March 14, 2013 Replace Font_Name and fontname with your font name (obviously)In modtext add under Public Font_Georgia As CustomFont:```Public Font_Name As CustomFont```In Sub EngineInitFontTextures() under```' GeorgiaNumTextures = NumTextures + 1ReDim Preserve gTexture(NumTextures)Font_Georgia.Texture.Texture = NumTexturesFont_Georgia.Texture.filepath = App.Path & FONT_PATH & "georgia.png"LoadTexture Font_Georgia.Texture```add:```' Font NameNumTextures = NumTextures + 1ReDim Preserve gTexture(NumTextures)Font_Name.Texture.Texture = NumTexturesFont_Name.Texture.filepath = App.Path & FONT_PATH & "fontname.png"LoadTexture Font_Name.Texture```at Sub UnloadFontTextures() add:```UnloadFont Font_Name```at Sub EngineInitFontSettings() add:```LoadFontHeader Font_Name, "fontname.dat"```Use this tutorial to make custom png and dat files:[http://www.touchofde…-a-bitmap-font/](http://www.touchofdeathforums.com/community/index.php?/topic/131631-how-to-make-a-bitmap-font/) Link to comment Share on other sites More sharing options...
PVJsquad Posted March 15, 2013 Share Posted March 15, 2013 simple useful tutorialNice Link to comment Share on other sites More sharing options...
MadalinV Posted March 15, 2013 Share Posted March 15, 2013 I'm flattered for linking to my tutorial xDAnyway, nice tutorial ![:D](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/biggrin.png) Link to comment Share on other sites More sharing options...
shinobugmaster Posted March 17, 2013 Share Posted March 17, 2013 is this for dx7? Link to comment Share on other sites More sharing options...
PVJsquad Posted March 17, 2013 Share Posted March 17, 2013 > is this for dx7?no Link to comment Share on other sites More sharing options...
MadalinV Posted March 17, 2013 Share Posted March 17, 2013 but it might work… try it. Link to comment Share on other sites More sharing options...
DMF Posted April 6, 2013 Share Posted April 6, 2013 … any tip on font sizing??? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now