{"id":570,"date":"2013-05-19T17:57:41","date_gmt":"2013-05-19T16:57:41","guid":{"rendered":"http:\/\/www.radicalfishgames.com\/?p=570"},"modified":"2013-05-19T17:57:41","modified_gmt":"2013-05-19T16:57:41","slug":"weekly-update-18-npcs-and-3d-positional-sound","status":"publish","type":"post","link":"https:\/\/www.radicalfishgames.com\/?p=570","title":{"rendered":"Weekly Update #18 &#8211; NPCs and 3D positional sound"},"content":{"rendered":"<p>Another week is over! This update is a bit late.<\/p>\n<p>Well, we decided that Thursday to Sunday is a good time frame for weekly updates to appear. :D<\/p>\n<p>Anyway, we made a lot of progress especially over the end of this week. We worked on two major features: <strong>NPCs<\/strong> and <strong>3D positional sound<\/strong>.<\/p>\n<h2>NPCs &#8211; Finally stuff to talk to!<\/h2>\n<p>We recently worked on path finding, the dialog system and the level editor (weltmeister). Putting all the work together, we finally got our Non-Playable Characters (NPCs) &#8211; an essential part of any RPG (yeah, don&#8217;t forget &#8211; CrossCode is supposed to be one).<\/p>\n<p>Since it&#8217;s much nicer to demonstrate NPCs in action, we prepared a small video for you:<\/p>\n<p><iframe title=\"NPCs in CrossCode\" width=\"600\" height=\"338\" src=\"https:\/\/www.youtube.com\/embed\/IgDWVyxjbIg?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/p>\n<p>As you can see our NPCs can behave quite dynamically. They can move around in one map or simply leave the map and go to another place. They are even capable of opening <strong>doors<\/strong>! It&#8217;s amazing! (well, at least it was a technical challenge to some extend&#8230;)<\/p>\n<p>You can also see the dialog system in action. Note that we will have more facial expressions for the characters in the final game. Currently the focus is still on getting the technical stuff done.<\/p>\n<h2>3D positional sound<\/h2>\n<p>Using WebAudio, we managed to create 3D positional sounds. This feature probably still needs some more fine tuning, but technically it works well. Our next goal is to play the background music via WebAudio as well.<\/p>\n<p>That&#8217;s all for this week!<br \/>\nFor next week it&#8217;s very likely we won&#8217;t have any big news for you &#8211; busy times are ahead, unfortunately not CrossCode related.<\/p>\n<p>In anyway, you&#8217;ll hear from us!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Another week is over! This update is a bit late. Well, we decided that Thursday to Sunday is a good time frame for weekly updates to appear. :D Anyway, we made a lot of progress especially over the end of this week. We worked on two major features: NPCs and 3D positional sound. NPCs &#8211; [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,7],"tags":[],"class_list":["post-570","post","type-post","status-publish","format-standard","hentry","category-crosscode","category-weekly"],"_links":{"self":[{"href":"https:\/\/www.radicalfishgames.com\/index.php?rest_route=\/wp\/v2\/posts\/570","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.radicalfishgames.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.radicalfishgames.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.radicalfishgames.com\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.radicalfishgames.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=570"}],"version-history":[{"count":11,"href":"https:\/\/www.radicalfishgames.com\/index.php?rest_route=\/wp\/v2\/posts\/570\/revisions"}],"predecessor-version":[{"id":582,"href":"https:\/\/www.radicalfishgames.com\/index.php?rest_route=\/wp\/v2\/posts\/570\/revisions\/582"}],"wp:attachment":[{"href":"https:\/\/www.radicalfishgames.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=570"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.radicalfishgames.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=570"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.radicalfishgames.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=570"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}