{"id":40,"date":"2020-10-10T21:45:00","date_gmt":"2020-10-11T02:45:00","guid":{"rendered":"https:\/\/cynthiamcmahon.ca\/blog\/index.php\/2020\/10\/silver-prophet-battle-engine\/"},"modified":"2020-10-10T21:45:00","modified_gmt":"2020-10-11T02:45:00","slug":"silver-prophet-battle-engine","status":"publish","type":"post","link":"https:\/\/cynthiamcmahon.ca\/blog\/2020\/10\/silver-prophet-battle-engine\/","title":{"rendered":"Silver Prophet Battle Engine"},"content":{"rendered":"<p>Today I worked on Silver Prophet&#8217;s battle engine. It&#8217;s coming along nicely. I need to add attack animations yet but either side of the field can win or lose the battle. When a character is damaged the amount floats from the top of their head and fades to transparent. When they receive enough damage they go to a damaged state. Each character has a separate timer that controls when they can attack. When the play is ready their battle icon flashes and can be clicked. It opens up a context menu where they can choose from a basic attack, skill attack or use an item.<\/p>\n<div style=\"clear: both; text-align: center;\"><\/div>\n<p><\/p>\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Today I worked on Silver Prophet&#8217;s battle engine. It&#8217;s coming along nicely. I need to add attack animations yet but either side of the field can win or lose the battle. When a character is damaged the amount floats from the top of their head and fades to transparent. When they receive enough damage they &hellip; <\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-40","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/cynthiamcmahon.ca\/blog\/wp-json\/wp\/v2\/posts\/40","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cynthiamcmahon.ca\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cynthiamcmahon.ca\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cynthiamcmahon.ca\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/cynthiamcmahon.ca\/blog\/wp-json\/wp\/v2\/comments?post=40"}],"version-history":[{"count":0,"href":"https:\/\/cynthiamcmahon.ca\/blog\/wp-json\/wp\/v2\/posts\/40\/revisions"}],"wp:attachment":[{"href":"https:\/\/cynthiamcmahon.ca\/blog\/wp-json\/wp\/v2\/media?parent=40"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cynthiamcmahon.ca\/blog\/wp-json\/wp\/v2\/categories?post=40"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cynthiamcmahon.ca\/blog\/wp-json\/wp\/v2\/tags?post=40"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}