EndingCredits / litematic-viewer

Viewer for Litematica schematics in-browser for when you cba to fire up Minecraft. Based on Deepslate renderer.
25 stars 16 forks source link

Added wasd movement, proxy url, and made canvas wider #4

Closed JoakimThorsen closed 1 year ago

JoakimThorsen commented 1 year ago

Try it here: https://joakimthorsen.github.io/litematic-viewer/?remote-url=https://cdn.discordapp.com/attachments/908089307636588584/1065749582664958053/Tree_Farm_Finished.litematic I'd recommend scrolling down two notches to make the canvas fit the screen better

Fixes both #1 and #2. Also moved the canvas out of the container to remove the empty space around the viewer that looked identical to the canvas background (in light mode, at least)

There is sometimes a problem with ghost keys, in which case you have to press the key once more to get it to stop. Not sure if there's really any better way to do it though: https://stackoverflow.com/questions/13640061/get-a-list-of-all-currently-pressed-keys-in-javascript