{"id":1784,"date":"2021-12-16T11:52:13","date_gmt":"2021-12-16T16:52:13","guid":{"rendered":"https:\/\/openlab.bmcc.cuny.edu\/mmp-270-fall-2021\/?p=1784"},"modified":"2021-12-16T11:52:13","modified_gmt":"2021-12-16T16:52:13","slug":"obstacles-and-enemies-2","status":"publish","type":"post","link":"https:\/\/openlab.bmcc.cuny.edu\/mmp-270-fall-2021\/2021\/12\/16\/obstacles-and-enemies-2\/","title":{"rendered":"Obstacles and Enemies"},"content":{"rendered":"\n<p>I created a toxic pipe obstacle and chemtank bad guy that is in a suit with purple liquid filling the helmet and when the character dies the purple liquid spills out onto the floor as they fall over, I created frames for my static obstacle too but it gave me some problems when trying to put in an animated sprite instead, another issue I&#8217;m trying to figure out is why my enemy seems to be moving backwards when they start to move.<\/p>\n\n\n\n<figure class=\"wp-block-gallery columns-3 is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex\"><ul class=\"blocks-gallery-grid\"><li class=\"blocks-gallery-item\"><figure><img loading=\"lazy\" decoding=\"async\" width=\"128\" height=\"128\" src=\"https:\/\/openlab.bmcc.cuny.edu\/mmp-270-fall-2021\/wp-content\/uploads\/sites\/1770\/2021\/12\/Enemy-chemtank-attack.gif\" alt=\"\" data-id=\"1792\" data-link=\"https:\/\/openlab.bmcc.cuny.edu\/mmp-270-fall-2021\/?attachment_id=1792\" class=\"wp-image-1792\" \/><figcaption class=\"blocks-gallery-item__caption\">Attack<\/figcaption><\/figure><\/li><li class=\"blocks-gallery-item\"><figure><img loading=\"lazy\" decoding=\"async\" width=\"128\" height=\"128\" src=\"https:\/\/openlab.bmcc.cuny.edu\/mmp-270-fall-2021\/wp-content\/uploads\/sites\/1770\/2021\/12\/Enemy-chemtank-death.gif\" alt=\"\" data-id=\"1793\" data-link=\"https:\/\/openlab.bmcc.cuny.edu\/mmp-270-fall-2021\/?attachment_id=1793\" class=\"wp-image-1793\" \/><figcaption class=\"blocks-gallery-item__caption\">Death<\/figcaption><\/figure><\/li><li class=\"blocks-gallery-item\"><figure><img loading=\"lazy\" decoding=\"async\" width=\"128\" height=\"128\" src=\"https:\/\/openlab.bmcc.cuny.edu\/mmp-270-fall-2021\/wp-content\/uploads\/sites\/1770\/2021\/12\/Enemy-chemtank-walk.gif\" alt=\"\" data-id=\"1794\" data-link=\"https:\/\/openlab.bmcc.cuny.edu\/mmp-270-fall-2021\/?attachment_id=1794\" class=\"wp-image-1794\" \/><figcaption class=\"blocks-gallery-item__caption\">Walk<\/figcaption><\/figure><\/li><li class=\"blocks-gallery-item\"><figure><img loading=\"lazy\" decoding=\"async\" width=\"128\" height=\"128\" src=\"https:\/\/openlab.bmcc.cuny.edu\/mmp-270-fall-2021\/wp-content\/uploads\/sites\/1770\/2021\/12\/Enemy-chemtank-idle.gif\" alt=\"\" data-id=\"1795\" data-link=\"https:\/\/openlab.bmcc.cuny.edu\/mmp-270-fall-2021\/?attachment_id=1795\" class=\"wp-image-1795\" \/><figcaption class=\"blocks-gallery-item__caption\">Idle<\/figcaption><\/figure><\/li><li class=\"blocks-gallery-item\"><figure><img loading=\"lazy\" decoding=\"async\" width=\"128\" height=\"128\" src=\"https:\/\/openlab.bmcc.cuny.edu\/mmp-270-fall-2021\/wp-content\/uploads\/sites\/1770\/2021\/12\/Obstacle-.gif\" alt=\"\" data-id=\"1796\" data-link=\"https:\/\/openlab.bmcc.cuny.edu\/mmp-270-fall-2021\/?attachment_id=1796\" class=\"wp-image-1796\" \/><figcaption class=\"blocks-gallery-item__caption\">Obstacle<br><\/figcaption><\/figure><\/li><\/ul><\/figure>\n\n\n\n<figure class=\"wp-block-video\"><video height=\"720\" style=\"aspect-ratio: 1280 \/ 720;\" width=\"1280\" controls src=\"https:\/\/openlab.bmcc.cuny.edu\/mmp-270-fall-2021\/wp-content\/uploads\/sites\/1770\/2021\/12\/obsticles-and-enemy-video.mp4\"><\/video><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"384\" height=\"96\" src=\"https:\/\/openlab.bmcc.cuny.edu\/mmp-270-fall-2021\/wp-content\/uploads\/sites\/1770\/2021\/12\/Enemy-chemtank-idle.png\" alt=\"\" class=\"wp-image-1785\" srcset=\"https:\/\/openlab.bmcc.cuny.edu\/mmp-270-fall-2021\/wp-content\/uploads\/sites\/1770\/2021\/12\/Enemy-chemtank-idle.png 384w, https:\/\/openlab.bmcc.cuny.edu\/mmp-270-fall-2021\/wp-content\/uploads\/sites\/1770\/2021\/12\/Enemy-chemtank-idle-300x75.png 300w\" sizes=\"auto, (max-width: 384px) 100vw, 384px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"480\" height=\"96\" src=\"https:\/\/openlab.bmcc.cuny.edu\/mmp-270-fall-2021\/wp-content\/uploads\/sites\/1770\/2021\/12\/Enemy-chemtank-walk.png\" alt=\"\" class=\"wp-image-1786\" srcset=\"https:\/\/openlab.bmcc.cuny.edu\/mmp-270-fall-2021\/wp-content\/uploads\/sites\/1770\/2021\/12\/Enemy-chemtank-walk.png 480w, https:\/\/openlab.bmcc.cuny.edu\/mmp-270-fall-2021\/wp-content\/uploads\/sites\/1770\/2021\/12\/Enemy-chemtank-walk-300x60.png 300w\" sizes=\"auto, (max-width: 480px) 100vw, 480px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-gallery columns-1 is-cropped wp-block-gallery-2 is-layout-flex wp-block-gallery-is-layout-flex\"><ul class=\"blocks-gallery-grid\"><li class=\"blocks-gallery-item\"><figure><img loading=\"lazy\" decoding=\"async\" width=\"768\" height=\"192\" src=\"https:\/\/openlab.bmcc.cuny.edu\/mmp-270-fall-2021\/wp-content\/uploads\/sites\/1770\/2021\/12\/Enemy-chemtank-death.png\" alt=\"\" data-id=\"1787\" data-link=\"https:\/\/openlab.bmcc.cuny.edu\/mmp-270-fall-2021\/?attachment_id=1787\" class=\"wp-image-1787\" srcset=\"https:\/\/openlab.bmcc.cuny.edu\/mmp-270-fall-2021\/wp-content\/uploads\/sites\/1770\/2021\/12\/Enemy-chemtank-death.png 768w, https:\/\/openlab.bmcc.cuny.edu\/mmp-270-fall-2021\/wp-content\/uploads\/sites\/1770\/2021\/12\/Enemy-chemtank-death-300x75.png 300w\" sizes=\"auto, (max-width: 768px) 100vw, 768px\" \/><\/figure><\/li><\/ul><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"672\" height=\"96\" src=\"https:\/\/openlab.bmcc.cuny.edu\/mmp-270-fall-2021\/wp-content\/uploads\/sites\/1770\/2021\/12\/Enemy-chemtank-attack-1.png\" alt=\"\" class=\"wp-image-1789\" srcset=\"https:\/\/openlab.bmcc.cuny.edu\/mmp-270-fall-2021\/wp-content\/uploads\/sites\/1770\/2021\/12\/Enemy-chemtank-attack-1.png 672w, https:\/\/openlab.bmcc.cuny.edu\/mmp-270-fall-2021\/wp-content\/uploads\/sites\/1770\/2021\/12\/Enemy-chemtank-attack-1-300x43.png 300w\" sizes=\"auto, (max-width: 672px) 100vw, 672px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"768\" height=\"192\" src=\"https:\/\/openlab.bmcc.cuny.edu\/mmp-270-fall-2021\/wp-content\/uploads\/sites\/1770\/2021\/12\/Obstacle-pipe.png\" alt=\"\" class=\"wp-image-1790\" srcset=\"https:\/\/openlab.bmcc.cuny.edu\/mmp-270-fall-2021\/wp-content\/uploads\/sites\/1770\/2021\/12\/Obstacle-pipe.png 768w, https:\/\/openlab.bmcc.cuny.edu\/mmp-270-fall-2021\/wp-content\/uploads\/sites\/1770\/2021\/12\/Obstacle-pipe-300x75.png 300w\" sizes=\"auto, (max-width: 768px) 100vw, 768px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>I created a toxic pipe obstacle and chemtank bad guy that is in a suit with purple liquid filling the helmet and when the character dies the purple liquid spills out onto the floor as they fall over, I created frames for my static obstacle too but it gave me some problems when trying to&hellip; <a class=\"more-link\" href=\"https:\/\/openlab.bmcc.cuny.edu\/mmp-270-fall-2021\/2021\/12\/16\/obstacles-and-enemies-2\/\">Continue reading <span class=\"screen-reader-text\">Obstacles and Enemies<\/span><\/a><\/p>\n","protected":false},"author":317,"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":[42,69],"tags":[],"coauthors":[28],"class_list":["post-1784","post","type-post","status-publish","format-standard","hentry","category-artist","category-obstacles-and-enemies","entry"],"_links":{"self":[{"href":"https:\/\/openlab.bmcc.cuny.edu\/mmp-270-fall-2021\/wp-json\/wp\/v2\/posts\/1784","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/openlab.bmcc.cuny.edu\/mmp-270-fall-2021\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/openlab.bmcc.cuny.edu\/mmp-270-fall-2021\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/openlab.bmcc.cuny.edu\/mmp-270-fall-2021\/wp-json\/wp\/v2\/users\/317"}],"replies":[{"embeddable":true,"href":"https:\/\/openlab.bmcc.cuny.edu\/mmp-270-fall-2021\/wp-json\/wp\/v2\/comments?post=1784"}],"version-history":[{"count":1,"href":"https:\/\/openlab.bmcc.cuny.edu\/mmp-270-fall-2021\/wp-json\/wp\/v2\/posts\/1784\/revisions"}],"predecessor-version":[{"id":1799,"href":"https:\/\/openlab.bmcc.cuny.edu\/mmp-270-fall-2021\/wp-json\/wp\/v2\/posts\/1784\/revisions\/1799"}],"wp:attachment":[{"href":"https:\/\/openlab.bmcc.cuny.edu\/mmp-270-fall-2021\/wp-json\/wp\/v2\/media?parent=1784"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/openlab.bmcc.cuny.edu\/mmp-270-fall-2021\/wp-json\/wp\/v2\/categories?post=1784"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/openlab.bmcc.cuny.edu\/mmp-270-fall-2021\/wp-json\/wp\/v2\/tags?post=1784"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/openlab.bmcc.cuny.edu\/mmp-270-fall-2021\/wp-json\/wp\/v2\/coauthors?post=1784"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}