{"id":213,"date":"2018-05-21T22:23:15","date_gmt":"2018-05-22T03:23:15","guid":{"rendered":"http:\/\/www.chroniclesoftright.com\/blog\/?p=213"},"modified":"2018-05-21T22:23:15","modified_gmt":"2018-05-22T03:23:15","slug":"more-animations","status":"publish","type":"post","link":"https:\/\/www.chroniclesoftright.com\/blog\/2018\/05\/21\/more-animations\/","title":{"rendered":"More animations"},"content":{"rendered":"<p>I still say the process as a whole is one of the weaker points of <a href=\"http:\/\/threejs.org\" target=\"_blank\" rel=\"noopener\">THREE.js<\/a> at this point, but the animation system is becoming a little bit clearer to me.\u00a0 I managed to get my guy running around (still with the horrible running animation) and he jumps when you press the space bar.\u00a0 The running animation only triggers if the player is actually moving, so pressing &#8216;w&#8217;, &#8216;a&#8217;, &#8216;s&#8217;, or &#8216;d&#8217;.\u00a0 The jumping animation will play whether the player is moving or not and you can&#8217;t jump again if a jump animation is currently in progress.\u00a0 The jumping action is animation only, so there&#8217;s no way to jump &#8220;on top&#8221; of anything right now, you know, without any sort of collision detection.\u00a0 All in all it&#8217;s pretty bad right now, but it&#8217;s a reasonable placeholder for better animations in the future.\u00a0 Now I&#8217;ll make a sword attack animation and trigger it with left mouse clicks, then start working on getting some nasty little piggies running around Penrith Forest.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I still say the process as a whole is one of the weaker points of THREE.js at this point, but the animation system is becoming a little bit clearer to me.\u00a0 I managed to get my guy running around (still with the horrible running animation) and he jumps when you press the space bar.\u00a0 The&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-213","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\/213","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=213"}],"version-history":[{"count":1,"href":"https:\/\/www.chroniclesoftright.com\/blog\/wp-json\/wp\/v2\/posts\/213\/revisions"}],"predecessor-version":[{"id":214,"href":"https:\/\/www.chroniclesoftright.com\/blog\/wp-json\/wp\/v2\/posts\/213\/revisions\/214"}],"wp:attachment":[{"href":"https:\/\/www.chroniclesoftright.com\/blog\/wp-json\/wp\/v2\/media?parent=213"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.chroniclesoftright.com\/blog\/wp-json\/wp\/v2\/categories?post=213"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.chroniclesoftright.com\/blog\/wp-json\/wp\/v2\/tags?post=213"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}