{"id":32,"date":"2013-06-20T03:00:03","date_gmt":"2013-06-20T03:00:03","guid":{"rendered":"http:\/\/redquark.com\/wp\/?p=32"},"modified":"2017-03-31T02:40:41","modified_gmt":"2017-03-31T02:40:41","slug":"for-those-of-you-playing-along-at-home","status":"publish","type":"post","link":"https:\/\/redquark.com\/wp\/?p=32","title":{"rendered":"For Those Of You Playing Along At Home"},"content":{"rendered":"<p>I am hard at work using the InputEngine to pop up paddles with which to whack the ball. In so doing, I discovered an apparent error in InputEngine.js. Whereas it has &#8220;event.keyID&#8221; for identifying which key is pressed or released in the &#8220;onKeyDown()&#8221; and &#8220;onKeyUp()&#8221; methods, the correct attribute is named &#8220;event.keyCode&#8221;.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I am hard at work using the InputEngine to pop up paddles with which to whack the ball. In so doing, I discovered an apparent error in InputEngine.js. Whereas it has &#8220;event.keyID&#8221; for identifying which key is pressed or released in the &#8220;onKeyDown()&#8221; and &#8220;onKeyUp()&#8221; methods, the correct attribute is named &#8220;event.keyCode&#8221;.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-32","post","type-post","status-publish","format-standard","hentry","category-html5-game-development"],"_links":{"self":[{"href":"https:\/\/redquark.com\/wp\/index.php?rest_route=\/wp\/v2\/posts\/32","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/redquark.com\/wp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/redquark.com\/wp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/redquark.com\/wp\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/redquark.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=32"}],"version-history":[{"count":2,"href":"https:\/\/redquark.com\/wp\/index.php?rest_route=\/wp\/v2\/posts\/32\/revisions"}],"predecessor-version":[{"id":106,"href":"https:\/\/redquark.com\/wp\/index.php?rest_route=\/wp\/v2\/posts\/32\/revisions\/106"}],"wp:attachment":[{"href":"https:\/\/redquark.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=32"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/redquark.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=32"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/redquark.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=32"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}