Hello, please consider this patch to rot.js that optionally creates a connected cellular map. In such a map every non-wall location is accessible. To use it, do:
var map = new ROT.Map.Cellular(width, height, { connected: true });
and otherwise use as you would with a cellular map.
Hello, please consider this patch to rot.js that optionally creates a connected cellular map. In such a map every non-wall location is accessible. To use it, do:
var map = new ROT.Map.Cellular(width, height, { connected: true });
and otherwise use as you would with a cellular map.
Thanks!