{"id":118,"date":"2021-05-09T11:14:16","date_gmt":"2021-05-09T11:14:16","guid":{"rendered":"https:\/\/msc-ai.knipmeyer.co.uk\/?p=118"},"modified":"2021-05-09T11:14:16","modified_gmt":"2021-05-09T11:14:16","slug":"import-to-game-setup-sr-dr","status":"publish","type":"post","link":"http:\/\/msc-ai.knipmeyer.co.uk\/index.php\/2021\/05\/09\/import-to-game-setup-sr-dr\/","title":{"rendered":"Import to Game; Setup SR\/DR"},"content":{"rendered":"\n<p>The first task on the game was to import the custom graphics for the dragon, food and keys.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/msc-ai.knipmeyer.co.uk\/wp-content\/uploads\/2021\/05\/image-32.png\" alt=\"\" class=\"wp-image-119\" width=\"518\" height=\"830\" srcset=\"http:\/\/msc-ai.knipmeyer.co.uk\/wp-content\/uploads\/2021\/05\/image-32.png 518w, http:\/\/msc-ai.knipmeyer.co.uk\/wp-content\/uploads\/2021\/05\/image-32-187x300.png 187w\" sizes=\"auto, (max-width: 518px) 100vw, 518px\" \/><figcaption>Import graphics from level editor model<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"552\" height=\"442\" src=\"https:\/\/msc-ai.knipmeyer.co.uk\/wp-content\/uploads\/2021\/05\/image-33.png\" alt=\"\" class=\"wp-image-120\" srcset=\"http:\/\/msc-ai.knipmeyer.co.uk\/wp-content\/uploads\/2021\/05\/image-33.png 552w, http:\/\/msc-ai.knipmeyer.co.uk\/wp-content\/uploads\/2021\/05\/image-33-300x240.png 300w, http:\/\/msc-ai.knipmeyer.co.uk\/wp-content\/uploads\/2021\/05\/image-33-375x300.png 375w\" sizes=\"auto, (max-width: 552px) 100vw, 552px\" \/><figcaption>dragon, food and keys now present in game<\/figcaption><\/figure>\n\n\n\n<p>When setting up the game for the first time, there were numerous errors, to be expected as game doesnt know &#8216;breeds&#8217; for our &#8216;heros&#8217; and &#8216;dragons&#8217;.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"242\" src=\"https:\/\/msc-ai.knipmeyer.co.uk\/wp-content\/uploads\/2021\/05\/image-35-1024x242.png\" alt=\"\" class=\"wp-image-122\" srcset=\"http:\/\/msc-ai.knipmeyer.co.uk\/wp-content\/uploads\/2021\/05\/image-35-1024x242.png 1024w, http:\/\/msc-ai.knipmeyer.co.uk\/wp-content\/uploads\/2021\/05\/image-35-300x71.png 300w, http:\/\/msc-ai.knipmeyer.co.uk\/wp-content\/uploads\/2021\/05\/image-35-768x181.png 768w, http:\/\/msc-ai.knipmeyer.co.uk\/wp-content\/uploads\/2021\/05\/image-35-500x118.png 500w, http:\/\/msc-ai.knipmeyer.co.uk\/wp-content\/uploads\/2021\/05\/image-35.png 1474w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption>definitions in level-designer, need to be created in the game<\/figcaption><\/figure>\n\n\n\n<p>And the new values I want to present in the GUI require code to complete them.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"496\" height=\"666\" src=\"https:\/\/msc-ai.knipmeyer.co.uk\/wp-content\/uploads\/2021\/05\/image-36.png\" alt=\"\" class=\"wp-image-124\" srcset=\"http:\/\/msc-ai.knipmeyer.co.uk\/wp-content\/uploads\/2021\/05\/image-36.png 496w, http:\/\/msc-ai.knipmeyer.co.uk\/wp-content\/uploads\/2021\/05\/image-36-223x300.png 223w\" sizes=\"auto, (max-width: 496px) 100vw, 496px\" \/><figcaption>new reporters and chart require code to complete<\/figcaption><\/figure>\n\n\n\n<p>At this point as I had completed a susbstanital amount of code locally, I commited all the code to version control software (VCS) &#8211; namely a local copy of Gitlab. This is setup to backup to my local Network Attached Storage, which in turn is also backed up to Amazon Web Services (AWS) S3 for both Sustained Resiliency (SR) and Disaster Recovery (DR). Not is only good practice to make regular commits to a VCS to track changes, it removes the failure of a single component (i.e. developer HDD) as potential source of project disruption.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"996\" height=\"1024\" src=\"https:\/\/msc-ai.knipmeyer.co.uk\/wp-content\/uploads\/2021\/05\/image-37-996x1024.png\" alt=\"\" class=\"wp-image-126\" srcset=\"http:\/\/msc-ai.knipmeyer.co.uk\/wp-content\/uploads\/2021\/05\/image-37-996x1024.png 996w, http:\/\/msc-ai.knipmeyer.co.uk\/wp-content\/uploads\/2021\/05\/image-37-292x300.png 292w, http:\/\/msc-ai.knipmeyer.co.uk\/wp-content\/uploads\/2021\/05\/image-37-768x790.png 768w, http:\/\/msc-ai.knipmeyer.co.uk\/wp-content\/uploads\/2021\/05\/image-37-1493x1536.png 1493w, http:\/\/msc-ai.knipmeyer.co.uk\/wp-content\/uploads\/2021\/05\/image-37.png 1962w\" sizes=\"auto, (max-width: 996px) 100vw, 996px\" \/><figcaption>VCS in action<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"731\" src=\"https:\/\/msc-ai.knipmeyer.co.uk\/wp-content\/uploads\/2021\/05\/image-39-1024x731.png\" alt=\"\" class=\"wp-image-128\" srcset=\"http:\/\/msc-ai.knipmeyer.co.uk\/wp-content\/uploads\/2021\/05\/image-39-1024x731.png 1024w, http:\/\/msc-ai.knipmeyer.co.uk\/wp-content\/uploads\/2021\/05\/image-39-300x214.png 300w, http:\/\/msc-ai.knipmeyer.co.uk\/wp-content\/uploads\/2021\/05\/image-39-768x548.png 768w, http:\/\/msc-ai.knipmeyer.co.uk\/wp-content\/uploads\/2021\/05\/image-39-1536x1096.png 1536w, http:\/\/msc-ai.knipmeyer.co.uk\/wp-content\/uploads\/2021\/05\/image-39-421x300.png 421w, http:\/\/msc-ai.knipmeyer.co.uk\/wp-content\/uploads\/2021\/05\/image-39.png 1996w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption>VCS With most recent commits, server scripts ensure local and remote backups<\/figcaption><\/figure>\n\n\n\n<p>Whilst there is no Continuous Integration \/ Continuous Delivery Pipeline, this would be something I will explore later, at least methods for code validate so pushes to &#8216;master&#8217; will always contain working code.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The first task on the game was to import the custom graphics for the dragon, food and keys. When setting up the game for the first time, there were numerous errors, to be expected as game doesnt know &#8216;breeds&#8217; for &hellip; <a href=\"http:\/\/msc-ai.knipmeyer.co.uk\/index.php\/2021\/05\/09\/import-to-game-setup-sr-dr\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-118","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"http:\/\/msc-ai.knipmeyer.co.uk\/index.php\/wp-json\/wp\/v2\/posts\/118","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/msc-ai.knipmeyer.co.uk\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/msc-ai.knipmeyer.co.uk\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/msc-ai.knipmeyer.co.uk\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/msc-ai.knipmeyer.co.uk\/index.php\/wp-json\/wp\/v2\/comments?post=118"}],"version-history":[{"count":3,"href":"http:\/\/msc-ai.knipmeyer.co.uk\/index.php\/wp-json\/wp\/v2\/posts\/118\/revisions"}],"predecessor-version":[{"id":129,"href":"http:\/\/msc-ai.knipmeyer.co.uk\/index.php\/wp-json\/wp\/v2\/posts\/118\/revisions\/129"}],"wp:attachment":[{"href":"http:\/\/msc-ai.knipmeyer.co.uk\/index.php\/wp-json\/wp\/v2\/media?parent=118"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/msc-ai.knipmeyer.co.uk\/index.php\/wp-json\/wp\/v2\/categories?post=118"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/msc-ai.knipmeyer.co.uk\/index.php\/wp-json\/wp\/v2\/tags?post=118"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}