Sunday, June 9, 2013

Game Loader

In game switching of worlds at the world selection screen.  Not pretty yet but will allow anyone to make a world and change even the way the world is perceived.  I want to be very clear the xml world from file was parsed and changed here to create.

Not pretty but very sweet.


Sunday, May 26, 2013

Map making getting there

Actual loaded file.  Trying my best to build an alternate to the squares and that's images linked together.  Will still have to do the squares in the background but no one will know.  The images are marked as provinces as well so they can be attacked as needed.  Quite interesting for a builder.


Sunday, May 19, 2013

Still working on interface for the builder

Its going slowly but provinces can now be added and removed.  They should also save.


Friday, May 17, 2013

Working on Provinces and squares

Basically I don't think anyone wants to play a conquest game and have to conquer a 100 square map.  That makes no sense.  But what if we did a 1000 square maps but squares could be grouped in provinces allowing for groupings that won't be visible to the user but will allow the game to give irregularly shapped groups. So each grid square can have an image say a castle or forest, be a part of a faction and also a member of a province.  Should allow for interesting maps though they will take a while to make well.  But that is why we have an xml saving map maker in the first place.


Sunday, May 5, 2013

Saturday, May 4, 2013

Stumped on the comment

I have tried every combination I can think of and every search in google that is even close and can not figure out a fix for the issue.  Basically I want to add position for the map grid in comment in xml.  But the xml comment won't evaluate variables before outputting.  You can do it with normal xml output for some reason the commenting wont allow you to.  So I can't add x and y grids to my map to make it easier to read.  So I am asking for help.  Here is what the code and output looks like:

Any help would be appreciated.


Friday, May 3, 2013

Saving and Loading... all through XML

Working on saving XML something I have never done before.  It may seem a bit odd to do but xml saving of games has some huge advantages.  Not to mention would building a map creator.  Anyways my tests have been really positive.  Not only does it look possible but since I am already forming the xml data... for output... hehe new trick in the tool box.  A much better way to do saving and loading.