{"id":4669,"date":"2024-09-29T23:54:24","date_gmt":"2024-09-30T03:54:24","guid":{"rendered":"https:\/\/openlab.bmcc.cuny.edu\/mmp-210-fall-2024\/?p=4669"},"modified":"2024-09-29T23:54:29","modified_gmt":"2024-09-30T03:54:29","slug":"scratch-3","status":"publish","type":"post","link":"https:\/\/openlab.bmcc.cuny.edu\/mmp-210-fall-2024\/2024\/09\/29\/scratch-3\/","title":{"rendered":"scratch \/ #3"},"content":{"rendered":"\n<p class=\"has-text-align-center\">To add to my project, I decided to make a background; and give my sprite something to do.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"732\" height=\"455\" src=\"https:\/\/openlab.bmcc.cuny.edu\/mmp-210-fall-2024\/wp-content\/uploads\/sites\/3895\/2024\/09\/image.png\" alt=\"\" class=\"wp-image-4670\" srcset=\"https:\/\/openlab.bmcc.cuny.edu\/mmp-210-fall-2024\/wp-content\/uploads\/sites\/3895\/2024\/09\/image.png 732w, https:\/\/openlab.bmcc.cuny.edu\/mmp-210-fall-2024\/wp-content\/uploads\/sites\/3895\/2024\/09\/image-300x186.png 300w\" sizes=\"auto, (max-width: 732px) 100vw, 732px\" \/><\/figure>\n\n\n\n<p class=\"has-text-align-center\">I made it so my sprite would walk back and forth along the curvature of the hill I created.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"553\" src=\"https:\/\/openlab.bmcc.cuny.edu\/mmp-210-fall-2024\/wp-content\/uploads\/sites\/3895\/2024\/09\/image-1-1024x553.png\" alt=\"\" class=\"wp-image-4671\" srcset=\"https:\/\/openlab.bmcc.cuny.edu\/mmp-210-fall-2024\/wp-content\/uploads\/sites\/3895\/2024\/09\/image-1-1024x553.png 1024w, https:\/\/openlab.bmcc.cuny.edu\/mmp-210-fall-2024\/wp-content\/uploads\/sites\/3895\/2024\/09\/image-1-300x162.png 300w, https:\/\/openlab.bmcc.cuny.edu\/mmp-210-fall-2024\/wp-content\/uploads\/sites\/3895\/2024\/09\/image-1-768x415.png 768w, https:\/\/openlab.bmcc.cuny.edu\/mmp-210-fall-2024\/wp-content\/uploads\/sites\/3895\/2024\/09\/image-1-1536x829.png 1536w, https:\/\/openlab.bmcc.cuny.edu\/mmp-210-fall-2024\/wp-content\/uploads\/sites\/3895\/2024\/09\/image-1-1568x846.png 1568w, https:\/\/openlab.bmcc.cuny.edu\/mmp-210-fall-2024\/wp-content\/uploads\/sites\/3895\/2024\/09\/image-1.png 1886w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"has-text-align-center\">I also made it so when restarted, they start back at the hill in idle. There&#8217;s also a switch between the two walking sprites, to indicate they&#8217;re walking when pressing the left and right arrow keys. <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"562\" src=\"https:\/\/openlab.bmcc.cuny.edu\/mmp-210-fall-2024\/wp-content\/uploads\/sites\/3895\/2024\/09\/image-3-1024x562.png\" alt=\"\" class=\"wp-image-4674\" srcset=\"https:\/\/openlab.bmcc.cuny.edu\/mmp-210-fall-2024\/wp-content\/uploads\/sites\/3895\/2024\/09\/image-3-1024x562.png 1024w, https:\/\/openlab.bmcc.cuny.edu\/mmp-210-fall-2024\/wp-content\/uploads\/sites\/3895\/2024\/09\/image-3-300x165.png 300w, https:\/\/openlab.bmcc.cuny.edu\/mmp-210-fall-2024\/wp-content\/uploads\/sites\/3895\/2024\/09\/image-3-768x422.png 768w, https:\/\/openlab.bmcc.cuny.edu\/mmp-210-fall-2024\/wp-content\/uploads\/sites\/3895\/2024\/09\/image-3-1536x843.png 1536w, https:\/\/openlab.bmcc.cuny.edu\/mmp-210-fall-2024\/wp-content\/uploads\/sites\/3895\/2024\/09\/image-3-1568x861.png 1568w, https:\/\/openlab.bmcc.cuny.edu\/mmp-210-fall-2024\/wp-content\/uploads\/sites\/3895\/2024\/09\/image-3.png 1884w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>To add to my project, I decided to make a background; and give my sprite something to do. I made it so my sprite would walk back and forth along the curvature of the hill I created. I also made it so when restarted, they start back at the hill in idle. There&#8217;s also a&hellip; <a class=\"more-link\" href=\"https:\/\/openlab.bmcc.cuny.edu\/mmp-210-fall-2024\/2024\/09\/29\/scratch-3\/\">Continue reading <span class=\"screen-reader-text\">scratch \/ #3<\/span><\/a><\/p>\n","protected":false},"author":8809,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"portfolio_post_id":0,"portfolio_citation":"","portfolio_annotation":"","openlab_post_visibility":"","footnotes":""},"categories":[182],"tags":[],"coauthors":[177],"class_list":["post-4669","post","type-post","status-publish","format-standard","hentry","category-documentation","entry"],"_links":{"self":[{"href":"https:\/\/openlab.bmcc.cuny.edu\/mmp-210-fall-2024\/wp-json\/wp\/v2\/posts\/4669","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/openlab.bmcc.cuny.edu\/mmp-210-fall-2024\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/openlab.bmcc.cuny.edu\/mmp-210-fall-2024\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/openlab.bmcc.cuny.edu\/mmp-210-fall-2024\/wp-json\/wp\/v2\/users\/8809"}],"replies":[{"embeddable":true,"href":"https:\/\/openlab.bmcc.cuny.edu\/mmp-210-fall-2024\/wp-json\/wp\/v2\/comments?post=4669"}],"version-history":[{"count":1,"href":"https:\/\/openlab.bmcc.cuny.edu\/mmp-210-fall-2024\/wp-json\/wp\/v2\/posts\/4669\/revisions"}],"predecessor-version":[{"id":4675,"href":"https:\/\/openlab.bmcc.cuny.edu\/mmp-210-fall-2024\/wp-json\/wp\/v2\/posts\/4669\/revisions\/4675"}],"wp:attachment":[{"href":"https:\/\/openlab.bmcc.cuny.edu\/mmp-210-fall-2024\/wp-json\/wp\/v2\/media?parent=4669"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/openlab.bmcc.cuny.edu\/mmp-210-fall-2024\/wp-json\/wp\/v2\/categories?post=4669"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/openlab.bmcc.cuny.edu\/mmp-210-fall-2024\/wp-json\/wp\/v2\/tags?post=4669"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/openlab.bmcc.cuny.edu\/mmp-210-fall-2024\/wp-json\/wp\/v2\/coauthors?post=4669"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}