The status bar idea is a good one, and the number of colors a sprite uses has no effect on how laggy it is, as each pixel is handled individually and which color that pixel is has no effect on the time it takes to render. Luke is right that sprite overlaps are laggy. You could implement your own overlaps that are based on a square around the sprite, which would cause a lot less lag. This is technically a built in feature, as there is a Sprite flag called something like “use rectangle hitboxes”, but it is not exposed in blocks. I have put it into a block in my JavaScript Extras extension. You could try that, but I think the extension adds a kinda insane amount of other stuff so just be prepared.
3 Likes