{"id":4498,"date":"2024-09-23T16:27:57","date_gmt":"2024-09-23T20:27:57","guid":{"rendered":"https:\/\/openlab.bmcc.cuny.edu\/mmp-210-fall-2024\/?p=4498"},"modified":"2024-09-23T16:28:03","modified_gmt":"2024-09-23T20:28:03","slug":"player-movement-and-sprite","status":"publish","type":"post","link":"https:\/\/openlab.bmcc.cuny.edu\/mmp-210-fall-2024\/2024\/09\/23\/player-movement-and-sprite\/","title":{"rendered":"Player movement and sprite"},"content":{"rendered":"\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"556\" src=\"https:\/\/openlab.bmcc.cuny.edu\/mmp-210-fall-2024\/wp-content\/uploads\/sites\/3895\/2024\/09\/bird_sprite-1024x556.png\" alt=\"\" class=\"wp-image-4500\" srcset=\"https:\/\/openlab.bmcc.cuny.edu\/mmp-210-fall-2024\/wp-content\/uploads\/sites\/3895\/2024\/09\/bird_sprite-1024x556.png 1024w, https:\/\/openlab.bmcc.cuny.edu\/mmp-210-fall-2024\/wp-content\/uploads\/sites\/3895\/2024\/09\/bird_sprite-300x163.png 300w, https:\/\/openlab.bmcc.cuny.edu\/mmp-210-fall-2024\/wp-content\/uploads\/sites\/3895\/2024\/09\/bird_sprite-768x417.png 768w, https:\/\/openlab.bmcc.cuny.edu\/mmp-210-fall-2024\/wp-content\/uploads\/sites\/3895\/2024\/09\/bird_sprite.png 1280w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>This is the animation code for the player sprite.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"556\" src=\"https:\/\/openlab.bmcc.cuny.edu\/mmp-210-fall-2024\/wp-content\/uploads\/sites\/3895\/2024\/09\/player_sprite_1-1024x556.png\" alt=\"\" class=\"wp-image-4501\" srcset=\"https:\/\/openlab.bmcc.cuny.edu\/mmp-210-fall-2024\/wp-content\/uploads\/sites\/3895\/2024\/09\/player_sprite_1-1024x556.png 1024w, https:\/\/openlab.bmcc.cuny.edu\/mmp-210-fall-2024\/wp-content\/uploads\/sites\/3895\/2024\/09\/player_sprite_1-300x163.png 300w, https:\/\/openlab.bmcc.cuny.edu\/mmp-210-fall-2024\/wp-content\/uploads\/sites\/3895\/2024\/09\/player_sprite_1-768x417.png 768w, https:\/\/openlab.bmcc.cuny.edu\/mmp-210-fall-2024\/wp-content\/uploads\/sites\/3895\/2024\/09\/player_sprite_1.png 1280w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>This is the movement code for the player sprite.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"594\" src=\"https:\/\/openlab.bmcc.cuny.edu\/mmp-210-fall-2024\/wp-content\/uploads\/sites\/3895\/2024\/09\/player_sprite_2-1024x594.png\" alt=\"\" class=\"wp-image-4502\" srcset=\"https:\/\/openlab.bmcc.cuny.edu\/mmp-210-fall-2024\/wp-content\/uploads\/sites\/3895\/2024\/09\/player_sprite_2-1024x594.png 1024w, https:\/\/openlab.bmcc.cuny.edu\/mmp-210-fall-2024\/wp-content\/uploads\/sites\/3895\/2024\/09\/player_sprite_2-300x174.png 300w, https:\/\/openlab.bmcc.cuny.edu\/mmp-210-fall-2024\/wp-content\/uploads\/sites\/3895\/2024\/09\/player_sprite_2-768x445.png 768w, https:\/\/openlab.bmcc.cuny.edu\/mmp-210-fall-2024\/wp-content\/uploads\/sites\/3895\/2024\/09\/player_sprite_2.png 1392w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>This is the beginning of my bird sprite code.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"556\" src=\"https:\/\/openlab.bmcc.cuny.edu\/mmp-210-fall-2024\/wp-content\/uploads\/sites\/3895\/2024\/09\/preview-2-1024x556.png\" alt=\"\" class=\"wp-image-4499\" srcset=\"https:\/\/openlab.bmcc.cuny.edu\/mmp-210-fall-2024\/wp-content\/uploads\/sites\/3895\/2024\/09\/preview-2-1024x556.png 1024w, https:\/\/openlab.bmcc.cuny.edu\/mmp-210-fall-2024\/wp-content\/uploads\/sites\/3895\/2024\/09\/preview-2-300x163.png 300w, https:\/\/openlab.bmcc.cuny.edu\/mmp-210-fall-2024\/wp-content\/uploads\/sites\/3895\/2024\/09\/preview-2-768x417.png 768w, https:\/\/openlab.bmcc.cuny.edu\/mmp-210-fall-2024\/wp-content\/uploads\/sites\/3895\/2024\/09\/preview-2.png 1280w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Here&#8217;s the game with the player and the bird sprite.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This is the animation code for the player sprite. This is the movement code for the player sprite. This is the beginning of my bird sprite code. Here&#8217;s the game with the player and the bird sprite.<\/p>\n","protected":false},"author":34,"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":[11],"class_list":["post-4498","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\/4498","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\/34"}],"replies":[{"embeddable":true,"href":"https:\/\/openlab.bmcc.cuny.edu\/mmp-210-fall-2024\/wp-json\/wp\/v2\/comments?post=4498"}],"version-history":[{"count":1,"href":"https:\/\/openlab.bmcc.cuny.edu\/mmp-210-fall-2024\/wp-json\/wp\/v2\/posts\/4498\/revisions"}],"predecessor-version":[{"id":4503,"href":"https:\/\/openlab.bmcc.cuny.edu\/mmp-210-fall-2024\/wp-json\/wp\/v2\/posts\/4498\/revisions\/4503"}],"wp:attachment":[{"href":"https:\/\/openlab.bmcc.cuny.edu\/mmp-210-fall-2024\/wp-json\/wp\/v2\/media?parent=4498"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/openlab.bmcc.cuny.edu\/mmp-210-fall-2024\/wp-json\/wp\/v2\/categories?post=4498"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/openlab.bmcc.cuny.edu\/mmp-210-fall-2024\/wp-json\/wp\/v2\/tags?post=4498"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/openlab.bmcc.cuny.edu\/mmp-210-fall-2024\/wp-json\/wp\/v2\/coauthors?post=4498"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}