Image particle Extension!

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
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)

7 Likes

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

2 Likes

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

will do!
(time to make FIREWORKS)

3 Likes

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. :man_shrugging:

3 Likes

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

2 Likes

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 :slight_smile:

2 Likes

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!

1 Like

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!

1 Like

Is this extension actually using the inbuilt particle factory?

1 Like

nope its not, its a custom system.

1 Like

its incompatible with a lot of extensions

2 Likes

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

1 Like

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

1 Like

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

2 Likes