{"id":4473,"date":"2016-12-18T22:24:12","date_gmt":"2016-12-18T22:24:12","guid":{"rendered":"http:\/\/phoenixgamedevelopment.com\/blog\/?p=4473"},"modified":"2016-12-18T22:24:12","modified_gmt":"2016-12-18T22:24:12","slug":"p0-p-172-part-73-advanced-gui-selection-art","status":"publish","type":"post","link":"https:\/\/phoenixgamedevelopment.com\/blog\/p0-p-172-part-73-advanced-gui-selection-art\/","title":{"rendered":"P0-P-172: Part 73: Advanced GUI selection, Art"},"content":{"rendered":"<p>I have added another feature to the Browser-based gui&#8217;s that I have been using.<\/p>\n<p>When the user right-clicks on the gui, as well as immobilising the player (preventing the WASD keys from moving them) it will also unlock the mouse from the camera, and allow the user to move it independently, in exactly the same way that a mouse is used on a regular screen.<\/p>\n<p>I am using a standard FPS-style cursor (IE, the cursor is fixed to the center of the screen, and the entire camera moves) for player and gui interaction in most cases, but being able to unlock the cursor and keep the camera steady is very useful for fine control over gui&#8217;s.<\/p>\n<p>This also works for the gui&#8217;s on board the shuttle as well.<\/p>\n<p>I have also finished a model of a basic weapon, which I intend to texture.<\/p>\n<p><a href=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/12\/PhoenixGameDevelopment-18_12_2016-09_54_19-PM-002.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-4475\" src=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/12\/PhoenixGameDevelopment-18_12_2016-09_54_19-PM-002-300x163.jpg\" alt=\"Unity 18\/12\/2016 , 09:54:19 PM Unity Personal (64bit) - P0Main.unity - New Unity Project - PC, Mac &amp; Linux Standalone \" width=\"300\" height=\"163\" srcset=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/12\/PhoenixGameDevelopment-18_12_2016-09_54_19-PM-002-300x163.jpg 300w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/12\/PhoenixGameDevelopment-18_12_2016-09_54_19-PM-002-768x416.jpg 768w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/12\/PhoenixGameDevelopment-18_12_2016-09_54_19-PM-002-1024x555.jpg 1024w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/12\/PhoenixGameDevelopment-18_12_2016-09_54_19-PM-002.jpg 1920w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>Unity<br \/>\n18\/12\/2016 , 09:54:19 PM<br \/>\nUnity Personal (64bit) &#8211; P0Main.unity &#8211; New Unity Project &#8211; PC, Mac &amp; Linux Standalone<\/p>\n<figure id=\"attachment_4476\" aria-describedby=\"caption-attachment-4476\" style=\"width: 300px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/12\/PhoenixGameDevelopment-18_12_2016-09_52_27-PM.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-4476\" src=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/12\/PhoenixGameDevelopment-18_12_2016-09_52_27-PM-300x163.jpg\" alt=\"Unity 18\/12\/2016 , 09:52:27 PM Unity Personal (64bit) - P0Main.unity - New Unity Project - PC, Mac &amp; Linux Standalone \" width=\"300\" height=\"163\" srcset=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/12\/PhoenixGameDevelopment-18_12_2016-09_52_27-PM-300x163.jpg 300w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/12\/PhoenixGameDevelopment-18_12_2016-09_52_27-PM-768x416.jpg 768w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/12\/PhoenixGameDevelopment-18_12_2016-09_52_27-PM-1024x555.jpg 1024w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/12\/PhoenixGameDevelopment-18_12_2016-09_52_27-PM.jpg 1920w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><figcaption id=\"caption-attachment-4476\" class=\"wp-caption-text\">Unity<br \/>18\/12\/2016 , 09:52:27 PM<br \/>Unity Personal (64bit) &#8211; P0Main.unity &#8211; New Unity Project &#8211; PC, Mac &amp; Linux Standalone<\/figcaption><\/figure>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I have added another feature to the Browser-based gui&#8217;s that I have been using. When the user right-clicks on the gui, as well as immobilising the player (preventing the WASD keys from moving them) it will also unlock the mouse from the camera, and allow the user to move it independently, in exactly the same [&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-4473","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\/4473"}],"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=4473"}],"version-history":[{"count":2,"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/posts\/4473\/revisions"}],"predecessor-version":[{"id":4478,"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/posts\/4473\/revisions\/4478"}],"wp:attachment":[{"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/media?parent=4473"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/categories?post=4473"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/tags?post=4473"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}