{"id":345,"date":"2010-10-09T17:32:44","date_gmt":"2010-10-10T00:32:44","guid":{"rendered":"http:\/\/www.rodgreen.com\/?p=345"},"modified":"2010-10-09T17:32:44","modified_gmt":"2010-10-10T00:32:44","slug":"galcon-unity-visualization-sixth-pass","status":"publish","type":"post","link":"https:\/\/www.rodgreen.com\/?p=345","title":{"rendered":"Galcon Unity Visualization (sixth pass)"},"content":{"rendered":"<p>So here we go.. a quick recorded version.<\/p>\n<p>Since Unity doesn&#39;t really have an elegant solution to a &#39;user file open dialog&#39; I&#39;ve decided to go to a more source file update type method.<\/p>\n<p>So basically there&#39;s a file in the directory with the application called &#39;gameSource.txt&#39; and the app with automatically load and refresh the scene with this map data when the file is changed. So if you have a simulation output the results into this text file the visualizer will automatically load the file and play the new simulation.<\/p>\n<p>&nbsp;<\/p>\n<p>Why is this good? Because it means you don&#39;t have to restart the visualizer it can stay open the whole time playing while you work away and will update when there&#39;s new game data.<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: center; \"><embed allowfullscreen=\"true\" allowscriptaccess=\"always\" height=\"306\" src=\"http:\/\/www.youtube.com\/v\/vk_6Q10PmCw?fs=1&amp;hl=en_US&amp;rel=0&amp;hd=1&amp;color1=0x3a3a3a&amp;color2=0x999999\" type=\"application\/x-shockwave-flash\" width=\"499\"><\/embed><\/p>\n","protected":false},"excerpt":{"rendered":"<p>So here we go.. a quick recorded version. Since Unity doesn&#39;t really have an elegant solution to a &#39;user file open dialog&#39; I&#39;ve decided to go to a more source file update type method. So basically there&#39;s a file in the directory with the application called &#39;gameSource.txt&#39; and the app with automatically load and refresh [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,6,10,11,12,16],"tags":[24,26,53,31,32,40,56,59],"class_list":["post-345","post","type-post","status-publish","format-standard","hentry","category-art","category-games","category-site","category-technical-art","category-technology","category-unity","tag-ai","tag-artificial-intelligence","tag-games","tag-google","tag-google-ai-challenge-sequence","tag-planet-wars","tag-technical-art","tag-unity"],"_links":{"self":[{"href":"https:\/\/www.rodgreen.com\/index.php?rest_route=\/wp\/v2\/posts\/345","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rodgreen.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rodgreen.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rodgreen.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rodgreen.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=345"}],"version-history":[{"count":0,"href":"https:\/\/www.rodgreen.com\/index.php?rest_route=\/wp\/v2\/posts\/345\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.rodgreen.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=345"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rodgreen.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=345"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rodgreen.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=345"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}