{"id":5590,"date":"2025-01-01T04:20:07","date_gmt":"2025-01-01T04:20:07","guid":{"rendered":"https:\/\/obsidiansofteducation.com\/?page_id=5590"},"modified":"2025-01-01T04:20:07","modified_gmt":"2025-01-01T04:20:07","slug":"space-invader-game-in-mit-app-inventor-app-inventor-space-invader-game","status":"publish","type":"page","link":"https:\/\/obsidiansofteducation.com\/index.php\/space-invader-game-in-mit-app-inventor-app-inventor-space-invader-game\/","title":{"rendered":"Space Invader Game in MIT App Inventor &#8211; App Inventor Space Invader Game"},"content":{"rendered":"\n<p>Hello friends and welcome to Obsidian Soft.<\/p>\n\n\n\n<p>This tutorial is about making a very cool Space Invader Game in MIT App Inventor. You can have a look at the demo on my YouTube channel.<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-rich is-provider-embed-handler wp-block-embed-embed-handler wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<p class=\"responsive-video-wrap clr\"><iframe loading=\"lazy\" title=\"How to make Space Invader Game in MIT App Inventor | Space Invader Game Demo | #shorts #viralshorts\" width=\"1200\" height=\"675\" src=\"https:\/\/www.youtube.com\/embed\/yQteZvQAxe0?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><\/p>\n<\/div><\/figure>\n\n\n\n<p>First of all, we need some nice images for our game to look attractive. I am using the following images and sound effects.<\/p>\n\n\n\n<p><strong>Rocket ship:<\/strong> https:\/\/www.clipartmax.com\/download\/m2i8i8G6m2Z5G6b1_juegos-de-ni%C3%B1os-cute-rocket-ship-clipart\/ <strong>Space background:<\/strong> https:\/\/unsplash.com\/wallpapers\/nature\/space <strong>UFO\/Alien Ship:<\/strong> https:\/\/www.clipartmax.com\/middle\/m2i8G6m2A0i8A0Z5_cartoon-ufo\/ <strong>Laser sound:<\/strong> https:\/\/pixabay.com\/sound-effects\/search\/laser\/ <strong>Explosion Image: <\/strong>https:\/\/toppng.com\/show_download\/168966\/explosion-png-hd-transparent-explosion-hd-explosion-clipart-transparent\/large<\/p>\n\n\n\n<p><strong>Explosion sound:<\/strong> https:\/\/pixabay.com\/sound-effects\/search\/explosion\/<\/p>\n\n\n\n<p>Download the above assets and open up MIT App Inventor.<\/p>\n\n\n\n<p>Create a new project Space Invader. In the media section, upload rocket ship, UFO, explosion, and space background images. Also, upload the two sound effects: laser and explosion sound.<\/p>\n\n\n\n<p>For Screen1 properties, change the title to Space Invaders. Set orientation to portrait mode.<\/p>\n\n\n\n<p>Drag and drop a canvas from <strong>Drawing and Animation<\/strong> onto the viewer. Make its width fill parent and height 80%. Make its background the space background image that you uploaded earlier.<\/p>\n\n\n\n<p>Drag and drop two image sprites from <strong>Drawing and Animation<\/strong> onto the viewer. Rename one to rocketShipImg and rename the other to alienShipImg.<\/p>\n\n\n\n<p>Set picture property of rocketship image sprite to the rocketship.png and set height to 100 and width to 80 pixels. This looks good for me but if you are using some other rocket ship image, you will have to adjust your height and width accordingly. Similarly, set the picture property of the alien ship to the UFO image and set the height to 90 and width to 120 pixels.<\/p>\n\n\n\n<p>Add another image sprite for explosion. Rename it to explosionImg. Set the source to the uploaded explosion image. Make its width and height 100 pixels.\u00a0<br><\/p>\n\n\n\n<p>Drag and drop a ball sprite from drawing and animation onto canvas. Make the color orange and make radius=8. This will be our bullet so rename it to bulletImg.<\/p>\n\n\n\n<p>Add a clock from the sensor. Set the timer enabled to false and set the timer interval to 1000. This is in milliseconds (ms) so 1000ms means 1 second.<\/p>\n\n\n\n<p>Add one horizontal layout with width fill parent and height 15%. Make the color of the layout green.<\/p>\n\n\n\n<p>Add a score label and another label for containing the actual score. add a reset button. Put empty labels between them for space.<\/p>\n\n\n\n<p>Score Lbl: 20%<\/p>\n\n\n\n<p>Lbl 1: 5%<\/p>\n\n\n\n<p>Score : 20%<\/p>\n\n\n\n<p>Lbl 2: 10%<\/p>\n\n\n\n<p>Button: 35% Rounded, black with green text that says Reset. Rename the button to resetBtn.<\/p>\n\n\n\n<p>From <strong>Media<\/strong>, add two sounds for laser and explosion. Rename both sound effects appropriately and link the source to the relevant sound effects that you uploaded earlier.<\/p>\n\n\n\n<p>The screen has been designed so let\u2019s work on the blocks section now.<\/p>\n\n\n\n<p>Our rocket ship is always near the bottom of the canvas. So make sure that it is given the correct position when screen&nbsp; is initialized.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"229\" src=\"https:\/\/obsidiansofteducation.com\/wp-content\/uploads\/2025\/01\/image-35-1024x229.png\" alt=\"\" class=\"wp-image-5591\" srcset=\"https:\/\/obsidiansofteducation.com\/wp-content\/uploads\/2025\/01\/image-35-1024x229.png 1024w, https:\/\/obsidiansofteducation.com\/wp-content\/uploads\/2025\/01\/image-35-300x67.png 300w, https:\/\/obsidiansofteducation.com\/wp-content\/uploads\/2025\/01\/image-35-768x171.png 768w, https:\/\/obsidiansofteducation.com\/wp-content\/uploads\/2025\/01\/image-35.png 1156w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Next, we want to move the rocket ship anytime the user taps on the canvas anywhere to that position\u2019s x point. But we need to calculate that in terms of rocket ship image sprite because if we just change rocket\u2019s X to getX, rocket will move too half width towards right so we will reduce half of the rocketship\u2019s width so that our rocket goes exactly to the point where we touched.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"195\" src=\"https:\/\/obsidiansofteducation.com\/wp-content\/uploads\/2025\/01\/image-38-1024x195.png\" alt=\"\" class=\"wp-image-5594\" srcset=\"https:\/\/obsidiansofteducation.com\/wp-content\/uploads\/2025\/01\/image-38-1024x195.png 1024w, https:\/\/obsidiansofteducation.com\/wp-content\/uploads\/2025\/01\/image-38-300x57.png 300w, https:\/\/obsidiansofteducation.com\/wp-content\/uploads\/2025\/01\/image-38-768x146.png 768w, https:\/\/obsidiansofteducation.com\/wp-content\/uploads\/2025\/01\/image-38-1536x293.png 1536w, https:\/\/obsidiansofteducation.com\/wp-content\/uploads\/2025\/01\/image-38.png 1616w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>And we also want to hide our explosion image sprite and show it only when an alien ship is destroyed so hide it too when the screen is initialized. Similarly, our bullet should also be hidden when the game starts so our screen1. Initialize event now looks like this:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"334\" src=\"https:\/\/obsidiansofteducation.com\/wp-content\/uploads\/2025\/01\/image-41-1024x334.png\" alt=\"\" class=\"wp-image-5599\" srcset=\"https:\/\/obsidiansofteducation.com\/wp-content\/uploads\/2025\/01\/image-41-1024x334.png 1024w, https:\/\/obsidiansofteducation.com\/wp-content\/uploads\/2025\/01\/image-41-300x98.png 300w, https:\/\/obsidiansofteducation.com\/wp-content\/uploads\/2025\/01\/image-41-768x251.png 768w, https:\/\/obsidiansofteducation.com\/wp-content\/uploads\/2025\/01\/image-41.png 1176w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>There are several features we want our bullet to have in this game. We want it to shoot from the rocket, collide with the alien ship, and be invisible after the collision and before being shot. Also, we want to make sure that the bullet appears again when we shoot from the rocket.&nbsp;<\/p>\n\n\n\n<p>The first thing is that when we touch the rocket, we want the bullet to start heading toward the alien ship. We will do this by using RocketSprite.Touched event handler. When the rocket is touched, we not only want to set the bullet to be visible, but we also want to set the speed and heading of the bullet. Heading is a value from 0 to 360 that indicates what direction the sprite should be moving towards. 0\/360 is to the left, 90 is up, 180 is right, and 270 is down. The speed is measured in pixels\/sec.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"742\" height=\"378\" src=\"https:\/\/obsidiansofteducation.com\/wp-content\/uploads\/2025\/01\/image-39.png\" alt=\"\" class=\"wp-image-5595\" srcset=\"https:\/\/obsidiansofteducation.com\/wp-content\/uploads\/2025\/01\/image-39.png 742w, https:\/\/obsidiansofteducation.com\/wp-content\/uploads\/2025\/01\/image-39-300x153.png 300w\" sizes=\"auto, (max-width: 742px) 100vw, 742px\" \/><\/figure>\n\n\n\n<p>The last thing we need to program is what happens when the bullet hits the alien ship. We will use the Bullet.CollidedWith event handler. This event is called whenever the bullet collides with another sprite. Since our rocket sprite is locked into a Y at the bottom of the screen, the bullet will never collide with the rocket and only with the alien ship. On collision we want two things to happen. 1. The score should increase by 1. 2. The bullet should become invisible. We could have made a variable for score but as work can be done using a label so there is no need.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"372\" src=\"https:\/\/obsidiansofteducation.com\/wp-content\/uploads\/2025\/01\/image-40-1024x372.png\" alt=\"\" class=\"wp-image-5598\" srcset=\"https:\/\/obsidiansofteducation.com\/wp-content\/uploads\/2025\/01\/image-40-1024x372.png 1024w, https:\/\/obsidiansofteducation.com\/wp-content\/uploads\/2025\/01\/image-40-300x109.png 300w, https:\/\/obsidiansofteducation.com\/wp-content\/uploads\/2025\/01\/image-40-768x279.png 768w, https:\/\/obsidiansofteducation.com\/wp-content\/uploads\/2025\/01\/image-40.png 1118w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Also, we want to make sure that the bullet always starts from the rocketship as it is firing from there. So let&#8217;s add a move to block to rocketship touched code. Also, play fire\/laser sound when the bullet is fired.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"531\" src=\"https:\/\/obsidiansofteducation.com\/wp-content\/uploads\/2025\/01\/image-42-1024x531.png\" alt=\"\" class=\"wp-image-5600\" srcset=\"https:\/\/obsidiansofteducation.com\/wp-content\/uploads\/2025\/01\/image-42-1024x531.png 1024w, https:\/\/obsidiansofteducation.com\/wp-content\/uploads\/2025\/01\/image-42-300x156.png 300w, https:\/\/obsidiansofteducation.com\/wp-content\/uploads\/2025\/01\/image-42-768x398.png 768w, https:\/\/obsidiansofteducation.com\/wp-content\/uploads\/2025\/01\/image-42.png 1080w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>You may have noticed that if you miss the alien ship, the bullet moves to the top of the screen and gets stuck there until you try shooting again. To make the bullet disappear when it hits the top edge of our canvas, we need to use the Bullet.EdgeReached event handler.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"844\" height=\"276\" src=\"https:\/\/obsidiansofteducation.com\/wp-content\/uploads\/2025\/01\/image-36.png\" alt=\"\" class=\"wp-image-5592\" srcset=\"https:\/\/obsidiansofteducation.com\/wp-content\/uploads\/2025\/01\/image-36.png 844w, https:\/\/obsidiansofteducation.com\/wp-content\/uploads\/2025\/01\/image-36-300x98.png 300w, https:\/\/obsidiansofteducation.com\/wp-content\/uploads\/2025\/01\/image-36-768x251.png 768w\" sizes=\"auto, (max-width: 844px) 100vw, 844px\" \/><\/figure>\n\n\n\n<p>To continue the game, we need to make the alien ship change its position after being destroyed.<\/p>\n\n\n\n<p>After the bullet collides with the alien ship, let\u2019s play our explosion sound, and hide the alien ship for a while so we need to enable the 1000 ms (1 second) timer clock. And also show the explosion image in place of alien ship.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"620\" src=\"https:\/\/obsidiansofteducation.com\/wp-content\/uploads\/2025\/01\/image-44-1024x620.png\" alt=\"\" class=\"wp-image-5602\" srcset=\"https:\/\/obsidiansofteducation.com\/wp-content\/uploads\/2025\/01\/image-44-1024x620.png 1024w, https:\/\/obsidiansofteducation.com\/wp-content\/uploads\/2025\/01\/image-44-300x182.png 300w, https:\/\/obsidiansofteducation.com\/wp-content\/uploads\/2025\/01\/image-44-768x465.png 768w, https:\/\/obsidiansofteducation.com\/wp-content\/uploads\/2025\/01\/image-44.png 1146w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>When the timer goes off, first disable the timer, give a random x position to the alien ship, and then make the alien ship visible and make the explosion invisible.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"208\" src=\"https:\/\/obsidiansofteducation.com\/wp-content\/uploads\/2025\/01\/image-43-1024x208.png\" alt=\"\" class=\"wp-image-5601\" srcset=\"https:\/\/obsidiansofteducation.com\/wp-content\/uploads\/2025\/01\/image-43-1024x208.png 1024w, https:\/\/obsidiansofteducation.com\/wp-content\/uploads\/2025\/01\/image-43-300x61.png 300w, https:\/\/obsidiansofteducation.com\/wp-content\/uploads\/2025\/01\/image-43-768x156.png 768w, https:\/\/obsidiansofteducation.com\/wp-content\/uploads\/2025\/01\/image-43-1536x313.png 1536w, https:\/\/obsidiansofteducation.com\/wp-content\/uploads\/2025\/01\/image-43.png 1966w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Also, add code for the reset button to reset the score to 0.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"660\" height=\"188\" src=\"https:\/\/obsidiansofteducation.com\/wp-content\/uploads\/2025\/01\/image-37.png\" alt=\"\" class=\"wp-image-5593\" srcset=\"https:\/\/obsidiansofteducation.com\/wp-content\/uploads\/2025\/01\/image-37.png 660w, https:\/\/obsidiansofteducation.com\/wp-content\/uploads\/2025\/01\/image-37-300x85.png 300w\" sizes=\"auto, (max-width: 660px) 100vw, 660px\" \/><\/figure>\n\n\n\n<p>Thank you for reading this tutorial. <\/p>\n\n\n\n<p>You can download the AIA file for this project.<\/p>\n\n\n\n<p><a href=\"https:\/\/drive.google.com\/file\/d\/10HzngCJKSDu9ZPFLPNd0lb453XoHE1GI\/view?usp=sharing\" target=\"_blank\" rel=\"noreferrer noopener\">SpaceInvaders.aia<\/a><\/p>\n\n\n\n<p>If you like my tutorials, please consider supporting me:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter is-resized\"><a href=\"https:\/\/obsidiansoft.gumroad.com\/l\/cxdft\"><img loading=\"lazy\" decoding=\"async\" width=\"372\" height=\"196\" src=\"https:\/\/obsidiansofteducation.com\/wp-content\/uploads\/2024\/12\/donate-button-1.png\" alt=\"\" class=\"wp-image-5381\" style=\"width:238px;height:auto\" srcset=\"https:\/\/obsidiansofteducation.com\/wp-content\/uploads\/2024\/12\/donate-button-1.png 372w, https:\/\/obsidiansofteducation.com\/wp-content\/uploads\/2024\/12\/donate-button-1-300x158.png 300w\" sizes=\"auto, (max-width: 372px) 100vw, 372px\" \/><\/a><\/figure>\n<\/div>\n\n\n<p>You can also watch the video tutorial:<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-rich is-provider-embed-handler wp-block-embed-embed-handler wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<p class=\"responsive-video-wrap clr\"><iframe loading=\"lazy\" title=\"How to make Space Invader Game in MIT App Inventor | Space Invaders MIT App Inventor\" width=\"1200\" height=\"675\" src=\"https:\/\/www.youtube.com\/embed\/mPPQVnLJS7U?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><\/p>\n<\/div><\/figure>\n\n\n\n<p>Please like my videos and share them with your friends and family. Also, subscribe to my channel and press the bell icon so you don&#8217;t miss any of the great projects I have planned for you.<\/p>\n\n\n\n<p><a href=\"https:\/\/www.youtube.com\/c\/obsidiansofteducation\">https:\/\/www.youtube.com\/c\/obsidiansofteducation<\/a><\/p>\n\n\n\n<p>Please like my social media pages for more educational resources and tips.<\/p>\n\n\n\n<p>Facebook:<a href=\"https:\/\/www.blogger.com\/blog\/page\/edit\/4947000819484484884\/7140650632339107612#\">&nbsp;https:\/\/www.facebook.com\/ObsidianSoft\/<\/a><\/p>\n\n\n\n<p>Instagram:<a href=\"https:\/\/www.blogger.com\/blog\/page\/edit\/4947000819484484884\/7140650632339107612#\">&nbsp;https:\/\/www.instagram.com\/obsidiansoftapps\/<\/a><\/p>\n\n\n\n<p>Pinterest:<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-rich is-provider-pinterest wp-block-embed-pinterest\"><div class=\"wp-block-embed__wrapper\">\n<div class=\"oceanwp-oembed-wrap clr\"><iframe loading=\"lazy\" title=\"Obsidian Soft\" src=\"https:\/\/assets.pinterest.com\/ext\/embed.html?grid=obsidiansoft&#038;src=oembed\" height=\"900\" width=\"450\" frameborder=\"0\" scrolling=\"no\" ><\/iframe><\/div>\n<\/div><\/figure>\n\n\n\n<p>For links to free educational apps, have a look at the\u00a0<a href=\"https:\/\/obsidiansofteducation.com\/index.php\/mobile-apps\/\">educational apps page<\/a><\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hello friends and welcome to Obsidian Soft. This tutorial is about making a very cool Space Invader Game in MIT App Inventor. You can have a look at the demo on my YouTube channel. First of all, we need some nice images for our game to look attractive. I am using the following images and [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-5590","page","type-page","status-publish","hentry","entry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Space Invader Game in MIT App Inventor - App Inventor Space Invader Game - ObsidianSoft<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/obsidiansofteducation.com\/index.php\/space-invader-game-in-mit-app-inventor-app-inventor-space-invader-game\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Space Invader Game in MIT App Inventor - App Inventor Space Invader Game - ObsidianSoft\" \/>\n<meta property=\"og:description\" content=\"Hello friends and welcome to Obsidian Soft. This tutorial is about making a very cool Space Invader Game in MIT App Inventor. You can have a look at the demo on my YouTube channel. First of all, we need some nice images for our game to look attractive. I am using the following images and [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/obsidiansofteducation.com\/index.php\/space-invader-game-in-mit-app-inventor-app-inventor-space-invader-game\/\" \/>\n<meta property=\"og:site_name\" content=\"ObsidianSoft\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/ObsidianSoft\/\" \/>\n<meta property=\"og:image\" content=\"https:\/\/obsidiansofteducation.com\/wp-content\/uploads\/2025\/01\/image-35-1024x229.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/obsidiansofteducation.com\/index.php\/space-invader-game-in-mit-app-inventor-app-inventor-space-invader-game\/\",\"url\":\"https:\/\/obsidiansofteducation.com\/index.php\/space-invader-game-in-mit-app-inventor-app-inventor-space-invader-game\/\",\"name\":\"Space Invader Game in MIT App Inventor - App Inventor Space Invader Game - ObsidianSoft\",\"isPartOf\":{\"@id\":\"https:\/\/obsidiansofteducation.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/obsidiansofteducation.com\/index.php\/space-invader-game-in-mit-app-inventor-app-inventor-space-invader-game\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/obsidiansofteducation.com\/index.php\/space-invader-game-in-mit-app-inventor-app-inventor-space-invader-game\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/obsidiansofteducation.com\/wp-content\/uploads\/2025\/01\/image-35-1024x229.png\",\"datePublished\":\"2025-01-01T04:20:07+00:00\",\"dateModified\":\"2025-01-01T04:20:07+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/obsidiansofteducation.com\/index.php\/space-invader-game-in-mit-app-inventor-app-inventor-space-invader-game\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/obsidiansofteducation.com\/index.php\/space-invader-game-in-mit-app-inventor-app-inventor-space-invader-game\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/obsidiansofteducation.com\/index.php\/space-invader-game-in-mit-app-inventor-app-inventor-space-invader-game\/#primaryimage\",\"url\":\"https:\/\/obsidiansofteducation.com\/wp-content\/uploads\/2025\/01\/image-35.png\",\"contentUrl\":\"https:\/\/obsidiansofteducation.com\/wp-content\/uploads\/2025\/01\/image-35.png\",\"width\":1156,\"height\":258},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/obsidiansofteducation.com\/index.php\/space-invader-game-in-mit-app-inventor-app-inventor-space-invader-game\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/obsidiansofteducation.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Space Invader Game in MIT App Inventor &#8211; App Inventor Space Invader Game\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/obsidiansofteducation.com\/#website\",\"url\":\"https:\/\/obsidiansofteducation.com\/\",\"name\":\"ObsidianSoftEducation\",\"description\":\"Scratch Coding and MIT App Inventor Tutorials along with worksheets and educational apps.\",\"publisher\":{\"@id\":\"https:\/\/obsidiansofteducation.com\/#\/schema\/person\/4d3344adc9455e0388c75dc03d7bd909\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/obsidiansofteducation.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/obsidiansofteducation.com\/#\/schema\/person\/4d3344adc9455e0388c75dc03d7bd909\",\"name\":\"ObsidianSoft\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/obsidiansofteducation.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/obsidiansofteducation.com\/wp-content\/uploads\/2025\/01\/logo-no-background.png\",\"contentUrl\":\"https:\/\/obsidiansofteducation.com\/wp-content\/uploads\/2025\/01\/logo-no-background.png\",\"width\":1200,\"height\":1200,\"caption\":\"ObsidianSoft\"},\"logo\":{\"@id\":\"https:\/\/obsidiansofteducation.com\/#\/schema\/person\/image\/\"},\"sameAs\":[\"http:\/\/obsidiansofteducation.com\",\"https:\/\/www.facebook.com\/ObsidianSoft\/\",\"https:\/\/www.instagram.com\/obsidiansoftapps\/\",\"https:\/\/www.pinterest.com\/obsidiansoft\/\",\"https:\/\/www.youtube.com\/c\/obsidiansofteducation\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Space Invader Game in MIT App Inventor - App Inventor Space Invader Game - ObsidianSoft","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:\/\/obsidiansofteducation.com\/index.php\/space-invader-game-in-mit-app-inventor-app-inventor-space-invader-game\/","og_locale":"en_US","og_type":"article","og_title":"Space Invader Game in MIT App Inventor - App Inventor Space Invader Game - ObsidianSoft","og_description":"Hello friends and welcome to Obsidian Soft. This tutorial is about making a very cool Space Invader Game in MIT App Inventor. You can have a look at the demo on my YouTube channel. First of all, we need some nice images for our game to look attractive. I am using the following images and [&hellip;]","og_url":"https:\/\/obsidiansofteducation.com\/index.php\/space-invader-game-in-mit-app-inventor-app-inventor-space-invader-game\/","og_site_name":"ObsidianSoft","article_publisher":"https:\/\/www.facebook.com\/ObsidianSoft\/","og_image":[{"url":"https:\/\/obsidiansofteducation.com\/wp-content\/uploads\/2025\/01\/image-35-1024x229.png","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/obsidiansofteducation.com\/index.php\/space-invader-game-in-mit-app-inventor-app-inventor-space-invader-game\/","url":"https:\/\/obsidiansofteducation.com\/index.php\/space-invader-game-in-mit-app-inventor-app-inventor-space-invader-game\/","name":"Space Invader Game in MIT App Inventor - App Inventor Space Invader Game - ObsidianSoft","isPartOf":{"@id":"https:\/\/obsidiansofteducation.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/obsidiansofteducation.com\/index.php\/space-invader-game-in-mit-app-inventor-app-inventor-space-invader-game\/#primaryimage"},"image":{"@id":"https:\/\/obsidiansofteducation.com\/index.php\/space-invader-game-in-mit-app-inventor-app-inventor-space-invader-game\/#primaryimage"},"thumbnailUrl":"https:\/\/obsidiansofteducation.com\/wp-content\/uploads\/2025\/01\/image-35-1024x229.png","datePublished":"2025-01-01T04:20:07+00:00","dateModified":"2025-01-01T04:20:07+00:00","breadcrumb":{"@id":"https:\/\/obsidiansofteducation.com\/index.php\/space-invader-game-in-mit-app-inventor-app-inventor-space-invader-game\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/obsidiansofteducation.com\/index.php\/space-invader-game-in-mit-app-inventor-app-inventor-space-invader-game\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/obsidiansofteducation.com\/index.php\/space-invader-game-in-mit-app-inventor-app-inventor-space-invader-game\/#primaryimage","url":"https:\/\/obsidiansofteducation.com\/wp-content\/uploads\/2025\/01\/image-35.png","contentUrl":"https:\/\/obsidiansofteducation.com\/wp-content\/uploads\/2025\/01\/image-35.png","width":1156,"height":258},{"@type":"BreadcrumbList","@id":"https:\/\/obsidiansofteducation.com\/index.php\/space-invader-game-in-mit-app-inventor-app-inventor-space-invader-game\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/obsidiansofteducation.com\/"},{"@type":"ListItem","position":2,"name":"Space Invader Game in MIT App Inventor &#8211; App Inventor Space Invader Game"}]},{"@type":"WebSite","@id":"https:\/\/obsidiansofteducation.com\/#website","url":"https:\/\/obsidiansofteducation.com\/","name":"ObsidianSoftEducation","description":"Scratch Coding and MIT App Inventor Tutorials along with worksheets and educational apps.","publisher":{"@id":"https:\/\/obsidiansofteducation.com\/#\/schema\/person\/4d3344adc9455e0388c75dc03d7bd909"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/obsidiansofteducation.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/obsidiansofteducation.com\/#\/schema\/person\/4d3344adc9455e0388c75dc03d7bd909","name":"ObsidianSoft","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/obsidiansofteducation.com\/#\/schema\/person\/image\/","url":"https:\/\/obsidiansofteducation.com\/wp-content\/uploads\/2025\/01\/logo-no-background.png","contentUrl":"https:\/\/obsidiansofteducation.com\/wp-content\/uploads\/2025\/01\/logo-no-background.png","width":1200,"height":1200,"caption":"ObsidianSoft"},"logo":{"@id":"https:\/\/obsidiansofteducation.com\/#\/schema\/person\/image\/"},"sameAs":["http:\/\/obsidiansofteducation.com","https:\/\/www.facebook.com\/ObsidianSoft\/","https:\/\/www.instagram.com\/obsidiansoftapps\/","https:\/\/www.pinterest.com\/obsidiansoft\/","https:\/\/www.youtube.com\/c\/obsidiansofteducation"]}]}},"_links":{"self":[{"href":"https:\/\/obsidiansofteducation.com\/index.php\/wp-json\/wp\/v2\/pages\/5590","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/obsidiansofteducation.com\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/obsidiansofteducation.com\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/obsidiansofteducation.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/obsidiansofteducation.com\/index.php\/wp-json\/wp\/v2\/comments?post=5590"}],"version-history":[{"count":1,"href":"https:\/\/obsidiansofteducation.com\/index.php\/wp-json\/wp\/v2\/pages\/5590\/revisions"}],"predecessor-version":[{"id":5603,"href":"https:\/\/obsidiansofteducation.com\/index.php\/wp-json\/wp\/v2\/pages\/5590\/revisions\/5603"}],"wp:attachment":[{"href":"https:\/\/obsidiansofteducation.com\/index.php\/wp-json\/wp\/v2\/media?parent=5590"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}