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 :)
C# XmlSerializer Loader for BmFont
Thanks for sharing.
I've added a link to this on the BMFont page so it will be easier for others to find.
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
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement