How do I implement Unreal-like object serialization?

Posted by MrWiggels on Game Development See other posts from Game Development or by MrWiggels
Published on 2012-10-18T20:41:52Z Indexed on 2012/10/18 23:18 UTC
Read the original article Hit count: 229

Filed under:
|

Recently, I've been working on the core of my engine, and as I'm moving forward I find myself developing throwaway code to read files and simple data into the engine. This got me thinking about how I should implement a file management system.

After a bit of googleing I came across the Unreal Package format, and boy does it look like the perfect one.

I think it's good because the way how it allows you to separate different assets into different packages and allow something like a level to reference the different packages.

I was just wondering, is this possible with C#? Because the built-in serialization API in .NET does not seem to support any form of this, only reading and writing to a single file.

© Game Development or respective owner

Related posts about c#

Related posts about serialization