{"id":7028,"date":"2022-04-01T08:24:45","date_gmt":"2022-04-01T08:24:45","guid":{"rendered":"https:\/\/brightchamps.com\/blog\/?p=7028"},"modified":"2024-10-10T11:35:55","modified_gmt":"2024-10-10T11:35:55","slug":"make-asteroids-arcade-game-in-scratch","status":"publish","type":"post","link":"https:\/\/brightchamps.com\/blog\/make-asteroids-arcade-game-in-scratch\/","title":{"rendered":"How To Make An Awesome Asteroids Arcade Game In Scratch"},"content":{"rendered":"<div class=\"yoast-breadcrumbs\"><span><span><a href=\"https:\/\/brightchamps.com\/blog\/\">Home<\/a><\/span> \u00bb <span><a href=\"https:\/\/brightchamps.com\/blog\/code-for-kids\/\">Code for Kids Corner<\/a><\/span> \u00bb <span class=\"breadcrumb_last\" aria-current=\"page\"><strong>How To Make An Awesome Asteroids Arcade Game In Scratch<\/strong><\/span><\/span><\/div>\n\n\n<p class=\"wp-block-paragraph\">Asteroids are <a href=\"https:\/\/brightchamps.com\/blog\/create-space-adventure-game-scratch\/\">space<\/a> bodies revolving around the sun in the inner solar system continuously like planets. These may have different shapes like rocks or comets.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">So we are making an Asteroids Arcade Game in Scratch, where we have a<strong> spaceship<\/strong> that shoots all the asteroids with the help of<strong> bullets<\/strong> that come along its way by spinning around when we press the arrow keys. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Let us get straight into building it.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img fetchpriority=\"high\" fetchpriority=\"high\" decoding=\"async\" src=\"https:\/\/brightchamps.com\/blog\/wp-content\/uploads\/2022\/02\/Free-Kids-Coding-Resources-1024x512.jpg\" alt=\"Scratch Coding\" class=\"wp-image-4006\" width=\"768\" height=\"384\"\/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-how-to-make-asteroids-arcade-game-in-scratch\"><strong>How to Make Asteroids Arcade Game in Scratch<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Firstly, let us design our stage with a space-like appearance, by uploading a new backdrop from the choose a backdrop option.&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"451\" src=\"https:\/\/brightchamps.com\/blog\/wp-content\/uploads\/2022\/04\/How-To-Make-An-Awesome-Asteroids-Arcade-Game-In-Scratch-1-1024x451.png\" alt=\"How To Make An Awesome Asteroids Arcade Game In Scratch\" class=\"wp-image-7111\" srcset=\"https:\/\/brightchamps.com\/blog\/wp-content\/uploads\/2022\/04\/How-To-Make-An-Awesome-Asteroids-Arcade-Game-In-Scratch-1-980x431.png 980w, https:\/\/brightchamps.com\/blog\/wp-content\/uploads\/2022\/04\/How-To-Make-An-Awesome-Asteroids-Arcade-Game-In-Scratch-1-480x211.png 480w\" sizes=\"(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) and (max-width: 980px) 980px, (min-width: 981px) 1024px, 100vw\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"437\" src=\"https:\/\/brightchamps.com\/blog\/wp-content\/uploads\/2022\/04\/How-To-Make-An-Awesome-Asteroids-Arcade-Game-In-Scratch-2-1024x437.png\" alt=\"How To Make An Awesome Asteroids Arcade Game In Scratch\" class=\"wp-image-7112\" srcset=\"https:\/\/brightchamps.com\/blog\/wp-content\/uploads\/2022\/04\/How-To-Make-An-Awesome-Asteroids-Arcade-Game-In-Scratch-2-980x418.png 980w, https:\/\/brightchamps.com\/blog\/wp-content\/uploads\/2022\/04\/How-To-Make-An-Awesome-Asteroids-Arcade-Game-In-Scratch-2-480x205.png 480w\" sizes=\"(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) and (max-width: 980px) 980px, (min-width: 981px) 1024px, 100vw\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Let&#8217;s put together three costumes for our <strong>backdrop<\/strong>. One should be displayed initially, followed by another when the game is lost, and a third when we press the space bar to begin our game.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"446\" src=\"https:\/\/brightchamps.com\/blog\/wp-content\/uploads\/2022\/04\/How-To-Make-An-Awesome-Asteroids-Arcade-Game-In-Scratch-3-1024x446.png\" alt=\"How To Make An Awesome Asteroids Arcade Game In Scratch\" class=\"wp-image-7113\" srcset=\"https:\/\/brightchamps.com\/blog\/wp-content\/uploads\/2022\/04\/How-To-Make-An-Awesome-Asteroids-Arcade-Game-In-Scratch-3-980x427.png 980w, https:\/\/brightchamps.com\/blog\/wp-content\/uploads\/2022\/04\/How-To-Make-An-Awesome-Asteroids-Arcade-Game-In-Scratch-3-480x209.png 480w\" sizes=\"auto, (min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) and (max-width: 980px) 980px, (min-width: 981px) 1024px, 100vw\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"475\" src=\"https:\/\/brightchamps.com\/blog\/wp-content\/uploads\/2022\/04\/How-To-Make-An-Awesome-Asteroids-Arcade-Game-In-Scratch-4-1024x475.png\" alt=\"How To Make An Awesome Asteroids Arcade Game In Scratch\" class=\"wp-image-7114\" srcset=\"https:\/\/brightchamps.com\/blog\/wp-content\/uploads\/2022\/04\/How-To-Make-An-Awesome-Asteroids-Arcade-Game-In-Scratch-4-980x455.png 980w, https:\/\/brightchamps.com\/blog\/wp-content\/uploads\/2022\/04\/How-To-Make-An-Awesome-Asteroids-Arcade-Game-In-Scratch-4-480x223.png 480w\" sizes=\"auto, (min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) and (max-width: 980px) 980px, (min-width: 981px) 1024px, 100vw\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Let us <strong><a href=\"https:\/\/brightchamps.com\/blog\/coding-class-for-kids-near-me\/\" target=\"_blank\" rel=\"noreferrer noopener\">code<\/a><\/strong> for the first backdrop costume space to display it. From the events category select the event<strong> \u201cwhen green flag clicked\u201d <\/strong>and take the code<strong> switch backdrop<\/strong> to space from looks.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"501\" src=\"https:\/\/brightchamps.com\/blog\/wp-content\/uploads\/2022\/04\/How-To-Make-An-Awesome-Asteroids-Arcade-Game-In-Scratch-5-1024x501.png\" alt=\"How To Make An Awesome Asteroids Arcade Game In Scratch\" class=\"wp-image-7115\" srcset=\"https:\/\/brightchamps.com\/blog\/wp-content\/uploads\/2022\/04\/How-To-Make-An-Awesome-Asteroids-Arcade-Game-In-Scratch-5-980x479.png 980w, https:\/\/brightchamps.com\/blog\/wp-content\/uploads\/2022\/04\/How-To-Make-An-Awesome-Asteroids-Arcade-Game-In-Scratch-5-480x235.png 480w\" sizes=\"auto, (min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) and (max-width: 980px) 980px, (min-width: 981px) 1024px, 100vw\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Adding the <\/strong><a href=\"https:\/\/brightchamps.com\/blog\/grouping-sprites-in-scratch\/\"><strong>sprites<\/strong><\/a><strong>:<\/strong> Let&#8217;s add sprites, a player, bullet, asteroid, and explosion by uploading sprites of our choice.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"461\" src=\"https:\/\/brightchamps.com\/blog\/wp-content\/uploads\/2022\/04\/How-To-Make-An-Awesome-Asteroids-Arcade-Game-In-Scratch-6-1024x461.png\" alt=\"How To Make An Awesome Asteroids Arcade Game In Scratch\" class=\"wp-image-7116\" srcset=\"https:\/\/brightchamps.com\/blog\/wp-content\/uploads\/2022\/04\/How-To-Make-An-Awesome-Asteroids-Arcade-Game-In-Scratch-6-980x441.png 980w, https:\/\/brightchamps.com\/blog\/wp-content\/uploads\/2022\/04\/How-To-Make-An-Awesome-Asteroids-Arcade-Game-In-Scratch-6-480x216.png 480w\" sizes=\"auto, (min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) and (max-width: 980px) 980px, (min-width: 981px) 1024px, 100vw\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"379\" src=\"https:\/\/brightchamps.com\/blog\/wp-content\/uploads\/2022\/04\/How-To-Make-An-Awesome-Asteroids-Arcade-Game-In-Scratch-7-1024x379.png\" alt=\"How To Make An Awesome Asteroids Arcade Game In Scratch\" class=\"wp-image-7117\" srcset=\"https:\/\/brightchamps.com\/blog\/wp-content\/uploads\/2022\/04\/How-To-Make-An-Awesome-Asteroids-Arcade-Game-In-Scratch-7-980x362.png 980w, https:\/\/brightchamps.com\/blog\/wp-content\/uploads\/2022\/04\/How-To-Make-An-Awesome-Asteroids-Arcade-Game-In-Scratch-7-480x177.png 480w\" sizes=\"auto, (min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) and (max-width: 980px) 980px, (min-width: 981px) 1024px, 100vw\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Coding for the player:<\/strong> Let&#8217;s paint a spaceship for the player sprite and position it in the center of our stage, spinning to the left and right when the user presses the left and right arrow keys.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"470\" src=\"https:\/\/brightchamps.com\/blog\/wp-content\/uploads\/2022\/04\/How-To-Make-An-Awesome-Asteroids-Arcade-Game-In-Scratch-8-1024x470.png\" alt=\"How To Make An Awesome Asteroids Arcade Game In Scratch\" class=\"wp-image-7118\" srcset=\"https:\/\/brightchamps.com\/blog\/wp-content\/uploads\/2022\/04\/How-To-Make-An-Awesome-Asteroids-Arcade-Game-In-Scratch-8-980x450.png 980w, https:\/\/brightchamps.com\/blog\/wp-content\/uploads\/2022\/04\/How-To-Make-An-Awesome-Asteroids-Arcade-Game-In-Scratch-8-480x220.png 480w\" sizes=\"auto, (min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) and (max-width: 980px) 980px, (min-width: 981px) 1024px, 100vw\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Check the game by pressing the green flag. You will notice that you can spin your spaceship in the left and right direction with the arrow keys.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Let&#8217;s make sure we hide other sprites, which are the bullet, asteroid, and explosion, by adding the<strong> hide block<\/strong> from looks.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"468\" src=\"https:\/\/brightchamps.com\/blog\/wp-content\/uploads\/2022\/04\/How-To-Make-An-Awesome-Asteroids-Arcade-Game-In-Scratch-9-1024x468.png\" alt=\"How To Make An Awesome Asteroids Arcade Game In Scratch\" class=\"wp-image-7119\" srcset=\"https:\/\/brightchamps.com\/blog\/wp-content\/uploads\/2022\/04\/How-To-Make-An-Awesome-Asteroids-Arcade-Game-In-Scratch-9-980x448.png 980w, https:\/\/brightchamps.com\/blog\/wp-content\/uploads\/2022\/04\/How-To-Make-An-Awesome-Asteroids-Arcade-Game-In-Scratch-9-480x219.png 480w\" sizes=\"auto, (min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) and (max-width: 980px) 980px, (min-width: 981px) 1024px, 100vw\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"393\" src=\"https:\/\/brightchamps.com\/blog\/wp-content\/uploads\/2022\/04\/How-To-Make-An-Awesome-Asteroids-Arcade-Game-In-Scratch-10-1024x393.png\" alt=\"How To Make An Awesome Asteroids Arcade Game In Scratch\" class=\"wp-image-7120\" srcset=\"https:\/\/brightchamps.com\/blog\/wp-content\/uploads\/2022\/04\/How-To-Make-An-Awesome-Asteroids-Arcade-Game-In-Scratch-10-980x376.png 980w, https:\/\/brightchamps.com\/blog\/wp-content\/uploads\/2022\/04\/How-To-Make-An-Awesome-Asteroids-Arcade-Game-In-Scratch-10-480x184.png 480w\" sizes=\"auto, (min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) and (max-width: 980px) 980px, (min-width: 981px) 1024px, 100vw\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Coding for the bullet sprite:<\/strong> The user should be able to fire bullets by pressing the space key on the keyboard. Let us create a clone of the bullet sprite every time we press the space key.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Each bullet is going to appear where the spaceship is positioned and it&#8217;s going to fire in the direction that that spaceship is facing. We will now remove the bullet when it reaches the edge of the screen.<\/p>\n\n\n\n\n\n<p class=\"wp-block-paragraph\">The bullet should be fired according to the x and y position of the player. So take it from the <strong>sensing block<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"438\" src=\"https:\/\/brightchamps.com\/blog\/wp-content\/uploads\/2022\/04\/How-To-Make-An-Awesome-Asteroids-Arcade-Game-In-Scratch-11-1024x438.png\" alt=\"How To Make An Awesome Asteroids Arcade Game In Scratch\" class=\"wp-image-7121\" srcset=\"https:\/\/brightchamps.com\/blog\/wp-content\/uploads\/2022\/04\/How-To-Make-An-Awesome-Asteroids-Arcade-Game-In-Scratch-11-980x419.png 980w, https:\/\/brightchamps.com\/blog\/wp-content\/uploads\/2022\/04\/How-To-Make-An-Awesome-Asteroids-Arcade-Game-In-Scratch-11-480x205.png 480w\" sizes=\"auto, (min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) and (max-width: 980px) 980px, (min-width: 981px) 1024px, 100vw\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">When the player presses the space bar, a clone of the bullet is created and fired. So let&#8217;s start putting the codes together.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"414\" src=\"https:\/\/brightchamps.com\/blog\/wp-content\/uploads\/2022\/04\/How-To-Make-An-Awesome-Asteroids-Arcade-Game-In-Scratch-12-1024x414.png\" alt=\"How To Make An Awesome Asteroids Arcade Game In Scratch\" class=\"wp-image-7122\" srcset=\"https:\/\/brightchamps.com\/blog\/wp-content\/uploads\/2022\/04\/How-To-Make-An-Awesome-Asteroids-Arcade-Game-In-Scratch-12-980x396.png 980w, https:\/\/brightchamps.com\/blog\/wp-content\/uploads\/2022\/04\/How-To-Make-An-Awesome-Asteroids-Arcade-Game-In-Scratch-12-480x194.png 480w\" sizes=\"auto, (min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) and (max-width: 980px) 980px, (min-width: 981px) 1024px, 100vw\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">You can now add a block called the <strong>\u201dgo to the back\u201c<\/strong> layer from the looks palette to make the bullets appear behind the spaceship.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Changing the script so that you only fire one bullet when the space bar is pressed is a little more complicated.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To achieve this you&#8217;re going to create a local (for this sprite only) variable called&nbsp;<strong>pressing space?<\/strong>&nbsp;in&nbsp;<strong>Player<\/strong>.&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"437\" src=\"https:\/\/brightchamps.com\/blog\/wp-content\/uploads\/2022\/04\/How-To-Make-An-Awesome-Asteroids-Arcade-Game-In-Scratch-14-1024x437.png\" alt=\"How To Make An Awesome Asteroids Arcade Game In Scratch\" class=\"wp-image-7123\" srcset=\"https:\/\/brightchamps.com\/blog\/wp-content\/uploads\/2022\/04\/How-To-Make-An-Awesome-Asteroids-Arcade-Game-In-Scratch-14-980x418.png 980w, https:\/\/brightchamps.com\/blog\/wp-content\/uploads\/2022\/04\/How-To-Make-An-Awesome-Asteroids-Arcade-Game-In-Scratch-14-480x205.png 480w\" sizes=\"auto, (min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) and (max-width: 980px) 980px, (min-width: 981px) 1024px, 100vw\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">This is set to 1 when the space bar is pressed and is set to 0 when it isn&#8217;t.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">We can now freely turn our spaceship and bullets. Now, let&#8217;s add something at which the bullets are to be fired.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Let&#8217;s add asteroids to the game:<\/strong>&nbsp;To start with, you just want one asteroid that starts at a random place on the screen and drifts in a random direction.&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"442\" src=\"https:\/\/brightchamps.com\/blog\/wp-content\/uploads\/2022\/04\/How-To-Make-An-Awesome-Asteroids-Arcade-Game-In-Scratch-15-1024x442.png\" alt=\"How To Make An Awesome Asteroids Arcade Game In Scratch\" class=\"wp-image-7124\" srcset=\"https:\/\/brightchamps.com\/blog\/wp-content\/uploads\/2022\/04\/How-To-Make-An-Awesome-Asteroids-Arcade-Game-In-Scratch-15-980x423.png 980w, https:\/\/brightchamps.com\/blog\/wp-content\/uploads\/2022\/04\/How-To-Make-An-Awesome-Asteroids-Arcade-Game-In-Scratch-15-480x207.png 480w\" sizes=\"auto, (min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) and (max-width: 980px) 980px, (min-width: 981px) 1024px, 100vw\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">You don&#8217;t want the asteroid too near to the player or moving towards the player when it is created.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"422\" src=\"https:\/\/brightchamps.com\/blog\/wp-content\/uploads\/2022\/04\/How-To-Make-An-Awesome-Asteroids-Arcade-Game-In-Scratch-16-1024x422.png\" alt=\"How To Make An Awesome Asteroids Arcade Game In Scratch\" class=\"wp-image-7125\" srcset=\"https:\/\/brightchamps.com\/blog\/wp-content\/uploads\/2022\/04\/How-To-Make-An-Awesome-Asteroids-Arcade-Game-In-Scratch-16-980x403.png 980w, https:\/\/brightchamps.com\/blog\/wp-content\/uploads\/2022\/04\/How-To-Make-An-Awesome-Asteroids-Arcade-Game-In-Scratch-16-480x198.png 480w\" sizes=\"auto, (min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) and (max-width: 980px) 980px, (min-width: 981px) 1024px, 100vw\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Let&#8217;s make the asteroid move from one side and wrap it around the other. As a result, we will add the remaining blocks as shown in the image using conditional statements.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"422\" src=\"https:\/\/brightchamps.com\/blog\/wp-content\/uploads\/2022\/04\/How-To-Make-An-Awesome-Asteroids-Arcade-Game-In-Scratch-17-1024x422.png\" alt=\"How To Make An Awesome Asteroids Arcade Game In Scratch\" class=\"wp-image-7126\" srcset=\"https:\/\/brightchamps.com\/blog\/wp-content\/uploads\/2022\/04\/How-To-Make-An-Awesome-Asteroids-Arcade-Game-In-Scratch-17-980x403.png 980w, https:\/\/brightchamps.com\/blog\/wp-content\/uploads\/2022\/04\/How-To-Make-An-Awesome-Asteroids-Arcade-Game-In-Scratch-17-480x198.png 480w\" sizes=\"auto, (min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) and (max-width: 980px) 980px, (min-width: 981px) 1024px, 100vw\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">We must now <strong>create an asteroid clone<\/strong>. Let&#8217;s put this at the player&#8217;s end. When you add this code at the player\u2019s end, you will notice the asteroid drifting around and appearing from a random location.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Destroying the asteroid: <\/strong>let&#8217;s add the condition blocks at the end of bullets and the end of asteroids.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"404\" src=\"https:\/\/brightchamps.com\/blog\/wp-content\/uploads\/2022\/04\/How-To-Make-An-Awesome-Asteroids-Arcade-Game-In-Scratch-18-1024x404.png\" alt=\"How To Make An Awesome Asteroids Arcade Game In Scratch\" class=\"wp-image-7127\" srcset=\"https:\/\/brightchamps.com\/blog\/wp-content\/uploads\/2022\/04\/How-To-Make-An-Awesome-Asteroids-Arcade-Game-In-Scratch-18-980x386.png 980w, https:\/\/brightchamps.com\/blog\/wp-content\/uploads\/2022\/04\/How-To-Make-An-Awesome-Asteroids-Arcade-Game-In-Scratch-18-480x189.png 480w\" sizes=\"auto, (min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) and (max-width: 980px) 980px, (min-width: 981px) 1024px, 100vw\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">If touching a bullet, delete this clone at the end of the asteroids and the opposite in the bullet&#8217;s sprite. Adding a wait for a second will make this more realistic.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Let&#8217;s now <strong>add the explosion<\/strong>. This sprite can be dressed in a variety of outfits. let&#8217;s begin with the first costume by adding switch costume to explosion1 to the code which we did to hide before.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"406\" src=\"https:\/\/brightchamps.com\/blog\/wp-content\/uploads\/2022\/04\/How-To-Make-An-Awesome-Asteroids-Arcade-Game-In-Scratch-19-1024x406.png\" alt=\"How To Make An Awesome Asteroids Arcade Game In Scratch\" class=\"wp-image-7128\" srcset=\"https:\/\/brightchamps.com\/blog\/wp-content\/uploads\/2022\/04\/How-To-Make-An-Awesome-Asteroids-Arcade-Game-In-Scratch-19-980x389.png 980w, https:\/\/brightchamps.com\/blog\/wp-content\/uploads\/2022\/04\/How-To-Make-An-Awesome-Asteroids-Arcade-Game-In-Scratch-19-480x190.png 480w\" sizes=\"auto, (min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) and (max-width: 980px) 980px, (min-width: 981px) 1024px, 100vw\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">When we create an explosion, it should run through all the costumes before removing the clone.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">So we will make use of two variables explosionX and explosionY.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">When an asteroid is shot it will store its position in those variables and then create the explosion clone.&nbsp;Add the code to&nbsp;<strong>Explosion<\/strong>&nbsp;which will create the explosion using those variables for positioning, play through the costumes and then remove itself from the game.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"404\" src=\"https:\/\/brightchamps.com\/blog\/wp-content\/uploads\/2022\/04\/How-To-Make-An-Awesome-Asteroids-Arcade-Game-In-Scratch-20-1024x404.png\" alt=\"How To Make An Awesome Asteroids Arcade Game In Scratch\" class=\"wp-image-7129\" srcset=\"https:\/\/brightchamps.com\/blog\/wp-content\/uploads\/2022\/04\/How-To-Make-An-Awesome-Asteroids-Arcade-Game-In-Scratch-20-980x387.png 980w, https:\/\/brightchamps.com\/blog\/wp-content\/uploads\/2022\/04\/How-To-Make-An-Awesome-Asteroids-Arcade-Game-In-Scratch-20-480x189.png 480w\" sizes=\"auto, (min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) and (max-width: 980px) 980px, (min-width: 981px) 1024px, 100vw\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">We can now click the <strong>green flag<\/strong> and you can shoot the asteroid and watch it explode!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">It&#8217;s not a very challenging game yet, though, as the asteroid can pass straight through the spaceship without doing any harm to it.&nbsp;You need the asteroid to destroy the player&#8217;s ship if it collides. Add the following to the&nbsp;<strong>Player<\/strong>&nbsp;sprite just before the end of the forever loop:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"417\" src=\"https:\/\/brightchamps.com\/blog\/wp-content\/uploads\/2022\/04\/How-To-Make-An-Awesome-Asteroids-Arcade-Game-In-Scratch-21-1024x417.png\" alt=\"How To Make An Awesome Asteroids Arcade Game In Scratch\" class=\"wp-image-7130\" srcset=\"https:\/\/brightchamps.com\/blog\/wp-content\/uploads\/2022\/04\/How-To-Make-An-Awesome-Asteroids-Arcade-Game-In-Scratch-21-980x399.png 980w, https:\/\/brightchamps.com\/blog\/wp-content\/uploads\/2022\/04\/How-To-Make-An-Awesome-Asteroids-Arcade-Game-In-Scratch-21-480x196.png 480w\" sizes=\"auto, (min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) and (max-width: 980px) 980px, (min-width: 981px) 1024px, 100vw\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Let&#8217;s add a small gaming <\/strong><a href=\"https:\/\/brightchamps.com\/blog\/scratch-loops\/\"><strong>loop<\/strong><\/a> to restart the game after you&#8217;ve been killed instead of displaying Game Over.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"407\" src=\"https:\/\/brightchamps.com\/blog\/wp-content\/uploads\/2022\/04\/How-To-Make-An-Awesome-Asteroids-Arcade-Game-In-Scratch-22-1024x407.png\" alt=\"How To Make An Awesome Asteroids Arcade Game In Scratch\" class=\"wp-image-7131\" srcset=\"https:\/\/brightchamps.com\/blog\/wp-content\/uploads\/2022\/04\/How-To-Make-An-Awesome-Asteroids-Arcade-Game-In-Scratch-22-980x389.png 980w, https:\/\/brightchamps.com\/blog\/wp-content\/uploads\/2022\/04\/How-To-Make-An-Awesome-Asteroids-Arcade-Game-In-Scratch-22-480x191.png 480w\" sizes=\"auto, (min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) and (max-width: 980px) 980px, (min-width: 981px) 1024px, 100vw\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Conclusion<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This is how we can make an easy explosion game i.e an Asteroids Arcade Game in Scratch.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">We can add more challenges to this game by applying more conditions by adding a score, adding a bonus life when you reach a particular score level, and more.&nbsp;<\/p>\n\n\n<div id=\"cstm_banner_cta\"><\/div>\n\n\n<p class=\"wp-block-paragraph\">So go on and make your asteroids game more attractive and interesting by exploring codes in <a href=\"https:\/\/brightchamps.com\/blog\/guides\/scratch-programming\/\">Scratch<\/a> and learning them<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you want to try these readymade scripts for sprites and backdrop <a href=\"https:\/\/scratch.mit.edu\/projects\/168558339\/\">click here<\/a>!<\/p>\n\n\n\n\n\n<p class=\"wp-block-paragraph\">Learn Scratch at BrightChamps with its specially designed curriculum that makes learning programming easy for students in Grade 1-12. Many <a href=\"https:\/\/brightchamps.com\/blog\/top-coding-courses-for-kids-a-comprehensive-guide\/\">coding courses for kids<\/a> are available here, which helps them to start their career in coding. Also check out <a href=\"https:\/\/brightchamps.com\/blog\/coding-game-for-kids\/\">coding game for kids<\/a>.<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-wp-embed is-provider-brightchamps-blog wp-block-embed-brightchamps-blog\"><div class=\"wp-block-embed__wrapper\">\nhttps:\/\/brightchamps.com\/blog\/coding-game-for-kids\n<\/div><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">BrightChamps also teaches a variety of other programs that help kids build a foundation in computer programming through activities, interactive lessons, and other means.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Asteroids are space bodies revolving around the sun in the inner solar system continuously like planets. These may have different shapes like rocks or comets. So we are making an Asteroids Arcade Game in Scratch, where we have a spaceship that shoots all the asteroids with the help of bullets that come along its way [&hellip;]<\/p>\n","protected":false},"author":9,"featured_media":7536,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"off","_et_pb_old_content":"","_et_gb_content_width":"1080","footnotes":""},"categories":[49],"tags":[68],"class_list":["post-7028","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-code-for-kids","tag-codechamps"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How To Make An Awesome Asteroids Arcade Game In Scratch - BrightChamps Blog<\/title>\n<meta name=\"description\" content=\"So we are making an Asteroids Arcade Game in Scratch, where we have a spaceship that shoots all the asteroids with the help of bullets that\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/brightchamps.com\/blog\/make-asteroids-arcade-game-in-scratch\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How To Make An Awesome Asteroids Arcade Game In Scratch - BrightChamps Blog\" \/>\n<meta property=\"og:description\" content=\"So we are making an Asteroids Arcade Game in Scratch, where we have a spaceship that shoots all the asteroids with the help of bullets that\" \/>\n<meta property=\"og:url\" content=\"https:\/\/brightchamps.com\/blog\/make-asteroids-arcade-game-in-scratch\/\" \/>\n<meta property=\"og:site_name\" content=\"BrightChamps Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/BrightChamps-101266664954230\/\" \/>\n<meta property=\"article:published_time\" content=\"2022-04-01T08:24:45+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-10-10T11:35:55+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/brightchamps.com\/blog\/wp-content\/uploads\/2022\/04\/Make-An-Awesome-Asteroids-Arcade-Game-In-Scratch.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"2100\" \/>\n\t<meta property=\"og:image:height\" content=\"1185\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/webp\" \/>\n<meta name=\"author\" content=\"Hawwa Mahnoor Pharveen\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Hawwa Mahnoor Pharveen\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"27 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/brightchamps.com\\\/blog\\\/make-asteroids-arcade-game-in-scratch\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/brightchamps.com\\\/blog\\\/make-asteroids-arcade-game-in-scratch\\\/\"},\"author\":{\"name\":\"Hawwa Mahnoor Pharveen\",\"@id\":\"https:\\\/\\\/brightchamps.com\\\/blog\\\/#\\\/schema\\\/person\\\/8a6b100e120039270feeea5e9831b0cc\"},\"headline\":\"How To Make An Awesome Asteroids Arcade Game In Scratch\",\"datePublished\":\"2022-04-01T08:24:45+00:00\",\"dateModified\":\"2024-10-10T11:35:55+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/brightchamps.com\\\/blog\\\/make-asteroids-arcade-game-in-scratch\\\/\"},\"wordCount\":1036,\"publisher\":{\"@id\":\"https:\\\/\\\/brightchamps.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/brightchamps.com\\\/blog\\\/make-asteroids-arcade-game-in-scratch\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/brightchamps.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/04\\\/Make-An-Awesome-Asteroids-Arcade-Game-In-Scratch.webp\",\"keywords\":[\"CodeChamps\"],\"articleSection\":[\"Code for Kids Corner\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/brightchamps.com\\\/blog\\\/make-asteroids-arcade-game-in-scratch\\\/\",\"url\":\"https:\\\/\\\/brightchamps.com\\\/blog\\\/make-asteroids-arcade-game-in-scratch\\\/\",\"name\":\"How To Make An Awesome Asteroids Arcade Game In Scratch - BrightChamps Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/brightchamps.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/brightchamps.com\\\/blog\\\/make-asteroids-arcade-game-in-scratch\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/brightchamps.com\\\/blog\\\/make-asteroids-arcade-game-in-scratch\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/brightchamps.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/04\\\/Make-An-Awesome-Asteroids-Arcade-Game-In-Scratch.webp\",\"datePublished\":\"2022-04-01T08:24:45+00:00\",\"dateModified\":\"2024-10-10T11:35:55+00:00\",\"description\":\"So we are making an Asteroids Arcade Game in Scratch, where we have a spaceship that shoots all the asteroids with the help of bullets that\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/brightchamps.com\\\/blog\\\/make-asteroids-arcade-game-in-scratch\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/brightchamps.com\\\/blog\\\/make-asteroids-arcade-game-in-scratch\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/brightchamps.com\\\/blog\\\/make-asteroids-arcade-game-in-scratch\\\/#primaryimage\",\"url\":\"https:\\\/\\\/brightchamps.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/04\\\/Make-An-Awesome-Asteroids-Arcade-Game-In-Scratch.webp\",\"contentUrl\":\"https:\\\/\\\/brightchamps.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/04\\\/Make-An-Awesome-Asteroids-Arcade-Game-In-Scratch.webp\",\"width\":2100,\"height\":1185,\"caption\":\"Make-An-Awesome-Asteroids-Arcade-Game-In-Scratch\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/brightchamps.com\\\/blog\\\/make-asteroids-arcade-game-in-scratch\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/brightchamps.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Code for Kids Corner\",\"item\":\"https:\\\/\\\/brightchamps.com\\\/blog\\\/code-for-kids\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"How To Make An Awesome Asteroids Arcade Game In Scratch\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/brightchamps.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/brightchamps.com\\\/blog\\\/\",\"name\":\"BrightChamps Blog\",\"description\":\"BrightChamps Blog, also known as BrightChamps Hub is a go-to resource hub for everything on Coding for kids\",\"publisher\":{\"@id\":\"https:\\\/\\\/brightchamps.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/brightchamps.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/brightchamps.com\\\/blog\\\/#organization\",\"name\":\"BrightChamps\",\"url\":\"https:\\\/\\\/brightchamps.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/brightchamps.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/brightchamps.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/03\\\/BrightCHAMPS-logo-new-1.png\",\"contentUrl\":\"https:\\\/\\\/brightchamps.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/03\\\/BrightCHAMPS-logo-new-1.png\",\"width\":417,\"height\":80,\"caption\":\"BrightChamps\"},\"image\":{\"@id\":\"https:\\\/\\\/brightchamps.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/BrightChamps-101266664954230\\\/\",\"https:\\\/\\\/www.instagram.com\\\/brightchamps\\\/\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/brightchamps\\\/mycompany\\\/\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UC_Afe_rMGoK5Bs4nSt8QIzQ\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/brightchamps.com\\\/blog\\\/#\\\/schema\\\/person\\\/8a6b100e120039270feeea5e9831b0cc\",\"name\":\"Hawwa Mahnoor Pharveen\",\"description\":\"\u2b50\u2b50\u2b50\u2b50\u2b50 I am a coding instructor, but I also enjoy writing and am a part-time writer. Through BrightChamps, I aim to equip children with the technical skills they will need in a technology-driven present and future. Learn from Me\",\"url\":\"https:\\\/\\\/brightchamps.com\\\/blog\\\/author\\\/hawwamahnoor\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How To Make An Awesome Asteroids Arcade Game In Scratch - BrightChamps Blog","description":"So we are making an Asteroids Arcade Game in Scratch, where we have a spaceship that shoots all the asteroids with the help of bullets that","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/brightchamps.com\/blog\/make-asteroids-arcade-game-in-scratch\/","og_locale":"en_US","og_type":"article","og_title":"How To Make An Awesome Asteroids Arcade Game In Scratch - BrightChamps Blog","og_description":"So we are making an Asteroids Arcade Game in Scratch, where we have a spaceship that shoots all the asteroids with the help of bullets that","og_url":"https:\/\/brightchamps.com\/blog\/make-asteroids-arcade-game-in-scratch\/","og_site_name":"BrightChamps Blog","article_publisher":"https:\/\/www.facebook.com\/BrightChamps-101266664954230\/","article_published_time":"2022-04-01T08:24:45+00:00","article_modified_time":"2024-10-10T11:35:55+00:00","og_image":[{"width":2100,"height":1185,"url":"https:\/\/brightchamps.com\/blog\/wp-content\/uploads\/2022\/04\/Make-An-Awesome-Asteroids-Arcade-Game-In-Scratch.webp","type":"image\/webp"}],"author":"Hawwa Mahnoor Pharveen","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Hawwa Mahnoor Pharveen","Est. reading time":"27 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/brightchamps.com\/blog\/make-asteroids-arcade-game-in-scratch\/#article","isPartOf":{"@id":"https:\/\/brightchamps.com\/blog\/make-asteroids-arcade-game-in-scratch\/"},"author":{"name":"Hawwa Mahnoor Pharveen","@id":"https:\/\/brightchamps.com\/blog\/#\/schema\/person\/8a6b100e120039270feeea5e9831b0cc"},"headline":"How To Make An Awesome Asteroids Arcade Game In Scratch","datePublished":"2022-04-01T08:24:45+00:00","dateModified":"2024-10-10T11:35:55+00:00","mainEntityOfPage":{"@id":"https:\/\/brightchamps.com\/blog\/make-asteroids-arcade-game-in-scratch\/"},"wordCount":1036,"publisher":{"@id":"https:\/\/brightchamps.com\/blog\/#organization"},"image":{"@id":"https:\/\/brightchamps.com\/blog\/make-asteroids-arcade-game-in-scratch\/#primaryimage"},"thumbnailUrl":"https:\/\/brightchamps.com\/blog\/wp-content\/uploads\/2022\/04\/Make-An-Awesome-Asteroids-Arcade-Game-In-Scratch.webp","keywords":["CodeChamps"],"articleSection":["Code for Kids Corner"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/brightchamps.com\/blog\/make-asteroids-arcade-game-in-scratch\/","url":"https:\/\/brightchamps.com\/blog\/make-asteroids-arcade-game-in-scratch\/","name":"How To Make An Awesome Asteroids Arcade Game In Scratch - BrightChamps Blog","isPartOf":{"@id":"https:\/\/brightchamps.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/brightchamps.com\/blog\/make-asteroids-arcade-game-in-scratch\/#primaryimage"},"image":{"@id":"https:\/\/brightchamps.com\/blog\/make-asteroids-arcade-game-in-scratch\/#primaryimage"},"thumbnailUrl":"https:\/\/brightchamps.com\/blog\/wp-content\/uploads\/2022\/04\/Make-An-Awesome-Asteroids-Arcade-Game-In-Scratch.webp","datePublished":"2022-04-01T08:24:45+00:00","dateModified":"2024-10-10T11:35:55+00:00","description":"So we are making an Asteroids Arcade Game in Scratch, where we have a spaceship that shoots all the asteroids with the help of bullets that","breadcrumb":{"@id":"https:\/\/brightchamps.com\/blog\/make-asteroids-arcade-game-in-scratch\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/brightchamps.com\/blog\/make-asteroids-arcade-game-in-scratch\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/brightchamps.com\/blog\/make-asteroids-arcade-game-in-scratch\/#primaryimage","url":"https:\/\/brightchamps.com\/blog\/wp-content\/uploads\/2022\/04\/Make-An-Awesome-Asteroids-Arcade-Game-In-Scratch.webp","contentUrl":"https:\/\/brightchamps.com\/blog\/wp-content\/uploads\/2022\/04\/Make-An-Awesome-Asteroids-Arcade-Game-In-Scratch.webp","width":2100,"height":1185,"caption":"Make-An-Awesome-Asteroids-Arcade-Game-In-Scratch"},{"@type":"BreadcrumbList","@id":"https:\/\/brightchamps.com\/blog\/make-asteroids-arcade-game-in-scratch\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/brightchamps.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Code for Kids Corner","item":"https:\/\/brightchamps.com\/blog\/code-for-kids\/"},{"@type":"ListItem","position":3,"name":"How To Make An Awesome Asteroids Arcade Game In Scratch"}]},{"@type":"WebSite","@id":"https:\/\/brightchamps.com\/blog\/#website","url":"https:\/\/brightchamps.com\/blog\/","name":"BrightChamps Blog","description":"BrightChamps Blog, also known as BrightChamps Hub is a go-to resource hub for everything on Coding for kids","publisher":{"@id":"https:\/\/brightchamps.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/brightchamps.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/brightchamps.com\/blog\/#organization","name":"BrightChamps","url":"https:\/\/brightchamps.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/brightchamps.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/brightchamps.com\/blog\/wp-content\/uploads\/2026\/03\/BrightCHAMPS-logo-new-1.png","contentUrl":"https:\/\/brightchamps.com\/blog\/wp-content\/uploads\/2026\/03\/BrightCHAMPS-logo-new-1.png","width":417,"height":80,"caption":"BrightChamps"},"image":{"@id":"https:\/\/brightchamps.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/BrightChamps-101266664954230\/","https:\/\/www.instagram.com\/brightchamps\/","https:\/\/www.linkedin.com\/company\/brightchamps\/mycompany\/","https:\/\/www.youtube.com\/channel\/UC_Afe_rMGoK5Bs4nSt8QIzQ"]},{"@type":"Person","@id":"https:\/\/brightchamps.com\/blog\/#\/schema\/person\/8a6b100e120039270feeea5e9831b0cc","name":"Hawwa Mahnoor Pharveen","description":"\u2b50\u2b50\u2b50\u2b50\u2b50 I am a coding instructor, but I also enjoy writing and am a part-time writer. Through BrightChamps, I aim to equip children with the technical skills they will need in a technology-driven present and future. Learn from Me","url":"https:\/\/brightchamps.com\/blog\/author\/hawwamahnoor\/"}]}},"_links":{"self":[{"href":"https:\/\/brightchamps.com\/blog\/wp-json\/wp\/v2\/posts\/7028","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/brightchamps.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/brightchamps.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/brightchamps.com\/blog\/wp-json\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/brightchamps.com\/blog\/wp-json\/wp\/v2\/comments?post=7028"}],"version-history":[{"count":4,"href":"https:\/\/brightchamps.com\/blog\/wp-json\/wp\/v2\/posts\/7028\/revisions"}],"predecessor-version":[{"id":34463,"href":"https:\/\/brightchamps.com\/blog\/wp-json\/wp\/v2\/posts\/7028\/revisions\/34463"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/brightchamps.com\/blog\/wp-json\/wp\/v2\/media\/7536"}],"wp:attachment":[{"href":"https:\/\/brightchamps.com\/blog\/wp-json\/wp\/v2\/media?parent=7028"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/brightchamps.com\/blog\/wp-json\/wp\/v2\/categories?post=7028"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/brightchamps.com\/blog\/wp-json\/wp\/v2\/tags?post=7028"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}