I'm working on as small game for class and was wondering what is a easy way to handel level configuration files. Like object placements , names, etc.
I'm new to C# but fluent in Java, Ruby.
so XML? YML? text, serialized objects?
I'm working on as small game for class and was wondering what is a easy way to handel level configuration files. Like object placements , names, etc.
I'm new to C# but fluent in Java, Ruby.
so XML? YML? text, serialized objects?
First thing that came to mind: LUA; it's pretty generic and there's a good class available for it: http://xnua.com/xna_lua_xnua
Really depends on what you're doing. I teach using XNA, and to my first semester students I recommend plain text files, and for my second semester students I have them use XML since XNA already has a content importer for XML. Also keep in mind that lua/python cannot be used on the 360 because both use reflection.
I use Xml files, xna has a greate serializer for working with these. It's called the IntermediateSerializer.