{"id":136,"date":"2010-03-26T20:06:09","date_gmt":"2010-03-27T03:06:09","guid":{"rendered":"http:\/\/legendofeuterra.com\/devblog\/?p=136"},"modified":"2010-03-26T20:10:04","modified_gmt":"2010-03-27T03:10:04","slug":"mental-exercise","status":"publish","type":"post","link":"https:\/\/www.shadowdawngenesis.com\/devblog\/?p=136","title":{"rendered":"Mental Exercise"},"content":{"rendered":"<figure id=\"attachment_137\" aria-describedby=\"caption-attachment-137\" style=\"width: 600px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/legendofeuterra.com\/devblog\/wp-content\/uploads\/2010\/03\/screenshot18.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-large wp-image-137\" title=\"screenshot18\" src=\"http:\/\/legendofeuterra.com\/devblog\/wp-content\/uploads\/2010\/03\/screenshot18-1024x597.png\" alt=\"Arashi vs. the Darkness\" width=\"600\" height=\"349\" srcset=\"https:\/\/www.shadowdawngenesis.com\/devblog\/wp-content\/upLoads\/2010\/03\/screenshot18-1024x597.png 1024w, https:\/\/www.shadowdawngenesis.com\/devblog\/wp-content\/upLoads\/2010\/03\/screenshot18-300x175.png 300w, https:\/\/www.shadowdawngenesis.com\/devblog\/wp-content\/upLoads\/2010\/03\/screenshot18.png 1296w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><figcaption id=\"caption-attachment-137\" class=\"wp-caption-text\">Arashi wonders if those shadows are clouds or trees<\/figcaption><\/figure>\n<p>Another visually minor update today, but that&#8217;s ok because I spent most of the time on fixes and optimization.\u00a0 I managed to speed up the drawing code significantly by cutting out the number of passes through the entire Map Object list which was called for each type of graphic (be it overlay, obstacle, or decoration).\u00a0 And even worse, to emulate 3d I had split up obstacles into two passes, but realized that since I didn&#8217;t attach a\u00a0seperate collision map to each object that there was no reason to check if it would draw in front of Arashi or not.<\/p>\n<p>In preparation for the Menu implementation,\u00a0another of the fixes made today was regarding the base player attributes.\u00a0 Since the original <a title=\"Shadowdawn Original Concept Site\" href=\"http:\/\/athena.smiling-web.com\/~fox\" target=\"_blank\">Shadowdawn<\/a>\u00a0design, I use a 7-part attribute system that covers pretty well all aspects of character development in a balanced way, so there is no one dominant trait like Strength is typically.\u00a0 With their addition finally to this game and replacing the placeholder numbers from the very first version with enemies, I could finally start doing real damage calculations, though I see it will still need some fine-tuning towards endgame.\u00a0 Critical hits were added with this update, though the calculation for their occurance isn&#8217;t -quite- perfect, but it&#8217;s easy to adjust the way I set it up.\u00a0 At least now I have a firm idea how to make equipment choices interesting for the player.<\/p>\n<p>Also in this screenshot I am experimenting with lighting.\u00a0 I think I got a glimmer of an idea how to do 2D lighting effects, though I was originally thinking about it the entirely wrong way.\u00a0 It will take a bit of work to implement fully, but the payoff will be great visually.\u00a0 One final long overdue fix is locking the camera in place when reaching the edge of the map, before it would continue to scroll and show the black void beyond the edge of the map, which really annoyed me, but looks much better now and will be easier to cover up with decorate graphics on the borders.\u00a0 Honestly other than drawing the animation frames and creating map decorations, the graphics\u00a0processing end is nearly complete.<\/p>\n<div name=\"googleone_share_1\" style=\"position:relative;z-index:5;float: right; margin-left: 10px;\"><g:plusone size=\"tall\" count=\"1\" href=\"https:\/\/www.shadowdawngenesis.com\/devblog\/?p=136\"><\/g:plusone><\/div>","protected":false},"excerpt":{"rendered":"<p>Another visually minor update today, but that&#8217;s ok because I spent most of the time on fixes and optimization.\u00a0 I managed to speed up the<a class=\"moretag\" href=\"https:\/\/www.shadowdawngenesis.com\/devblog\/?p=136\"> [&#8230;]<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[39,27,31,25,32,29,38,7,6,18,13,70,309,4,35,15,33],"class_list":["post-136","post","type-post","status-publish","format-standard","hentry","category-game-development","tag-2d-animation","tag-2d-tiles","tag-ai","tag-arashi","tag-artificial-intelligence","tag-collision","tag-controls","tag-development","tag-game","tag-independent","tag-jrpg","tag-lighting","tag-rpg","tag-shadowdawn","tag-weather","tag-xbox-360","tag-xbox-live"],"_links":{"self":[{"href":"https:\/\/www.shadowdawngenesis.com\/devblog\/index.php?rest_route=\/wp\/v2\/posts\/136","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.shadowdawngenesis.com\/devblog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.shadowdawngenesis.com\/devblog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.shadowdawngenesis.com\/devblog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.shadowdawngenesis.com\/devblog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=136"}],"version-history":[{"count":0,"href":"https:\/\/www.shadowdawngenesis.com\/devblog\/index.php?rest_route=\/wp\/v2\/posts\/136\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.shadowdawngenesis.com\/devblog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=136"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.shadowdawngenesis.com\/devblog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=136"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.shadowdawngenesis.com\/devblog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=136"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}