We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I don't know much about bitmaps but can you use them in p5.js? What is the best way to have a design that gets hit and you want to take small pieces off the design and continue with hit detection on the shrinking design? Is the pixel array the same as a bitmap? Can you create a design with the pixel array and use a for loop to make numerous copys of it and place it in different places?
Thanks...
Answers
if this is for the barriers of space invaders and they're only getting hit from the top by aliens you may get away with a 1D array rather than a bitmap