# Defender explosion

**URL:** <https://forum.makecode.com/t/defender-explosion/1760>\
**Category:** Arcade\
**Tags:** graphics-and-math\
**Created:** [April 21, 2020, 5:45am UTC](https://forum.makecode.com/t/defender-explosion/1760 "2020-04-21T05:45:11Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![peli](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/peli/32/12_2.png) [@peli](https://forum.makecode.com/u/peli)\
**Post date:** [April 21, 2020, 5:45am UTC](https://forum.makecode.com/t/defender-explosion/1760/1 "2020-04-21T05:45:11Z")

</div>

After reading the article on Defender explosions in [Wireframe 1](https://wireframe.raspberrypi.org/issues/1) (page 33, Toolbox), I tried out this effect on Arcade. This is using sprites so it’s not as efficient as our particle system.

> **[explosion](https://arcade.makecode.com/90500-52082-12765-87458)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

See the original: [https://youtu.be/gss3lxeqCok?t=511](https://youtu.be/gss3lxeqCok?t=511)

---

<div class="post-metadata">

**Author:** ![peli](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/peli/32/12_2.png) [@peli](https://forum.makecode.com/u/peli)\
**Post date:** [April 21, 2020, 5:56am UTC](https://forum.makecode.com/t/defender-explosion/1760/2 "2020-04-21T05:56:34Z")

</div>

@jwunderl a show about creating particle effects? The effect could start from the sprite pixels and explode them.

---

<div class="post-metadata">

**Author:** ![jwunderl](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/jwunderl/32/5308_2.png) [@jwunderl](https://forum.makecode.com/u/jwunderl)\
**Post date:** [April 21, 2020, 6:25am UTC](https://forum.makecode.com/t/defender-explosion/1760/3 "2020-04-21T06:25:04Z")

</div>

a show as in a youtube video? This one’s likely easy enough that I could make it in a quick video, don’t think we’ve done any / many js videos yet though. (and if you mean a random sampling from the sprite’s colored pixels, that’s just the current `ashes` effect with velocity set like your example and setting acceleration to 0)

I did want to add an effect that mimics shannons jump ‘puff’ / dust cloud from the last stream too; maybe I’ll make an extension with those, and we could merge them in closer to next release.

(Not till after Thursday at least though hah)

---

<div class="post-metadata">

**Author:** ![peli](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/peli/32/12_2.png) [@peli](https://forum.makecode.com/u/peli)\
**Post date:** [April 21, 2020, 2:31pm UTC](https://forum.makecode.com/t/defender-explosion/1760/4 "2020-04-21T14:31:00Z")

</div>

More effects! Is there a guide on how to add them as an extension?

---

<div class="post-metadata">

**Author:** ![NxNMatrixGL](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/nxnmatrixgl/32/2553_2.png) [@NxNMatrixGL](https://forum.makecode.com/u/NxNMatrixGL)\
**Post date:** [March 20, 2021, 2:51am UTC](https://forum.makecode.com/t/defender-explosion/1760/5 "2021-03-20T02:51:26Z")

</div>

Awesome…thanks for the link to the article! I loved Defender!
