Tuesday, October 27, 2009

Content Libraries

Well i needed a way to manage the content for my shooter War Torn so i looked to the XNA content libraries. They provide a way to store and access all my content in a consistent manner while storing the data in simple XML files. The brilliance of a content library is that it can be used by my other projects as well with the same result. The basic design premise is to have a collection of content based class then serialise them into XML files which can be accessed by your game class.