# Jasmine's firts space invaders game!

**URL:** <https://forum.makecode.com/t/jasmines-firts-space-invaders-game/6097>\
**Category:** Arcade\
**Tags:** game\
**Created:** [February 10, 2021, 6:21pm UTC](https://forum.makecode.com/t/jasmines-firts-space-invaders-game/6097 "2021-02-10T18:21:30Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jazzyawsome](https://avatars.discourse-cdn.com/v4/letter/j/b9e5f3/32.png) [@Jazzyawsome](https://forum.makecode.com/u/Jazzyawsome)\
**Post date:** [February 10, 2021, 6:21pm UTC](https://forum.makecode.com/t/jasmines-firts-space-invaders-game/6097/1 "2021-02-10T18:21:31Z")

</div>

> **[Jasmine's firts space invaders game!](https://arcade.makecode.com/61139-95875-19271-65647)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

---

<div class="post-metadata">

**Author:** ![cosmoscowboy](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/cosmoscowboy/32/1718_2.png) [@cosmoscowboy](https://forum.makecode.com/u/cosmoscowboy)\
**Post date:** [February 10, 2021, 7:46pm UTC](https://forum.makecode.com/t/jasmines-firts-space-invaders-game/6097/2 "2021-02-10T19:46:29Z")

</div>

Jasmine, this is a great first game, well done.

Something I want to draw your attention to, is the overlap events. You need to use the sprite references in the block, instead of ‘sprite2’. Otherwise, when there are two enemies on the screen, only the last one created actually points to ‘mySprite2’.

 ![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/9/907a94fd611a95cae6ea0c69831240f6f82c673b.png)

So in the first overlap event, Player overlaps Enemy, you need to destroy ‘otherSprite’. To do this, click and drag the round block ‘otherSprite’ to the destroy function. So the function reads:

- destroy ‘otherSprite’ with ‘ashes’ effect for ‘550’ ms

In the second overlap event, Projectile overlaps Enemy, again, use ‘otherSprite’. If you want, you could also destroy the projectile; in that case:

- destroy ‘sprite’
- destroy ‘otherSprite’ with ‘fire’ for ‘500’ ms

Feel free to ask if you have any questions.

Welcome to Arcade and I hope you have fun programming. 👍

---

<div class="post-metadata">

**Author:** ![ggiscool](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/ggiscool/32/3431_2.png) [@ggiscool](https://forum.makecode.com/u/ggiscool)\
**Post date:** [February 10, 2021, 7:46pm UTC](https://forum.makecode.com/t/jasmines-firts-space-invaders-game/6097/3 "2021-02-10T19:46:36Z")

</div>

Good job, had a bug but I fixed it  
 ![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/4/4c959e8146629bcc0915ed4842f6e8f6208db30a.png)

> **[Jasmine's firts space invaders game!](https://arcade.makecode.com/57616-54781-51671-63941)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

---

<div class="post-metadata">

**Author:** ![xavvvvvv](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/xavvvvvv/32/15324_2.png) [@xavvvvvv](https://forum.makecode.com/u/xavvvvvv)\
**Post date:** [February 11, 2021, 4:52pm UTC](https://forum.makecode.com/t/jasmines-firts-space-invaders-game/6097/4 "2021-02-11T16:52:14Z")

</div>

Awesome game.

---

<div class="post-metadata">

**Author:** ![xavvvvvv](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/xavvvvvv/32/15324_2.png) [@xavvvvvv](https://forum.makecode.com/u/xavvvvvv)\
**Post date:** [February 11, 2021, 4:52pm UTC](https://forum.makecode.com/t/jasmines-firts-space-invaders-game/6097/5 "2021-02-11T16:52:22Z")

</div>

Keep up the work.

---

<div class="post-metadata">

**Author:** ![xavvvvvv](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/xavvvvvv/32/15324_2.png) [@xavvvvvv](https://forum.makecode.com/u/xavvvvvv)\
**Post date:** [February 11, 2021, 7:28pm UTC](https://forum.makecode.com/t/jasmines-firts-space-invaders-game/6097/6 "2021-02-11T19:28:38Z")

</div>

Well done Well done.

---

<div class="post-metadata">

**Author:** ![xavvvvvv](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/xavvvvvv/32/15324_2.png) [@xavvvvvv](https://forum.makecode.com/u/xavvvvvv)\
**Post date:** [February 11, 2021, 7:28pm UTC](https://forum.makecode.com/t/jasmines-firts-space-invaders-game/6097/7 "2021-02-11T19:28:40Z")

</div>

Nice @ggiscool

---

<div class="post-metadata">

**Author:** ![ggiscool](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/ggiscool/32/3431_2.png) [@ggiscool](https://forum.makecode.com/u/ggiscool)\
**Post date:** [February 11, 2021, 7:41pm UTC](https://forum.makecode.com/t/jasmines-firts-space-invaders-game/6097/8 "2021-02-11T19:41:38Z")

</div>

It was nothing.

---

<div class="post-metadata">

**Author:** ![xavvvvvv](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/xavvvvvv/32/15324_2.png) [@xavvvvvv](https://forum.makecode.com/u/xavvvvvv)\
**Post date:** [February 11, 2021, 7:46pm UTC](https://forum.makecode.com/t/jasmines-firts-space-invaders-game/6097/9 "2021-02-11T19:46:55Z")

</div>

Just saying nice.

---

<div class="post-metadata">

**Author:** ![ggiscool](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/ggiscool/32/3431_2.png) [@ggiscool](https://forum.makecode.com/u/ggiscool)\
**Post date:** [February 11, 2021, 9:24pm UTC](https://forum.makecode.com/t/jasmines-firts-space-invaders-game/6097/10 "2021-02-11T21:24:08Z")

</div>

well thank you. 😅

---

<div class="post-metadata">

**Author:** ![xavvvvvv](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/xavvvvvv/32/15324_2.png) [@xavvvvvv](https://forum.makecode.com/u/xavvvvvv)\
**Post date:** [February 11, 2021, 9:58pm UTC](https://forum.makecode.com/t/jasmines-firts-space-invaders-game/6097/11 "2021-02-11T21:58:19Z")

</div>

Your welcome.
