{"id":522,"date":"2022-02-21T00:04:57","date_gmt":"2022-02-21T05:04:57","guid":{"rendered":"https:\/\/www.joshuarosenstock.com\/teaching\/imgd-fundamentals-22\/?p=522"},"modified":"2022-02-21T00:04:57","modified_gmt":"2022-02-21T05:04:57","slug":"2d-animation-and-interactivity-flappy-drev","status":"publish","type":"post","link":"https:\/\/www.joshuarosenstock.com\/teaching\/imgd-fundamentals-22\/tedrevitch\/2d-animation-and-interactivity-flappy-drev\/","title":{"rendered":"2D Animation and Interactivity &#8211; Flappy Drev"},"content":{"rendered":"\n<p>I have made a lot of progress with my game!  I still have so much more to add to get it working the way I want, but it is starting to come together as an actual game now.  I was able to program the pipes to move across the screen and spawn at random heights.  They can now collide with the player now which is perfect.  Next I will add movement with the player itself so the user can try to avoid the pipes.  I also would like to go through and update the assets that I am using when I find time, because my artwork could be better.<\/p>\n\n\n\n<figure class=\"wp-block-video\"><video controls src=\"https:\/\/www.joshuarosenstock.com\/teaching\/imgd-fundamentals-22\/wp-content\/uploads\/sites\/22\/2022\/02\/Flappy-Drev-Animation-Test.mov\"><\/video><\/figure>\n\n\n\n<p>Tomorrow we are learning how to use the Makey Makey kit to make a controller for our game.  I just got mine in the mail, so I am very excited about learning how to use it!<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.joshuarosenstock.com\/teaching\/imgd-fundamentals-22\/wp-content\/uploads\/sites\/22\/2022\/02\/Screen-Shot-2022-02-21-at-12.02.09-AM.png\"><img loading=\"lazy\" decoding=\"async\" width=\"895\" height=\"1024\" src=\"https:\/\/www.joshuarosenstock.com\/teaching\/imgd-fundamentals-22\/wp-content\/uploads\/sites\/22\/2022\/02\/Screen-Shot-2022-02-21-at-12.02.09-AM-895x1024.png\" alt=\"\" class=\"wp-image-524\" srcset=\"https:\/\/www.joshuarosenstock.com\/teaching\/imgd-fundamentals-22\/wp-content\/uploads\/sites\/22\/2022\/02\/Screen-Shot-2022-02-21-at-12.02.09-AM-895x1024.png 895w, https:\/\/www.joshuarosenstock.com\/teaching\/imgd-fundamentals-22\/wp-content\/uploads\/sites\/22\/2022\/02\/Screen-Shot-2022-02-21-at-12.02.09-AM-699x800.png 699w, https:\/\/www.joshuarosenstock.com\/teaching\/imgd-fundamentals-22\/wp-content\/uploads\/sites\/22\/2022\/02\/Screen-Shot-2022-02-21-at-12.02.09-AM-768x879.png 768w, https:\/\/www.joshuarosenstock.com\/teaching\/imgd-fundamentals-22\/wp-content\/uploads\/sites\/22\/2022\/02\/Screen-Shot-2022-02-21-at-12.02.09-AM-262x300.png 262w, https:\/\/www.joshuarosenstock.com\/teaching\/imgd-fundamentals-22\/wp-content\/uploads\/sites\/22\/2022\/02\/Screen-Shot-2022-02-21-at-12.02.09-AM.png 1176w\" sizes=\"auto, (max-width: 895px) 100vw, 895px\" \/><\/a><\/figure>\n\n\n\n<p>When I get more animation and interactivity working, I will try to update this particular post to reflect those changes!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I have made a lot of progress with my game! I still have so much more to add to get it working the way I want, but it is starting to come together as an actual game now. I was able to program the pipes to move across the screen and spawn at random heights&#8230;. <\/p>\n<div class=\"link-more\"><a href=\"https:\/\/www.joshuarosenstock.com\/teaching\/imgd-fundamentals-22\/tedrevitch\/2d-animation-and-interactivity-flappy-drev\/\">Read More<\/a><\/div>\n","protected":false},"author":255,"featured_media":525,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"cybocfi_hide_featured_image":"","footnotes":""},"categories":[23],"tags":[31,33,26,30,34],"class_list":["post-522","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-2d-animation-interactivity","tag-2d","tag-animation","tag-flappy","tag-flappy-drev","tag-interactivity"],"jetpack_featured_media_url":"https:\/\/www.joshuarosenstock.com\/teaching\/imgd-fundamentals-22\/wp-content\/uploads\/sites\/22\/2022\/02\/Screen-Shot-2022-02-21-at-12.04.19-AM.png","_links":{"self":[{"href":"https:\/\/www.joshuarosenstock.com\/teaching\/imgd-fundamentals-22\/wp-json\/wp\/v2\/posts\/522","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.joshuarosenstock.com\/teaching\/imgd-fundamentals-22\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.joshuarosenstock.com\/teaching\/imgd-fundamentals-22\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.joshuarosenstock.com\/teaching\/imgd-fundamentals-22\/wp-json\/wp\/v2\/users\/255"}],"replies":[{"embeddable":true,"href":"https:\/\/www.joshuarosenstock.com\/teaching\/imgd-fundamentals-22\/wp-json\/wp\/v2\/comments?post=522"}],"version-history":[{"count":1,"href":"https:\/\/www.joshuarosenstock.com\/teaching\/imgd-fundamentals-22\/wp-json\/wp\/v2\/posts\/522\/revisions"}],"predecessor-version":[{"id":526,"href":"https:\/\/www.joshuarosenstock.com\/teaching\/imgd-fundamentals-22\/wp-json\/wp\/v2\/posts\/522\/revisions\/526"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.joshuarosenstock.com\/teaching\/imgd-fundamentals-22\/wp-json\/wp\/v2\/media\/525"}],"wp:attachment":[{"href":"https:\/\/www.joshuarosenstock.com\/teaching\/imgd-fundamentals-22\/wp-json\/wp\/v2\/media?parent=522"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.joshuarosenstock.com\/teaching\/imgd-fundamentals-22\/wp-json\/wp\/v2\/categories?post=522"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.joshuarosenstock.com\/teaching\/imgd-fundamentals-22\/wp-json\/wp\/v2\/tags?post=522"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}