Problem description:
I've got a four-colour image that I'm trying to go over pixel-by-pixel and convert each pixel, based on colour, into a turf assignment. I already have the turfs defined, with icons - I just need to somehow loop over the pixels(not sure if there's a way to do this in DM.. or if DM could handle it. Might just use PIL for this part), and create the .dmm. Unfortunately, I'm having no luck.. I honestly don't even know where to begin with this.
Extra:
Could one could implement an 8-colour heightmap/topology using overlaying turfs in the same manner?
Copyright © 2025 BYOND Software.
All rights reserved.
That should get ya on the right path.