{"id":172,"date":"2014-11-18T04:56:27","date_gmt":"2014-11-18T04:56:27","guid":{"rendered":"http:\/\/www.joshuarosenstock.com\/teaching\/IMGD3200_B14\/?p=172"},"modified":"2014-12-05T23:24:57","modified_gmt":"2014-12-05T23:24:57","slug":"172","status":"publish","type":"post","link":"https:\/\/www.joshuarosenstock.com\/teaching\/IMGD3200_B14\/172\/","title":{"rendered":"Pokedex"},"content":{"rendered":"<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>Here is the coding behind the pokedex. The block on the upper left is for squirtle only, but the code is duplicated for bulbasaur and charmander, with the respective images loaded into them. The bottom right is a jitter made to hold the background of the pokedex used to also hide the pokemon not currently selected.<a href=\"http:\/\/www.joshuarosenstock.com\/teaching\/IMGD3200_B14\/wp-content\/uploads\/2014\/11\/scrnshot_pokedex.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone  wp-image-173\" src=\"http:\/\/www.joshuarosenstock.com\/teaching\/IMGD3200_B14\/wp-content\/uploads\/2014\/11\/scrnshot_pokedex-300x168.png\" alt=\"scrnshot_pokedex\" width=\"588\" height=\"329\" \/><\/a>The body of the code is primarily message triggers that come from the bangs from makey makey input, and subsequently switch the layers that each pokemon is displayed on, moving the one displayed to layer 3 and the ones hidden to layer 0. The Background is on layer 2 to hide the default layer one that the others start on so that the text doesn&#8217;t start overlapping.<\/p>\n<p>Here is the video link<\/p>\n<p><a href=\"https:\/\/www.youtube.com\/watch?v=4ra1NtcElis\">https:\/\/www.youtube.com\/watch?v=4ra1NtcElis<\/a><\/p>\n<p>Unfortunately i couldnt get sound to work again since the lab speakers don&#8217;t work and now when I attempt to run it on my laptop where it originally started, it crashes Max instead and wont load in any of the images, and ignores the background.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; &nbsp; Here is the coding behind the pokedex. The block on the upper left is for squirtle only, but the code is duplicated for bulbasaur and charmander, with the respective images loaded into them. The bottom right is a jitter made to hold the background of the pokedex used to also hide the pokemon &hellip; <a href=\"https:\/\/www.joshuarosenstock.com\/teaching\/IMGD3200_B14\/172\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Pokedex<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/www.joshuarosenstock.com\/teaching\/IMGD3200_B14\/wp-json\/wp\/v2\/posts\/172"}],"collection":[{"href":"https:\/\/www.joshuarosenstock.com\/teaching\/IMGD3200_B14\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.joshuarosenstock.com\/teaching\/IMGD3200_B14\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.joshuarosenstock.com\/teaching\/IMGD3200_B14\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/www.joshuarosenstock.com\/teaching\/IMGD3200_B14\/wp-json\/wp\/v2\/comments?post=172"}],"version-history":[{"count":4,"href":"https:\/\/www.joshuarosenstock.com\/teaching\/IMGD3200_B14\/wp-json\/wp\/v2\/posts\/172\/revisions"}],"predecessor-version":[{"id":207,"href":"https:\/\/www.joshuarosenstock.com\/teaching\/IMGD3200_B14\/wp-json\/wp\/v2\/posts\/172\/revisions\/207"}],"wp:attachment":[{"href":"https:\/\/www.joshuarosenstock.com\/teaching\/IMGD3200_B14\/wp-json\/wp\/v2\/media?parent=172"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.joshuarosenstock.com\/teaching\/IMGD3200_B14\/wp-json\/wp\/v2\/categories?post=172"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.joshuarosenstock.com\/teaching\/IMGD3200_B14\/wp-json\/wp\/v2\/tags?post=172"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}