{"id":838,"date":"2025-05-22T13:54:38","date_gmt":"2025-05-22T03:54:38","guid":{"rendered":"http:\/\/electricadventures.net\/?p=838"},"modified":"2025-05-22T13:54:38","modified_gmt":"2025-05-22T03:54:38","slug":"lets-make-a-retro-game-ep13-more-enemies","status":"publish","type":"post","link":"https:\/\/electricadventures.net\/?p=838","title":{"rendered":"Lets Make a Retro Game: EP13: More Enemies"},"content":{"rendered":"\n<p>In this episode, we are going to enhance the generation of the enemy objects.\u00a0<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"http:\/\/electricadventures.net\/wp-content\/uploads\/2025\/05\/Screenshot-2025-05-22-135311.png\" alt=\"\" class=\"wp-image-839\"\/><\/figure>\n\n\n\n<p>Currently, we are only making the same type of asteroid appear, whereas we want a variety of enemies to appear on screen with different movement logic and behaviour.<\/p>\n\n\n\n<p>We won\u2019t cover all the eventual enemy types in this episode, but we will put together the framework so we can add more in the next episode.<\/p>\n\n\n\n<p>The supplied code has two folders, Start, where we start the episode and End, the final code and a copy of the ROM file.\u00a0<\/p>\n\n\n\n<p><a href=\"https:\/\/github.com\/tony-cruise\/ElectricAdventuresArchive\/blob\/main\/LMARG\/LMARG-EP13.zip\">Download Source Code<\/a>.<\/p>\n\n\n\n<p>The video associated with this episode is located\u00a0here:<\/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=\"Let&#039;s Make a Retro Game - EP13 - More Enemies\" width=\"960\" height=\"540\" src=\"https:\/\/www.youtube.com\/embed\/l2SK8oomNgY?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>The full article text is in the attached PDF document\u00a0<a href=\"https:\/\/github.com\/tony-cruise\/ElectricAdventuresArchive\/blob\/main\/LMARG\/LMARG-EP13-MoreEnemies.pdf\" target=\"_blank\" rel=\"noreferrer noopener\">here<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this episode, we are going to enhance the generation of the enemy objects.\u00a0 Currently, we are only making the same type of asteroid appear, whereas we want a variety of enemies to appear on screen with different movement logic and behaviour. We won\u2019t cover all the eventual enemy types in this episode, but we<\/p>\n","protected":false},"author":1,"featured_media":839,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[62],"tags":[],"class_list":["post-838","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\/838","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=838"}],"version-history":[{"count":1,"href":"https:\/\/electricadventures.net\/index.php?rest_route=\/wp\/v2\/posts\/838\/revisions"}],"predecessor-version":[{"id":840,"href":"https:\/\/electricadventures.net\/index.php?rest_route=\/wp\/v2\/posts\/838\/revisions\/840"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/electricadventures.net\/index.php?rest_route=\/wp\/v2\/media\/839"}],"wp:attachment":[{"href":"https:\/\/electricadventures.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=838"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/electricadventures.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=838"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/electricadventures.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=838"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}