{"id":191,"date":"2018-05-16T22:26:18","date_gmt":"2018-05-17T03:26:18","guid":{"rendered":"http:\/\/www.chroniclesoftright.com\/blog\/?p=191"},"modified":"2018-05-16T22:26:18","modified_gmt":"2018-05-17T03:26:18","slug":"basic-user-interaction","status":"publish","type":"post","link":"https:\/\/www.chroniclesoftright.com\/blog\/2018\/05\/16\/basic-user-interaction\/","title":{"rendered":"Basic user interaction"},"content":{"rendered":"<p>I&#8217;m working on the very basics of letting users interact with the world and I&#8217;ve started with the cursor highlighting objects in the world.\u00a0 You can only highlight an object if it&#8217;s in the correct group, and if the camera is close enough to it.\u00a0 The guy in the yellow shirt is highlighted here:<\/p>\n<p><a href=\"http:\/\/www.chroniclesoftright.com\/blog\/wp-content\/uploads\/2018\/05\/highlight-2018.05.16.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-192\" src=\"http:\/\/www.chroniclesoftright.com\/blog\/wp-content\/uploads\/2018\/05\/highlight-2018.05.16-300x152.png\" alt=\"\" width=\"300\" height=\"152\" srcset=\"https:\/\/www.chroniclesoftright.com\/blog\/wp-content\/uploads\/2018\/05\/highlight-2018.05.16-300x152.png 300w, https:\/\/www.chroniclesoftright.com\/blog\/wp-content\/uploads\/2018\/05\/highlight-2018.05.16-768x389.png 768w, https:\/\/www.chroniclesoftright.com\/blog\/wp-content\/uploads\/2018\/05\/highlight-2018.05.16-1024x519.png 1024w, https:\/\/www.chroniclesoftright.com\/blog\/wp-content\/uploads\/2018\/05\/highlight-2018.05.16.png 1922w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a>It&#8217;s not perfect but it&#8217;s a start on letting users select and interact with NPCs.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;m working on the very basics of letting users interact with the world and I&#8217;ve started with the cursor highlighting objects in the world.\u00a0 You can only highlight an object if it&#8217;s in the correct group, and if the camera is close enough to it.\u00a0 The guy in the yellow shirt is highlighted here: It&#8217;s&hellip;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-191","post","type-post","status-publish","format-standard","hentry","category-planning-and-development"],"_links":{"self":[{"href":"https:\/\/www.chroniclesoftright.com\/blog\/wp-json\/wp\/v2\/posts\/191","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=191"}],"version-history":[{"count":1,"href":"https:\/\/www.chroniclesoftright.com\/blog\/wp-json\/wp\/v2\/posts\/191\/revisions"}],"predecessor-version":[{"id":193,"href":"https:\/\/www.chroniclesoftright.com\/blog\/wp-json\/wp\/v2\/posts\/191\/revisions\/193"}],"wp:attachment":[{"href":"https:\/\/www.chroniclesoftright.com\/blog\/wp-json\/wp\/v2\/media?parent=191"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.chroniclesoftright.com\/blog\/wp-json\/wp\/v2\/categories?post=191"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.chroniclesoftright.com\/blog\/wp-json\/wp\/v2\/tags?post=191"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}