Hi all,
I'm currently working on a worms world generator to create random worlds for my worms game. The random terain is working fine but I'm having problems filling the area I created.
So my problem is that I tried to fill the area using the FloodFill Algorithm but the problem is that the runtime of this algorithm is realy bad and so when I try to fill the area it's killing my RAM.
Does anyone know a better algorithm for filling areas? I don't need the whole code. I just need the idea.

