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

How to use RessourcePack textures in voxel.js ? #131

Open
joemars305 opened this issue Dec 1, 2017 · 1 comment
Open

How to use RessourcePack textures in voxel.js ? #131

joemars305 opened this issue Dec 1, 2017 · 1 comment

Comments

@joemars305
Copy link

Hello, I need to use RessourcePacks textures in my voxel.js world, so can someone tell me how to do that ? Thanks

@AhmadHrb
Copy link

AhmadHrb commented Jan 11, 2018

Easy! Just open the Terrain Generator file (that has var createGame) and change the TexturePath into
TexturePath: "/textures/" + textpath, and in the HTML add (Under the <script src='index.js'></script>): <script> var textpath = prompt("Enter the texture folder in the /textures/ folder") </script> You can change the Prompt. I Hop I Helped.

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