<\/a>I just thought I’d mention that there are, at present, 183 source files in MMORPG Tycoon 2.<\/p>\nThat count does include the 85 source files which are part of the core VectorStorm game engine, but doesn’t include the 31 source files which make up Box2D (which I’m still inexplicably building into MMORPG Tycoon 2, even though it’s not actually being used for anything. \u00a0I’ll have to strip it out before release, I suppose). \u00a0It also doesn’t count the 185 header files, which declare what’s in each of the source files.<\/p>\n
Why do I know these numbers? \u00a0Well, today I’ve been working with some of the underlying VectorStorm engine tech; \u00a0long-time readers may recall back when I talked about my automated save game support. \u00a0Today, I’ve been adding support for arrays to that system. \u00a0It’s macro-heavy and template-heavy code, which basically means that you can’t easily compile and test it on its own. \u00a0The net result is that every time I touch the automated save game support systems, I have to rebuild all of MMORPG Tycoon 2; \u00a0all 183 source files of it. \u00a0I’ve been seeing an awful lot of that number.<\/p>\n
To be fair, in the grand scheme of things, 183 source files isn’t actually all that many. \u00a0It only takes my non-cutting-edge computer about thirty seconds to compile them all and tell me whether I’ve made any mistakes. \u00a0But this stuff is subtle and it’s really easy to make mistakes. \u00a0It’s kind of like trying to thread a needle using chopsticks, and then needing to spend half a minute after each attempt, to find out whether or not you were successful. \u00a0I’ve probably gone through about 30 revisions of the code tonight, and have now (finally!) gotten it working.<\/p>\n
Well, mostly working. \u00a0Save works, but loading isn’t working quite yet. \u00a0Soon!<\/p>\n
Also, I spent some time last night playing with the terrain generation, and tried inserting some muddy regions in the low grasslands. \u00a0It adds a little visual interest, but the more I play with it, the more I’m realising that:<\/p>\n
\n- My current methods for procedurally picking the color of terrain are all too limited; \u00a0I’m not quite sure what I need to do to improve it. \u00a0(But again, what’s there right now is certainly good enough for milestone 1, and I’m sure that once I finish that, I’ll have no shortage of suggestions for improvements!)<\/li>\n
- I really ought to allow people to import images to use as height\/color maps for custom terrain types, if they want to. \u00a0(And yet again, this won’t be for milestone 1, but I can imagine folks wanting this ability)<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"
I just thought I’d mention that there are, at present, 183 source files in MMORPG Tycoon 2. That count does include the 85 source files which are part of the core VectorStorm game engine, but doesn’t include the 31 source files which make up Box2D (which I’m still inexplicably building into MMORPG Tycoon 2, even…<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":""},"categories":[24,25],"tags":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/po9WK-jG","_links":{"self":[{"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/posts\/1220"}],"collection":[{"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/comments?post=1220"}],"version-history":[{"count":0,"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/posts\/1220\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/media?parent=1220"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/categories?post=1220"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/tags?post=1220"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}