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.

Daisy

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.

Daisy

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.

Daisy

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.

Daisy

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.

Daisy

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.

Daisy


Thursday, May 2, 2013

Still working on Data

I think I have the data up and running correctly.  I can parse in worlds from xml:



This then only loads into memory the current world not any of the other ones.  And it only took me about 3 complete rewrites of the data structure...

Daisy

Saturday, April 27, 2013

Parsing a world

My original plan was to parse all the worlds (scenarios) at the start.  This is insanely bad idea as it makes a lot more sense to only parse the world being used.  Same everyone some ram.

parse world(scenario) name and path
|
v
parse all the files paths for that world
|
v
parse the map for that world and the events etc

A bit of a pain in the rear at initial but the long run benefits should allow for much smaller ram usage.

Daisy

Friday, April 26, 2013


Looking a lot better.  Can add, edit, and delete factions.  Hopefully the next ones will fall easier.

Daisy

Monday, April 22, 2013

Saturday, April 20, 2013

xml Structure

Starting to get the xml structure up and running.  Unlike previous versions where the xml was spread everywhere.  The xml for conquest will try to be all contained in the world tag.  Though I may make an exception for events and text.  The reason is that switching worlds or games is one of the things I want to emphasize to allow anyone to create there own campaign.

Daisy