Monday, May 30, 2016

Sea Trading Game- Internal workings

This week has featured a number of internal working updates that don't really show, but make the game easier to maintain, and will eventually lead to a number of cool updates, including the ability to extend the game. What I've done is put the configuration of the in to a config file. A separate config file is used for the tutorial as compared to the main game, and I'll likely add one for debugging to make that easier as well. Bottom line, this should add quite a bit of flexibility to the game development, and hopefully save me some time going forward.

One interesting thing I did as a result is to make the cost of goods to be more realistic. There are a number of factors that go in to the cost, but it's much more realistic now. No more will gold be half the price in cities a few squares apart! Also, the difference in the buy/sell price within a city for different goods is related, and regional as well. I'm not quite sure how it will all play out, but it seems to be working well.

I've also started to make more realistic randomly generated maps. This is still very much a work in progress, but things are starting to come together. I'm looking in to two different methods for map generation, I'm working on getting the prototypes together to see how these look before I move on to incorporating them further. I don't have anything to show yet, but hopefully by next week I will have something.

No comments:

Post a Comment