Advertisement

C# XmlSerializer Loader for BmFont

Started by October 04, 2010 10:22 PM
1 comment, last by DeadlyDan 14 years, 1 month ago
Hi guys,

I've recently made some code to serialize the BmFont XML filetype so there's hardly any code involved in saving and loading. I thought i'd share it with the community since it might be helpful. I had to write a few extras to handle rectangle definitions etc. But it all works perfectly.

The code may not be the best, i'm new to serialization so if i've done anything stupid let me know :)

Here we go anyway. It's pretty much WYSIWYG, simple to use also.

http://pastebin.com/x3Z2mDC6

Let me know if it has helped anyone :)
Thanks for sharing.

I've added a link to this on the BMFont page so it will be easier for others to find.

AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game

Advertisement
Quote: Original post by WitchLord
Thanks for sharing.

I've added a link to this on the BMFont page so it will be easier for others to find.


Your welcome :) BMFont is a great tool!

This topic is closed to new replies.

Advertisement