{"id":4356,"date":"2017-12-02T21:34:25","date_gmt":"2017-12-02T21:34:25","guid":{"rendered":"http:\/\/thelordsofmidnight.com\/blog\/?p=4356"},"modified":"2017-12-02T21:34:25","modified_gmt":"2017-12-02T21:34:25","slug":"we-cannot-spare-more-than-a-few-for-such-a-perilous-task","status":"publish","type":"post","link":"https:\/\/thelordsofmidnight.com\/blog\/2017\/12\/02\/we-cannot-spare-more-than-a-few-for-such-a-perilous-task\/","title":{"rendered":"We cannot spare more than a few for such a perilous task"},"content":{"rendered":"<p>After the problems earlier in the year with <a href=\"http:\/\/thelordsofmidnight.com\/blog\/2016\/12\/13\/this-time-youve-got-me-to-help-you\/\">Marmalade getting out of the SDK market<\/a>, I started working on porting Lords of Midnight to Cocos2d. I initially <a href=\"http:\/\/thelordsofmidnight.com\/blog\/2017\/06\/30\/the-way-was-obscure-but-he-moved-onwards\/\">decided to park the games<\/a> and start on something new to get me going. As it happens <a href=\"http:\/\/thelordsofmidnight.com\/blog\/2017\/08\/18\/the-eye-wearied-of-gazing-at-water\/\">that the new thing was The Citadel<\/a>. I managed to get TME &#8211; the Midnight Engine &#8211; which is the backend game code that runs both LoM and DDR, up and running. I then worked on the Landscaping technique.<br \/>\n<a href=\"http:\/\/thelordsofmidnight.com\/blog\/wp-content\/uploads\/2017\/12\/Screenshot-2017-11-29-17.36.09.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-large wp-image-4357 aligncenter\" src=\"http:\/\/thelordsofmidnight.com\/blog\/wp-content\/uploads\/2017\/12\/Screenshot-2017-11-29-17.36.09-1024x813.png\" alt=\"\" width=\"584\" height=\"464\" srcset=\"https:\/\/thelordsofmidnight.com\/blog\/wp-content\/uploads\/2017\/12\/Screenshot-2017-11-29-17.36.09-1024x813.png 1024w, https:\/\/thelordsofmidnight.com\/blog\/wp-content\/uploads\/2017\/12\/Screenshot-2017-11-29-17.36.09-300x238.png 300w, https:\/\/thelordsofmidnight.com\/blog\/wp-content\/uploads\/2017\/12\/Screenshot-2017-11-29-17.36.09-768x610.png 768w, https:\/\/thelordsofmidnight.com\/blog\/wp-content\/uploads\/2017\/12\/Screenshot-2017-11-29-17.36.09-378x300.png 378w\" sizes=\"auto, (max-width: 584px) 100vw, 584px\" \/><\/a>Happy with that working,<a href=\"http:\/\/thelordsofmidnight.com\/blog\/2017\/07\/29\/you-must-travel-through-wild-and-troubled-lands\/\"> I dragged the Map data out of The Citadel<\/a> and started rendering that. The real big issue I needed to address for the Citadel is water, so I started working on that.<a href=\"http:\/\/thelordsofmidnight.com\/blog\/wp-content\/uploads\/2017\/08\/lom_water.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-large wp-image-4289 aligncenter\" src=\"http:\/\/thelordsofmidnight.com\/blog\/wp-content\/uploads\/2017\/08\/lom_water-1024x768.jpg\" alt=\"\" width=\"584\" height=\"438\" srcset=\"https:\/\/thelordsofmidnight.com\/blog\/wp-content\/uploads\/2017\/08\/lom_water-1024x768.jpg 1024w, https:\/\/thelordsofmidnight.com\/blog\/wp-content\/uploads\/2017\/08\/lom_water-300x225.jpg 300w, https:\/\/thelordsofmidnight.com\/blog\/wp-content\/uploads\/2017\/08\/lom_water-768x576.jpg 768w, https:\/\/thelordsofmidnight.com\/blog\/wp-content\/uploads\/2017\/08\/lom_water-400x300.jpg 400w, https:\/\/thelordsofmidnight.com\/blog\/wp-content\/uploads\/2017\/08\/lom_water.jpg 2048w\" sizes=\"auto, (max-width: 584px) 100vw, 584px\" \/><\/a><\/p>\n<p>I spoke with Jure and he mocked up some potential imagery, so we could get and idea of what it might look like.<\/p>\n<p><a href=\"http:\/\/thelordsofmidnight.com\/blog\/wp-content\/uploads\/2017\/12\/citadel_variant_1.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-large wp-image-4358 aligncenter\" src=\"http:\/\/thelordsofmidnight.com\/blog\/wp-content\/uploads\/2017\/12\/citadel_variant_1.jpg\" alt=\"\" width=\"584\" height=\"329\" srcset=\"https:\/\/thelordsofmidnight.com\/blog\/wp-content\/uploads\/2017\/12\/citadel_variant_1.jpg 960w, https:\/\/thelordsofmidnight.com\/blog\/wp-content\/uploads\/2017\/12\/citadel_variant_1-300x169.jpg 300w, https:\/\/thelordsofmidnight.com\/blog\/wp-content\/uploads\/2017\/12\/citadel_variant_1-768x432.jpg 768w, https:\/\/thelordsofmidnight.com\/blog\/wp-content\/uploads\/2017\/12\/citadel_variant_1-500x281.jpg 500w\" sizes=\"auto, (max-width: 584px) 100vw, 584px\" \/><\/a> <a href=\"http:\/\/thelordsofmidnight.com\/blog\/wp-content\/uploads\/2017\/12\/citadel_variant_2.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-large wp-image-4359 alignnone\" src=\"http:\/\/thelordsofmidnight.com\/blog\/wp-content\/uploads\/2017\/12\/citadel_variant_2.jpg\" alt=\"\" width=\"584\" height=\"329\" srcset=\"https:\/\/thelordsofmidnight.com\/blog\/wp-content\/uploads\/2017\/12\/citadel_variant_2.jpg 960w, https:\/\/thelordsofmidnight.com\/blog\/wp-content\/uploads\/2017\/12\/citadel_variant_2-300x169.jpg 300w, https:\/\/thelordsofmidnight.com\/blog\/wp-content\/uploads\/2017\/12\/citadel_variant_2-768x432.jpg 768w, https:\/\/thelordsofmidnight.com\/blog\/wp-content\/uploads\/2017\/12\/citadel_variant_2-500x281.jpg 500w\" sizes=\"auto, (max-width: 584px) 100vw, 584px\" \/><\/a> <a href=\"http:\/\/thelordsofmidnight.com\/blog\/wp-content\/uploads\/2017\/12\/citadel_variant_3.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-large wp-image-4360 aligncenter\" src=\"http:\/\/thelordsofmidnight.com\/blog\/wp-content\/uploads\/2017\/12\/citadel_variant_3.jpg\" alt=\"\" width=\"584\" height=\"329\" srcset=\"https:\/\/thelordsofmidnight.com\/blog\/wp-content\/uploads\/2017\/12\/citadel_variant_3.jpg 960w, https:\/\/thelordsofmidnight.com\/blog\/wp-content\/uploads\/2017\/12\/citadel_variant_3-300x169.jpg 300w, https:\/\/thelordsofmidnight.com\/blog\/wp-content\/uploads\/2017\/12\/citadel_variant_3-768x432.jpg 768w, https:\/\/thelordsofmidnight.com\/blog\/wp-content\/uploads\/2017\/12\/citadel_variant_3-500x281.jpg 500w\" sizes=\"auto, (max-width: 584px) 100vw, 584px\" \/><\/a>I then had a lot of problems with Cocos2D getting it to build under windows, and to be honest, I got a bit disheartened and gave up for a few months. It&#8217;s frustrating when the OSX Build all works without any issues, but the code just wouldn&#8217;t build on Windows.<\/p>\n<p>Since I&#8217;m working closer to home at the moment, I started to get that coding itchy feeling, and so I returned to the game. After a bit of restructuring I managed to get the code compiling on Windows &#8211; however, it completely wouldn&#8217;t build on OSX anymore. Xcode would completely barf and kill my machine taking up over 52gb of memory!<\/p>\n<p>I spent three evenings trying to get it to work. The upshot of all that pain, is that I seem to be back into my groove&#8230;<\/p>\n<p>I spent a bit of time thinking about the whole process, and I&#8217;m not sure if it&#8217;s because my Facebook feed keeps reminding me of what I was doing five years ago&#8230; desperately trying to complete LoM to get it submitted to Apple before the Winter Solstice as it happens, but it feels right to get these games back up and running an ready for any future release.<\/p>\n<p>At the moment I am slowing making my way through every UI screen and rebuilding it under Cocos2d. It&#8217;s painful because as powerful as Cocos2d is, the documentation is a complete bag of horse turd. I&#8217;m really stumbling around trying to translate the UI Engine I had already built into a new one.<\/p>\n<p>Once I have all the periphery screens complete, I will make my way into the game screens.<\/p>\n<p>I&#8217;m not abandoning The Citadel, I&#8217;m just taking some time out to get the whole engine fresh again. I&#8217;d like to get LoM and DDR released under the new system early next year.<\/p>\n<p>As an aside, the complete progress can be found in the <a href=\"https:\/\/github.com\/ChilliHugger\/The-Lords-Of-Midnight\">GitHub repository<\/a>. All the code and assets are there.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>After the problems earlier in the year with Marmalade getting out of the SDK market, I started working on porting Lords of Midnight to Cocos2d. I initially decided to park the games and start on something new to get me &hellip; <a href=\"https:\/\/thelordsofmidnight.com\/blog\/2017\/12\/02\/we-cannot-spare-more-than-a-few-for-such-a-perilous-task\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":3857,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_newsletter_tier_id":0,"footnotes":"","jetpack_publicize_message":"We cannot spare more than a few for such a perilous task - #lordsofmidnight","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false}}},"categories":[95,7,15,76,79],"tags":[30,88,44,97],"class_list":["post-4356","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-doomdarks-revenge","category-engine","category-remakes","category-the-citadel","category-the-lords-of-midnight","tag-doomdarks-revenge","tag-engine","tag-lords-of-midnight","tag-the-citadel"],"jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"https:\/\/thelordsofmidnight.com\/blog\/wp-content\/uploads\/2016\/06\/novel_banner.png","jetpack_shortlink":"https:\/\/wp.me\/p2Zbss-18g","_links":{"self":[{"href":"https:\/\/thelordsofmidnight.com\/blog\/wp-json\/wp\/v2\/posts\/4356","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/thelordsofmidnight.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/thelordsofmidnight.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/thelordsofmidnight.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/thelordsofmidnight.com\/blog\/wp-json\/wp\/v2\/comments?post=4356"}],"version-history":[{"count":2,"href":"https:\/\/thelordsofmidnight.com\/blog\/wp-json\/wp\/v2\/posts\/4356\/revisions"}],"predecessor-version":[{"id":4362,"href":"https:\/\/thelordsofmidnight.com\/blog\/wp-json\/wp\/v2\/posts\/4356\/revisions\/4362"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/thelordsofmidnight.com\/blog\/wp-json\/wp\/v2\/media\/3857"}],"wp:attachment":[{"href":"https:\/\/thelordsofmidnight.com\/blog\/wp-json\/wp\/v2\/media?parent=4356"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/thelordsofmidnight.com\/blog\/wp-json\/wp\/v2\/categories?post=4356"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/thelordsofmidnight.com\/blog\/wp-json\/wp\/v2\/tags?post=4356"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}