When using the fill tool on an area too big, like a 128x128 level, you get a very lovely game crash!
I found this out while making one of my levels and I didn't save it beforehand!
Lol!
Game Crash when too much fill
Moderators: Flumminator, Zomis
Re: Game Crash when too much fill
Argh, that's horrible!
Indeed I was able to reproduce this inside a Windows 10 VM (while having no problems and no crashes on my Linux box and on my Mac)!
I will try to debug and fix this!

Indeed I was able to reproduce this inside a Windows 10 VM (while having no problems and no crashes on my Linux box and on my Mac)!

I will try to debug and fix this!

Re: Game Crash when too much fill
Found and fixed it!
The problem was the recursive flood fill function, which went too deep and exploded the stack on a 128x128 sized level!
(Did not happen on Linux with its 8 MB stack size, while it blew up the 1 MB stack on Windows.
)
I've replaced the recursive function with an iterative one, which should also work fine on systems with a small stack.
Will be available in the next release version.
The problem was the recursive flood fill function, which went too deep and exploded the stack on a 128x128 sized level!

(Did not happen on Linux with its 8 MB stack size, while it blew up the 1 MB stack on Windows.

I've replaced the recursive function with an iterative one, which should also work fine on systems with a small stack.

Will be available in the next release version.