# Image particle Extension!

**URL:** https://forum.makecode.com/t/image-particle-extension/33711
**Category:** Show & Tell
**Tags:** graphics-and-math, extension
**Created:** [February 9, 2025, 2:26am UTC](https://forum.makecode.com/t/image-particle-extension/33711 "2025-02-09T02:26:56Z")
**Posts on this page:** 15
**Page:** 1

<div class="post-metadata">

### Author: ![Jedi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/jedi/32/14307_2.png) [@Jedi](https://forum.makecode.com/u/Jedi)
#### Post date: [February 9, 2025, 2:26am UTC](https://forum.makecode.com/t/image-particle-extension/33711/1 "2025-02-09T02:26:56Z")

</div>

This is my first (and not my last) extension! its called image particles!  
just paste this code into the extension searchbar  
`ShrimpCatDev/image-particles`  
all you do is define a particle, i recommend you put it in a repeating block so it makes multiple!

![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/optimized/3X/1/a/1a7fc419fff24e618289543493bef2d3e5fccb92_2_690x66.png)  
x = the particle x  
y = the particle y  
vx and vy = the particles velocity X and Y  
lifetime = the lifetime of the particle (in ticks)  
image = the particle image  
ax and ay = the acceleration x and y of the particle (gravity)

---

<div class="post-metadata">

### Author: ![redSprite](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/redsprite/32/34262_2.png) [@redSprite](https://forum.makecode.com/u/redSprite)
#### Post date: [February 9, 2025, 4:10am UTC](https://forum.makecode.com/t/image-particle-extension/33711/2 "2025-02-09T04:10:19Z")

</div>

Your github name is ShrimpCatDev?  
Jokes aside, make a showcase project pls

---

<div class="post-metadata">

### Author: ![randomuser](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/randomuser/32/32505_2.png) [@randomuser](https://forum.makecode.com/u/randomuser)
#### Post date: [February 9, 2025, 4:12am UTC](https://forum.makecode.com/t/image-particle-extension/33711/3 "2025-02-09T04:12:03Z")

</div>

That’s super cool, very useful!! Maybe a demo? 👀

---

<div class="post-metadata">

### Author: ![Jedi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/jedi/32/14307_2.png) [@Jedi](https://forum.makecode.com/u/Jedi)
#### Post date: [February 9, 2025, 7:17am UTC](https://forum.makecode.com/t/image-particle-extension/33711/4 "2025-02-09T07:17:07Z")

</div>

will do!  
(time to make FIREWORKS)

---

<div class="post-metadata">

### Author: ![BotWarrior](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/botwarrior/32/25328_2.png) [@BotWarrior](https://forum.makecode.com/u/BotWarrior)
#### Post date: [February 9, 2025, 7:21am UTC](https://forum.makecode.com/t/image-particle-extension/33711/5 "2025-02-09T07:21:13Z")

</div>

Can we put animations on the particle? I know it has an image but if I want to make a slowly pulsing particle it might be a bit hard. Other than that, I am really excited. (I might even put this in my hollow knight game) I even remember looking through make code’s particle factory code and giving up because I don’t know how to make extensions. 🤷‍♂️

---

<div class="post-metadata">

### Author: ![Jedi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/jedi/32/14307_2.png) [@Jedi](https://forum.makecode.com/u/Jedi)
#### Post date: [February 10, 2025, 6:39pm UTC](https://forum.makecode.com/t/image-particle-extension/33711/6 "2025-02-10T18:39:55Z")

</div>

great idea! i never thought about adding animations, ill try to add that at some point.

---

<div class="post-metadata">

### Author: ![BotWarrior](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/botwarrior/32/25328_2.png) [@BotWarrior](https://forum.makecode.com/u/BotWarrior)
#### Post date: [February 11, 2025, 2:07am UTC](https://forum.makecode.com/t/image-particle-extension/33711/7 "2025-02-11T02:07:56Z")

</div>

By the way I did make a demo… It isn’t very exciting, just some black and white pixels but I am SUPER excited for this extension 🙂

> **[particles test](https://arcade.makecode.com/S31817-89729-22994-12703)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

---

<div class="post-metadata">

### Author: ![randomuser](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/randomuser/32/32505_2.png) [@randomuser](https://forum.makecode.com/u/randomuser)
#### Post date: [February 12, 2025, 7:06am UTC](https://forum.makecode.com/t/image-particle-extension/33711/8 "2025-02-12T07:06:14Z")

</div>

If you make all the particles the same sprite kind (like ‘particle’) then you can make an ‘on sprite of kind particle’ created block to automatically apply an animation!

---

<div class="post-metadata">

### Author: ![Jedi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/jedi/32/14307_2.png) [@Jedi](https://forum.makecode.com/u/Jedi)
#### Post date: [February 12, 2025, 6:14pm UTC](https://forum.makecode.com/t/image-particle-extension/33711/9 "2025-02-12T18:14:43Z")

</div>

yeah i could, but im actually not using sprites for the particles, its just drawing images to the screen. buuuuuut i could add an animated sprite block that did animated sprites for particles!

---

<div class="post-metadata">

### Author: ![BotWarrior](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/botwarrior/32/25328_2.png) [@BotWarrior](https://forum.makecode.com/u/BotWarrior)
#### Post date: [February 12, 2025, 9:31pm UTC](https://forum.makecode.com/t/image-particle-extension/33711/10 "2025-02-12T21:31:00Z")

</div>

Is this extension actually using the inbuilt particle factory?

---

<div class="post-metadata">

### Author: ![Jedi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/jedi/32/14307_2.png) [@Jedi](https://forum.makecode.com/u/Jedi)
#### Post date: [February 12, 2025, 9:50pm UTC](https://forum.makecode.com/t/image-particle-extension/33711/11 "2025-02-12T21:50:52Z")

</div>

nope its not, its a custom system.

---

<div class="post-metadata">

### Author: ![MeatballDev](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/meatballdev/32/28502_2.png) [@MeatballDev](https://forum.makecode.com/u/MeatballDev)
#### Post date: [February 18, 2025, 11:57pm UTC](https://forum.makecode.com/t/image-particle-extension/33711/12 "2025-02-18T23:57:56Z")

</div>

its incompatible with a lot of extensions

---

<div class="post-metadata">

### Author: ![Jedi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/jedi/32/14307_2.png) [@Jedi](https://forum.makecode.com/u/Jedi)
#### Post date: [February 19, 2025, 6:09pm UTC](https://forum.makecode.com/t/image-particle-extension/33711/13 "2025-02-19T18:09:25Z")

</div>

which ones? can you tell me what errors it gives? is my extension the problem or is it the included sprite utils extension?

---

<div class="post-metadata">

### Author: ![MeatballDev](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/meatballdev/32/28502_2.png) [@MeatballDev](https://forum.makecode.com/u/MeatballDev)
#### Post date: [February 19, 2025, 6:41pm UTC](https://forum.makecode.com/t/image-particle-extension/33711/14 "2025-02-19T18:41:37Z")

</div>

Extensions arcade-sprite-util, Inventory, Notifications and Achievements are the known ones

---

<div class="post-metadata">

### Author: ![Jedi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/jedi/32/14307_2.png) [@Jedi](https://forum.makecode.com/u/Jedi)
#### Post date: [February 19, 2025, 10:49pm UTC](https://forum.makecode.com/t/image-particle-extension/33711/15 "2025-02-19T22:49:51Z")

</div>

oh yeah i usually have troubles with sprite utils and those extensions. there’s not much i can do abt that.
