How to use RessourcePack textures in voxel.js ?
Opened this issue · 1 comments
joemars305 commented
Hello, I need to use RessourcePacks textures in my voxel.js world, so can someone tell me how to do that ? Thanks
AhmadHrb commented
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.