RunUO Community

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

ASCII Text

arul

Sorceror
ASCII Text

I wrote a small addition for the Ultima Online SDK and I thought I'd share it.
Recompile your UOSDK with the source file attached to this post, then you can use the ASCIIText.DrawText( int fontId, string text, short hueId ) method like this:

Code:
Bitmap bmp = Ultima.ASCIIText.DrawText( 3, "<3 Ultima Online SDK!", 0x35 );
// do whatever you want with the bmp

Examples:


Have fun :)
 

Attachments

  • ASCIIText.cs
    3.8 KB · Views: 62

HellRazor

Knight
Very nice. Updates to the SDK will be VERY welcome! Hope you have added support for the new expansions (animations especially)!
 
Top