{"id":5772,"date":"2017-08-27T19:10:16","date_gmt":"2017-08-27T18:10:16","guid":{"rendered":"http:\/\/phoenixgamedevelopment.com\/blog\/?p=5772"},"modified":"2017-08-27T19:12:29","modified_gmt":"2017-08-27T18:12:29","slug":"p0-ms3-part-230-ai-guis-control-interfaces","status":"publish","type":"post","link":"https:\/\/phoenixgamedevelopment.com\/blog\/p0-ms3-part-230-ai-guis-control-interfaces\/","title":{"rendered":"P0-MS3: Part 230: AI, GUI&#8217;s, Control Interfaces"},"content":{"rendered":"<p>In addition to some general debugging and performance optimisations, I have also begun improving my code to allow many more AI entities to exist simultaneously.<\/p>\n<p>I need to make sure that they don&#8217;t perform the same action at the same time, or use the same machine or item at the same time, and I need to make sure that they can navigate without colliding, etc.<\/p>\n<p>I also need to make sure that they each have their own custom values and attributes, such as their own quarters on board the ship, their own job, etc.<\/p>\n<p>This is easier than I thought, since my AI code, although a little convoluted at this stage, is quite good, and was designed with this kind of functionality in mind from the beginning.<\/p>\n<p>I will probably not add more than 6 or 7 crew members for now, I don&#8217;t need any more yet.<\/p>\n<figure id=\"attachment_5759\" aria-describedby=\"caption-attachment-5759\" style=\"width: 300px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2017\/08\/PhoenixGameDevelopment-24_08_2017-11_32_01-PM.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-5759\" src=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2017\/08\/PhoenixGameDevelopment-24_08_2017-11_32_01-PM-300x163.jpg\" alt=\"Unity 24\/08\/2017 , 11:32:01 PM Unity 5.6.0f3 Personal (64bit) - P0Main.unity - P0-MS3 - PC, Mac &amp; Linux Standalone \" width=\"300\" height=\"163\" srcset=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2017\/08\/PhoenixGameDevelopment-24_08_2017-11_32_01-PM-300x163.jpg 300w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2017\/08\/PhoenixGameDevelopment-24_08_2017-11_32_01-PM-768x416.jpg 768w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2017\/08\/PhoenixGameDevelopment-24_08_2017-11_32_01-PM-1024x555.jpg 1024w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2017\/08\/PhoenixGameDevelopment-24_08_2017-11_32_01-PM.jpg 1920w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><figcaption id=\"caption-attachment-5759\" class=\"wp-caption-text\">Unity<br \/>24\/08\/2017 , 11:32:01 PM<br \/>Unity 5.6.0f3 Personal (64bit) &#8211; P0Main.unity &#8211; P0-MS3 &#8211; PC, Mac &amp; Linux Standalone<\/figcaption><\/figure>\n<figure id=\"attachment_5760\" aria-describedby=\"caption-attachment-5760\" style=\"width: 300px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2017\/08\/PhoenixGameDevelopment-25_08_2017-03_40_29-AM.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-5760\" src=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2017\/08\/PhoenixGameDevelopment-25_08_2017-03_40_29-AM-300x163.jpg\" alt=\"Unity 25\/08\/2017 , 03:40:29 AM Unity 5.6.0f3 Personal (64bit) - P0Main.unity - P0-MS3 - PC, Mac &amp; Linux Standalone \" width=\"300\" height=\"163\" srcset=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2017\/08\/PhoenixGameDevelopment-25_08_2017-03_40_29-AM-300x163.jpg 300w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2017\/08\/PhoenixGameDevelopment-25_08_2017-03_40_29-AM-768x416.jpg 768w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2017\/08\/PhoenixGameDevelopment-25_08_2017-03_40_29-AM-1024x555.jpg 1024w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2017\/08\/PhoenixGameDevelopment-25_08_2017-03_40_29-AM.jpg 1920w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><figcaption id=\"caption-attachment-5760\" class=\"wp-caption-text\">Unity<br \/>25\/08\/2017 , 03:40:29 AM<br \/>Unity 5.6.0f3 Personal (64bit) &#8211; P0Main.unity &#8211; P0-MS3 &#8211; PC, Mac &amp; Linux Standalone<\/figcaption><\/figure>\n<figure id=\"attachment_5761\" aria-describedby=\"caption-attachment-5761\" style=\"width: 300px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2017\/08\/PhoenixGameDevelopment-25_08_2017-05_54_55-AM.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-5761\" src=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2017\/08\/PhoenixGameDevelopment-25_08_2017-05_54_55-AM-300x163.jpg\" alt=\"Unity 25\/08\/2017 , 05:54:55 AM Unity 5.6.0f3 Personal (64bit) - P0Main.unity - P0-MS3 - PC, Mac &amp; Linux Standalone \" width=\"300\" height=\"163\" srcset=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2017\/08\/PhoenixGameDevelopment-25_08_2017-05_54_55-AM-300x163.jpg 300w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2017\/08\/PhoenixGameDevelopment-25_08_2017-05_54_55-AM-768x416.jpg 768w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2017\/08\/PhoenixGameDevelopment-25_08_2017-05_54_55-AM-1024x555.jpg 1024w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2017\/08\/PhoenixGameDevelopment-25_08_2017-05_54_55-AM.jpg 1920w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><figcaption id=\"caption-attachment-5761\" class=\"wp-caption-text\">Unity<br \/>25\/08\/2017 , 05:54:55 AM<br \/>Unity 5.6.0f3 Personal (64bit) &#8211; P0Main.unity &#8211; P0-MS3 &#8211; PC, Mac &amp; Linux Standalone<\/figcaption><\/figure>\n<figure id=\"attachment_5762\" aria-describedby=\"caption-attachment-5762\" style=\"width: 300px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2017\/08\/PhoenixGameDevelopment-25_08_2017-05_31_07-AM.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-5762\" src=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2017\/08\/PhoenixGameDevelopment-25_08_2017-05_31_07-AM-300x163.jpg\" alt=\"Unity 25\/08\/2017 , 05:31:07 AM Unity 5.6.0f3 Personal (64bit) - P0Main.unity - P0-MS3 - PC, Mac &amp; Linux Standalone \" width=\"300\" height=\"163\" srcset=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2017\/08\/PhoenixGameDevelopment-25_08_2017-05_31_07-AM-300x163.jpg 300w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2017\/08\/PhoenixGameDevelopment-25_08_2017-05_31_07-AM-768x416.jpg 768w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2017\/08\/PhoenixGameDevelopment-25_08_2017-05_31_07-AM-1024x555.jpg 1024w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2017\/08\/PhoenixGameDevelopment-25_08_2017-05_31_07-AM.jpg 1920w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><figcaption id=\"caption-attachment-5762\" class=\"wp-caption-text\">Unity<br \/>25\/08\/2017 , 05:31:07 AM<br \/>Unity 5.6.0f3 Personal (64bit) &#8211; P0Main.unity &#8211; P0-MS3 &#8211; PC, Mac &amp; Linux Standalone<\/figcaption><\/figure>\n<figure id=\"attachment_5763\" aria-describedby=\"caption-attachment-5763\" style=\"width: 300px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2017\/08\/PhoenixGameDevelopment-25_08_2017-06_47_07-AM.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-5763\" src=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2017\/08\/PhoenixGameDevelopment-25_08_2017-06_47_07-AM-300x163.jpg\" alt=\"Unity 25\/08\/2017 , 06:47:07 AM Unity 5.6.0f3 Personal (64bit) - P0Main.unity - P0-MS3 - PC, Mac &amp; Linux Standalone* \" width=\"300\" height=\"163\" srcset=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2017\/08\/PhoenixGameDevelopment-25_08_2017-06_47_07-AM-300x163.jpg 300w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2017\/08\/PhoenixGameDevelopment-25_08_2017-06_47_07-AM-768x416.jpg 768w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2017\/08\/PhoenixGameDevelopment-25_08_2017-06_47_07-AM-1024x555.jpg 1024w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2017\/08\/PhoenixGameDevelopment-25_08_2017-06_47_07-AM.jpg 1920w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><figcaption id=\"caption-attachment-5763\" class=\"wp-caption-text\">Unity<br \/>25\/08\/2017 , 06:47:07 AM<br \/>Unity 5.6.0f3 Personal (64bit) &#8211; P0Main.unity &#8211; P0-MS3 &#8211; PC, Mac &amp; Linux Standalone*<\/figcaption><\/figure>\n<figure id=\"attachment_5764\" aria-describedby=\"caption-attachment-5764\" style=\"width: 300px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2017\/08\/PhoenixGameDevelopment-25_08_2017-09_44_01-AM.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-5764\" src=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2017\/08\/PhoenixGameDevelopment-25_08_2017-09_44_01-AM-300x163.jpg\" alt=\"Unity 25\/08\/2017 , 09:44:01 AM Unity 5.6.0f3 Personal (64bit) - P0Main.unity - P0-MS3 - PC, Mac &amp; Linux Standalone* \" width=\"300\" height=\"163\" srcset=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2017\/08\/PhoenixGameDevelopment-25_08_2017-09_44_01-AM-300x163.jpg 300w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2017\/08\/PhoenixGameDevelopment-25_08_2017-09_44_01-AM-768x416.jpg 768w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2017\/08\/PhoenixGameDevelopment-25_08_2017-09_44_01-AM-1024x555.jpg 1024w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2017\/08\/PhoenixGameDevelopment-25_08_2017-09_44_01-AM.jpg 1920w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><figcaption id=\"caption-attachment-5764\" class=\"wp-caption-text\">Unity<br \/>25\/08\/2017 , 09:44:01 AM<br \/>Unity 5.6.0f3 Personal (64bit) &#8211; P0Main.unity &#8211; P0-MS3 &#8211; PC, Mac &amp; Linux Standalone*<\/figcaption><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>In addition to some general debugging and performance optimisations, I have also begun improving my code to allow many more AI entities to exist simultaneously. I need to make sure that they don&#8217;t perform the same action at the same time, or use the same machine or item at the same time, and I need [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,17,10,11],"tags":[],"class_list":["post-5772","post","type-post","status-publish","format-standard","hentry","category-astral-realms","category-p-0","category-software-and-games","category-spiritus-astrum","has-post-title","has-post-date","has-post-category","has-post-tag","has-post-comment","has-post-author",""],"aioseo_notices":[],"builder_content":"","_links":{"self":[{"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/posts\/5772"}],"collection":[{"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/comments?post=5772"}],"version-history":[{"count":2,"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/posts\/5772\/revisions"}],"predecessor-version":[{"id":5776,"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/posts\/5772\/revisions\/5776"}],"wp:attachment":[{"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/media?parent=5772"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/categories?post=5772"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/tags?post=5772"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}