Ondřej Žára
Ondřej Žára
These could be improved, right. The question is, which glyphs are optimal. The HN thread suggested multiple alternative variants. "#"s are neatly consistent with the game design and/or setting. Also,...
@CelticMinstrel that is a reasonable request. I have, however, zero knowledge with respect to `ROT.Map.Rogue` (it is a contributed code), so it might take a while.
Hi @Gerhard-Wonner, thanks for the bugreport. You are not the only one running into these mysterious desyncs: it has been reported recently (see https://github.com/ondras/rot.js/issues/201). The issue is puzzling though, because...
> Does it also reach a score of 86 on your PC? It does. When I try doing *stuff* during the run (opening/closing devtools, switching tabs/windows, ...), the replay often...
It might be useful to know (approximately) how many times the RNG is called in your case. You can measure that by instrumenting/patching the `getUniform` method (ideally for the global...
> Regarding your point 2.: I would love to do that, but I have no idea how to pass a cloned RNG to my ROT.Map.Digger. Right, there is currently no...
Well, this is hard API-wise. All pathfinder objects in rot.js have their constructor signature based on `(targetX, targetY, ...)`, so swapping those coordinates with a callback will be quite messy....
> > If no such path exists, outputCallback will never be called. > > To me this was not good enough because I wanted to know whether or not a...
> But when I have an API that is doing it's stuff synchronously I personally avoid callbacks and just return the result. This way it is also clear for the...
Interesting! I have two comments: 1) can you explain why and how does this change fix the issue you were encountering? Completely eradicating `export default` from the whole codebase is...