{"id":309,"date":"2018-06-22T23:08:40","date_gmt":"2018-06-23T04:08:40","guid":{"rendered":"http:\/\/www.chroniclesoftright.com\/blog\/?p=309"},"modified":"2018-06-22T23:08:40","modified_gmt":"2018-06-23T04:08:40","slug":"improving-animations","status":"publish","type":"post","link":"https:\/\/www.chroniclesoftright.com\/blog\/2018\/06\/22\/improving-animations\/","title":{"rendered":"Improving animations"},"content":{"rendered":"<p>The alternate Blender glTF exporter seems to be working great.\u00a0 I exported my player character and the actions defined in Blender showed up just fine.\u00a0 After some fiddling I was able to get those animations to play in Lyridia.\u00a0 So I now have an idle animation, a run animation, and an attack animation.\u00a0 The idle animation plays when you&#8217;re, um, idle.\u00a0 And the other two are self explanatory as well.\u00a0 Right now the attack is just a sort of punching motion and it&#8217;s not very expressive.\u00a0 I think I might give the character a sword and modify the attack action just so that it&#8217;s more obvious what&#8217;s happening.\u00a0 Once that&#8217;s done, I&#8217;ll definitely release a new version, so look for that this weekend.<\/p>\n<p>There are definitely big parts of the animation system in THREE.js that I don&#8217;t understand at all right now.\u00a0 I tried using the crossFadeTo function but had absolutely no luck getting it to work.\u00a0 Presumably it can be used because there are examples that use it, but I may punt on that issue for now just to keep moving forward with more substantive game features.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The alternate Blender glTF exporter seems to be working great.\u00a0 I exported my player character and the actions defined in Blender showed up just fine.\u00a0 After some fiddling I was able to get those animations to play in Lyridia.\u00a0 So I now have an idle animation, a run animation, and an attack animation.\u00a0 The idle&hellip;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-309","post","type-post","status-publish","format-standard","hentry","category-planning-and-development"],"_links":{"self":[{"href":"https:\/\/www.chroniclesoftright.com\/blog\/wp-json\/wp\/v2\/posts\/309","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.chroniclesoftright.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.chroniclesoftright.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.chroniclesoftright.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.chroniclesoftright.com\/blog\/wp-json\/wp\/v2\/comments?post=309"}],"version-history":[{"count":1,"href":"https:\/\/www.chroniclesoftright.com\/blog\/wp-json\/wp\/v2\/posts\/309\/revisions"}],"predecessor-version":[{"id":310,"href":"https:\/\/www.chroniclesoftright.com\/blog\/wp-json\/wp\/v2\/posts\/309\/revisions\/310"}],"wp:attachment":[{"href":"https:\/\/www.chroniclesoftright.com\/blog\/wp-json\/wp\/v2\/media?parent=309"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.chroniclesoftright.com\/blog\/wp-json\/wp\/v2\/categories?post=309"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.chroniclesoftright.com\/blog\/wp-json\/wp\/v2\/tags?post=309"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}