{"id":60,"date":"2018-02-14T00:13:54","date_gmt":"2018-02-14T06:13:54","guid":{"rendered":"http:\/\/www.chroniclesoftright.com\/blog\/?p=60"},"modified":"2018-02-14T00:13:54","modified_gmt":"2018-02-14T06:13:54","slug":"simple-animation","status":"publish","type":"post","link":"https:\/\/www.chroniclesoftright.com\/blog\/2018\/02\/14\/simple-animation\/","title":{"rendered":"Simple animation"},"content":{"rendered":"<p>I spent some time today trying to do a really basic animation for my player character.\u00a0 I had to go back and brush up on my <a href=\"http:\/\/blender.org\" target=\"_blank\" rel=\"noopener\">Blender<\/a> rigging skills but I managed to make a truly horrible animation that loops for your player in the game.<\/p>\n<p><a href=\"http:\/\/www.chroniclesoftright.com\/blog\/wp-content\/uploads\/2018\/02\/basicAnimation.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-61\" src=\"http:\/\/www.chroniclesoftright.com\/blog\/wp-content\/uploads\/2018\/02\/basicAnimation-213x300.png\" alt=\"\" width=\"213\" height=\"300\" srcset=\"https:\/\/www.chroniclesoftright.com\/blog\/wp-content\/uploads\/2018\/02\/basicAnimation-213x300.png 213w, https:\/\/www.chroniclesoftright.com\/blog\/wp-content\/uploads\/2018\/02\/basicAnimation-768x1080.png 768w, https:\/\/www.chroniclesoftright.com\/blog\/wp-content\/uploads\/2018\/02\/basicAnimation-728x1024.png 728w, https:\/\/www.chroniclesoftright.com\/blog\/wp-content\/uploads\/2018\/02\/basicAnimation.png 800w\" sizes=\"auto, (max-width: 213px) 100vw, 213px\" \/><\/a>I fully realize that it&#8217;s hard to tell from these two images that any animation is happening at all, but trust me, the player now does this terrible flailing kick and arm waiving motion that makes no sense.\u00a0 Fortunately, my goal was not to create something believable as character movement, but just to have the character move at all and I accomplished that.\u00a0 Using animations in <a href=\"http:\/\/babylonjs.com\" target=\"_blank\" rel=\"noopener\">BabylonJS<\/a> isn&#8217;t too complicated as long as you get the export out of <a href=\"http:\/\/blender.org\" target=\"_blank\" rel=\"noopener\">Blender<\/a> done correctly, so in the near future I&#8217;ll try to make an actual walk\/run cycle along with an idle animation and maybe even an attack animation.\u00a0 Then I&#8217;ll try to do some animation blending so that you can run and attack at the same time.<\/p>\n<p>Bonus: you can see the new spooooooooky tower off in the fog in the images above.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I spent some time today trying to do a really basic animation for my player character.\u00a0 I had to go back and brush up on my Blender rigging skills but I managed to make a truly horrible animation that loops for your player in the game. I fully realize that it&#8217;s hard to tell from&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-60","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.chroniclesoftright.com\/blog\/wp-json\/wp\/v2\/posts\/60","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=60"}],"version-history":[{"count":1,"href":"https:\/\/www.chroniclesoftright.com\/blog\/wp-json\/wp\/v2\/posts\/60\/revisions"}],"predecessor-version":[{"id":62,"href":"https:\/\/www.chroniclesoftright.com\/blog\/wp-json\/wp\/v2\/posts\/60\/revisions\/62"}],"wp:attachment":[{"href":"https:\/\/www.chroniclesoftright.com\/blog\/wp-json\/wp\/v2\/media?parent=60"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.chroniclesoftright.com\/blog\/wp-json\/wp\/v2\/categories?post=60"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.chroniclesoftright.com\/blog\/wp-json\/wp\/v2\/tags?post=60"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}