-
-
Notifications
You must be signed in to change notification settings - Fork 262
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have implemented the ASCII art images class #19
base: master
Are you sure you want to change the base?
Conversation
check if this._map[x] exists in the _digCallback function
… "makefile" for rot.js .
…tory for check the rot.js ;) ).
…acob Seidelin) and remove the library.
Hi, *) do you have some publicly viewable demo of this? *) What exactly does this feature do? Is it generally useful for roguelike games? I am not 100% convinced this is highly relevant to rot.js, although the feature itself sounds interesting. *) Instead of a new "test.html" page, it might be better to use a standardized place - the interactive manual - to both showcase and document the feature (without jQuery, naturally). *) This pullrequest cannot be automatically merged as it cretes conflicts. |
Hi.
Regards. |
This looks "interesting" but I don't think it fits with rot.js. Better for rot.js to focus on roguelike-specific mechanics. |
@mdtrooper Thanks for the examples. I actually love DoomRL, I just don't want to see the scope of rot.js expand into something too huge. As it is now it is very targeted specifically on roguelike mechanics, which is a great help for roguelike developers. Certainly nothing is stopping anyone from using a js implementation of this ASCII art converter in their game, but that doesn't mean it should be crammed into rot.js. |
It is only 4kb, but maybe I could work in the code for to slim. |
@mdtrooper Size isn't the issue, it's scope. It's up to @ondras though, obviously. Just sharing my opinion on the internet. |
Yes of course. |
I mostly agree with @twpage; while the feature itself is cool (I really love ASCII art!), I am not sure it really fits into rot.js's usage scope. Let me recap this: the main use case of the discussed code is
Right? Am I not missing anything? In a typical development scenario, a (roguelike) developer is almost certainly going to pre-convert his image data into ASCII for some breathtaking intros or so, moving the usage of this code to a development phase. This being said, I actually see the conversion more as a (web) service than a code that forms a part of a rot.js (runtime). |
Hi. Well, yes and not, the images are from the server. But I think that the advantage of generation the ASCII from images in the library is that you can update more easy the ASCII art across the source image. Regards. |
Conflicts: rot.js src/gen-rot.sh
Conflicts: README.md rot.min.js
Hi.
I have been working to add the ASCII art images class.
The main work is not mine, it is from (jsAscii 0.1
But I have added blit functions and rewrote some parts for to make "rot.js standar".
Regards.