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