Ubik

Sign in to follow this  
  • entries
    101
  • comments
    122
  • views
    57907

Added XML support

Sign in to follow this  
Will F

140 views

Changed the level information format over to XML today. I'm using tinyxml to parse the information in the level files. It turned out to be easier than I thought it would be.

I'm still keeping the tilemaps in a custom format, as it seems like it would be more effort than it's worth to convert them to XML. I'm also not sure that I want to use tilemaps at all.

I need to actually sit down and write a full design document as i'm approaching the point where most of the base application framework is complete, but there is little gameplay yet.

Most of the gameplay is still up in the air - I still haven't decided if I want to make the levels by hand, randomly generate them, or do a combination of the two.
I'm also torn about making it realtime or turnbased, possibly a mix of the two, where it switches to turn based when you enter combat (something like the system Geneforge uses).
Sign in to follow this  


2 Comments


Recommended Comments

I've heard quite a few good things about that tinyxml on these forums now, will have to take a look when I need C++ and Xml together

Share this comment


Link to comment
Yeah, it's really easy to use and has a good license. The docs could maybe be a bit more newbie friendly, but here's a good tutorial here at gamedev.net

I had been previously using a custom file format, but now wish I had been using XML from the start.

Share this comment


Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now