Ondřej Žára

Results 503 comments of Ondřej Žára

Hi @bleakley , thanks for the report! Would you be willing to provide some examples regarding the incorrect rendering? My quick example at https://jsfiddle.net/nwu78s30/ shows proper character size (the same...

The rot.js Display is supposed to represent a grid with rows and columns. It is not possible and not feasible to mix different character widths. I can highly recommend creating...

Also, there remains an open question of a text-based vs. image-based Display. You mentioned the `forceSquareRatio` property that is used for text-based Displays, but you also linked the #163 which...

Just draw "nothing": ```js display.draw(x, y, ""); ``` You can use an empty string, a space, a `null` value...

> Does this work on a canvas with transparent background? No, it does not. The canvas is never *cleared*, but rather drawn atop. Implementing true *clearing* is a significantly complex...

> Hey! I wanted to open a conversation about modernizing the rot.js codebase to make it a bit more maintainable, and potentially more welcoming to contributors too. I agree with...

As far as backwards compatibility goes, I am totally okay with new major version that changes the API surface a bit (mostly those prototype enhancements). There is not much going...

> Any news on this? No, unfortunately. My time is a very limited resource these days (leaving for a three-week vacation in four days, btw) and re-working rot.js into ES6...

Hi there, (/cc @lostfictions @blinkdog @scambier) I have some good news! The work on TypeScript-based refactor of rot.js has just begun. My TS skills are still not that high, so...

> I'm not sure if it helps, but as a side project I've been maintaining the Typescript bindings for RotJs at [DefinitelyTyped](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/rot-js). I haven't made any drastic changes or anything...