{"id":761,"date":"2012-04-21T15:46:44","date_gmt":"2012-04-21T14:46:44","guid":{"rendered":"http:\/\/shadowcovenant.com\/blog\/2012\/04\/21\/camera-controls-done\/"},"modified":"2012-04-21T15:46:44","modified_gmt":"2012-04-21T14:46:44","slug":"camera-controls-done","status":"publish","type":"post","link":"http:\/\/shadowcovenant.com\/blog\/2012\/04\/21\/camera-controls-done\/","title":{"rendered":"Camera controls done&hellip;"},"content":{"rendered":"<p>Finished the material system for the voxel world and added some camera controls\u2026<\/p>\n<p><a href=\"http:\/\/shadowcovenant.com\/blog\/wp-content\/uploads\/2012\/04\/voxel03.jpg\"><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px\" title=\"voxel03\" border=\"0\" alt=\"voxel03\" src=\"http:\/\/shadowcovenant.com\/blog\/wp-content\/uploads\/2012\/04\/voxel03_thumb.jpg\" width=\"568\" height=\"446\" \/><\/a><\/p>\n<p><a href=\"http:\/\/shadowcovenant.com\/blog\/wp-content\/uploads\/2012\/04\/voxel04.jpg\"><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px\" title=\"voxel04\" border=\"0\" alt=\"voxel04\" src=\"http:\/\/shadowcovenant.com\/blog\/wp-content\/uploads\/2012\/04\/voxel04_thumb.jpg\" width=\"571\" height=\"448\" \/><\/a><\/p>\n<p>Not that happy with the camera controls; they don\u2019t seem that intuitive, but they\u2019re the same as the editor on my out-of-hours project, and while it works fine with an editor tool, it doesn\u2019t seem suitable for a game\u2026 But after I get some game in this I\u2019ll revisit it\u2026.<\/p>\n<p>Anyway, now for the harder part in this project: finding out in which cube the player clicked and in which face, so I can build a new block there\u2026<\/p>\n<div id=\"tweetbutton761\" class=\"tw_button\" style=\"\"><a href=\"http:\/\/twitter.com\/share?url=http%3A%2F%2Fshadowcovenant.com%2Fblog%2F2012%2F04%2F21%2Fcamera-controls-done%2F&amp;text=Camera%20controls%20done%26hellip%3B&amp;related=&amp;lang=en&amp;count=horizontal&amp;counturl=http%3A%2F%2Fshadowcovenant.com%2Fblog%2F2012%2F04%2F21%2Fcamera-controls-done%2F\" class=\"twitter-share-button\"  style=\"width:55px;height:22px;background:transparent url('http:\/\/shadowcovenant.com\/blog\/wp-content\/plugins\/wp-tweet-button\/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;\">Tweet<\/a><\/div>","protected":false},"excerpt":{"rendered":"<p>Finished the material system for the voxel world and added some camera controls\u2026 Not that happy with the camera controls; they don\u2019t seem that intuitive, but they\u2019re the same as the editor on my out-of-hours project, and while it works fine with an editor tool, it doesn\u2019t seem suitable for a game\u2026 But after I [&hellip;]<\/p>\n<div id=\"tweetbutton761\" class=\"tw_button\" style=\"\"><a href=\"http:\/\/twitter.com\/share?url=http%3A%2F%2Fshadowcovenant.com%2Fblog%2F2012%2F04%2F21%2Fcamera-controls-done%2F&amp;text=Camera%20controls%20done%26hellip%3B&amp;related=&amp;lang=en&amp;count=horizontal&amp;counturl=http%3A%2F%2Fshadowcovenant.com%2Fblog%2F2012%2F04%2F21%2Fcamera-controls-done%2F\" class=\"twitter-share-button\"  style=\"width:55px;height:22px;background:transparent url('http:\/\/shadowcovenant.com\/blog\/wp-content\/plugins\/wp-tweet-button\/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;\">Tweet<\/a><\/div>","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[23,6,29],"tags":[],"class_list":["post-761","post","type-post","status-publish","format-standard","hentry","category-development","category-games","category-ludumdare"],"_links":{"self":[{"href":"http:\/\/shadowcovenant.com\/blog\/wp-json\/wp\/v2\/posts\/761","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/shadowcovenant.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/shadowcovenant.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/shadowcovenant.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/shadowcovenant.com\/blog\/wp-json\/wp\/v2\/comments?post=761"}],"version-history":[{"count":0,"href":"http:\/\/shadowcovenant.com\/blog\/wp-json\/wp\/v2\/posts\/761\/revisions"}],"wp:attachment":[{"href":"http:\/\/shadowcovenant.com\/blog\/wp-json\/wp\/v2\/media?parent=761"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/shadowcovenant.com\/blog\/wp-json\/wp\/v2\/categories?post=761"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/shadowcovenant.com\/blog\/wp-json\/wp\/v2\/tags?post=761"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}