Ondřej Žára
Ondřej Žára
Hi @Gerhard-Wonner , I am afraid that a regular tile size is far too large to be a suitable drawing canvas for *one* letter. For a typical tile size of...
Sounds like a reasonable bug. Will have a look into code to see how fixable this is. @knurt, what behavior would you like to see? Note that hexes are indexed...
Hmm, I am afraid that your request does not make much sense then. The `drawText` function is basically a wrapper around the regular `draw` call, so individual characters are expected...
Hmm, interesting. The second image  still looks a bit weird to me, but I see your point. Alternative solution: if you do not require line wrapping, you can take...
This is an interesting concept. And a pretty hard one, in my opinions. Built-in generators in rot.js are certainly not well suited for this. You might be able to create...
rot.js has a noise implementation (`ROT.Noise.Simplex()`) that fits your requirements. The question is, how to convert this deterministic noise generator into a suitable map. Several years ago, I made a...
Hi @hyakugei , sorry for the delay. And thanks for your contribution! I am not yet completely sure whether we shall include this in rot.js itself or not. In the...
> I hadn't looked/known about the ROT.Path stuff before. Looking at the Dijkstra implementation, i can see how i can improve my code, but not sure how/if the existing code...
Several questions for better code understanding: 1) what is the meaning of the `cost` value for `addTarget`? 2) how is the "flee" feature supposed to work, high-level speaking? Reminder: a...
> 1) The cost is if you are making a "combined" map with multiple targets, but you want some of the targets to be "more desirable" then others. In this...