{"id":804,"date":"2025-05-18T23:10:35","date_gmt":"2025-05-18T13:10:35","guid":{"rendered":"http:\/\/electricadventures.net\/?p=804"},"modified":"2025-05-18T23:10:35","modified_gmt":"2025-05-18T13:10:35","slug":"lets-make-a-retro-game-ep8-move-and-shoot","status":"publish","type":"post","link":"https:\/\/electricadventures.net\/?p=804","title":{"rendered":"Lets Make a Retro Game Ep8: Move and Shoot"},"content":{"rendered":"\n<p>In this episode, we are going to get some objects moving on the screen by:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Testing the joystick direction and moving the player ship left or right<\/li>\n\n\n\n<li>Testing the joystick fire button and placing a bullet on the screen<\/li>\n\n\n\n<li>Moving the current player bullet up the screen.<\/li>\n<\/ul>\n\n\n\n<div class=\"wp-block-group is-nowrap is-layout-flex wp-container-core-group-is-layout-6c531013 wp-block-group-is-layout-flex\">\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"http:\/\/electricadventures.net\/wp-content\/uploads\/2025\/05\/image-137.png\" alt=\"\" class=\"wp-image-805\"\/><\/figure>\n<\/div>\n\n\n\n<p>I have included the complete code for this section, so you can follow through the various steps without having to worry about typing in code.<\/p>\n\n\n\n<p>The supplied code has two folders, Start, where we start in this episode, and End, the final code and a copy of the ROM file.<\/p>\n\n\n\n<p>The video associated with this episode is located here:<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"Lets Make a Retro Game - Episode 8 - Move and Shoot\" width=\"960\" height=\"540\" src=\"https:\/\/www.youtube.com\/embed\/sOo26obQy1E?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<p>Download the full article text <a href=\"https:\/\/github.com\/tony-cruise\/ElectricAdventuresArchive\/blob\/main\/LMARG\/LMARG-EP8-MoveAndShoot.pdf\" target=\"_blank\" rel=\"noreferrer noopener\">here<\/a> and the support source code files <a href=\"https:\/\/github.com\/tony-cruise\/ElectricAdventuresArchive\/blob\/main\/LMARG\/LMARG-EP8.zip\" target=\"_blank\" rel=\"noreferrer noopener\">here<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this episode, we are going to get some objects moving on the screen by: I have included the complete code for this section, so you can follow through the various steps without having to worry about typing in code. The supplied code has two folders, Start, where we start in this episode, and End,<\/p>\n","protected":false},"author":1,"featured_media":805,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[62],"tags":[],"class_list":["post-804","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-lets-make-a-retro-game"],"acf":[],"_links":{"self":[{"href":"https:\/\/electricadventures.net\/index.php?rest_route=\/wp\/v2\/posts\/804","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/electricadventures.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/electricadventures.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/electricadventures.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/electricadventures.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=804"}],"version-history":[{"count":1,"href":"https:\/\/electricadventures.net\/index.php?rest_route=\/wp\/v2\/posts\/804\/revisions"}],"predecessor-version":[{"id":806,"href":"https:\/\/electricadventures.net\/index.php?rest_route=\/wp\/v2\/posts\/804\/revisions\/806"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/electricadventures.net\/index.php?rest_route=\/wp\/v2\/media\/805"}],"wp:attachment":[{"href":"https:\/\/electricadventures.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=804"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/electricadventures.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=804"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/electricadventures.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=804"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}