when the idea came up at the start of the jam, it seemed like a complete nightmare
we were using the Godot engine, so i searched something like “godot collision from image”, assuming it’d be impossible in the allotted time and i could move on
turns out Godot just has functions to
- convert images to full binary bitmaps (something there vs nothing there), and
- convert full binary bitmaps into an array of collision polygons
without that second one i don’t know if we would’ve even tried this game concept.
beyond that, it was a lot (a lot a lot) of iterating through the images to separate out the colors and iterating through the binary bitmaps to do all of the tool functions.