Skip to content
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

Examples? #10

Closed
WiredTombstone opened this issue Jan 6, 2018 · 3 comments
Closed

Examples? #10

WiredTombstone opened this issue Jan 6, 2018 · 3 comments

Comments

@WiredTombstone
Copy link

WiredTombstone commented Jan 6, 2018

Do you happen to have some examples for loading up different (and multiple) mca files?

Do you need to run node to use this? I presume so to update the blocks (based on another ticket), but what about for embedded use?

I'd like to use your code to load up a few chunks and rotate around a build.

@rmackinnon
Copy link
Collaborator

Greetings,

Do you happen to have some examples for loading up different (and multiple) mca files?

The tool was only designed and implemented to open one region file at a time. You need to drag and drop the region file from your local install into the browser window to do so. This works on the Demo site.

Early on the feature to select multiple chunks was requested and shipped, allowing someone to select/view/rotate around a decently large selection of chunks. You can enable this feature by pressing "shift" while left clicking chunks on the region mini-map.

Do you need to run node to use this? I presume so to update the blocks (based on another ticket), but what about for embedded use?

NodeJS is needed to compile the source to create the static javascript webpack. Once compiled, only a web browser with webgl is needed for it to work. Correct there are scripts for updating the block types, creating the webgl textures, etc.

I'd like to use your code to load up a few chunks and rotate around a build.

One day we'd like to have a server side feature/daemon to allow loading parts of the map. One day...

--Rob

@WiredTombstone
Copy link
Author

Is there a way to select chunks using javascript and create an auto rotate?

Is there a way to load up different mca files using javascript?

@rmackinnon
Copy link
Collaborator

rmackinnon commented Jan 6, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants