Re:BrowserHack: NetHack ported to the web
by coolwanglu on Sunday April 12, 2015 @11:32PM
(#9365836)
Try typing this in the browser console (might need to reload the game first)
nethack.apply_tileset('http://cook.web.eschelon.com/pictures/geoduck20x12.bmp', 12, 20)
I felt that a complete ASCII port worth a separate project, yet it might not be that interesting as we've already got NAO.
But if you guys feel that a ASCII tileset is ok, I'm happy to add it. How about this smaller version?
Pretty neat! And I see you have included that tileset natively.
I think that making "pure ASCII image-less tileset" should be piece of cake as well:
.tile:after {
display: block;
text-align: center;
font: bold 30px/30px monospace;
}
.tile158:after {
content: '@';
color: yellow;
}
[1] http://geoduck42.deviantart.com/art/Geoduck-NetHack-Tiles-40...
[2] https://userstyles.org/styles/112589/browserhack-geoduck42-t...
[3] http://static.userstyles.org/style_screenshots/112589_after.... This certain sprite seems nice in original, but I had to transform it from 20×40 to 32×32, because re-positioning would be overkill (Haven't found any 32×32 alternative) I just wanted to try such proof-of concept…