Hi, I've been searching for this but haven't found an answer yet.
Currently, if I create a demo with explosions or damage impact, I spawn small groups of tiny sprites which stick to damaged player, npc, or destructible sprite objects; as scorch marks or surface damage. These are pinned to the surface of a sprite until it is destroyed. These tend to be 4x4 pixel black or grey dots, so its a lot of resource having each one as a pinned sprite.
A more effective way to do this would be to draw directly into the frames of the current sprite instance.
bomb - on collision with - building ... thisBuilding.animations.frames(0).drawRect(x1, y1, x2, y2, colour_code)
Is this possible in construct 3?
Could I read a pixel colour value and use that to darken and increase transparency?