max-mapper / voxel-engine

3D HTML5 voxel game engine
http://maxogden.github.com/voxel-engine
BSD 3-Clause "New" or "Revised" License
1.29k stars 219 forks source link

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

Open joemars305 opened 6 years ago

joemars305 commented 6 years ago

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

AhmadHrb commented 6 years ago

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 ): You can change the Prompt. I Hop I Helped.