create-hdk
v1.0.15
Published
Create a Hiber3D HDK project with one command
Downloads
130
Readme
create-hdk
The create-hdk is meant as a quick start for new Hiber3D HDK projects. When run, it will create a specified sub-folder and populate it with a project containing a template world.
Creating, running and updating a Hiber3D HDK world
In a terminal window,
- Run command
npx create-hdk
and follow the instructions - Open up a browser with the url shown in the console window. This will render the scene and store a scene json file.
- Edit the source files in an editor. On save, it will hot reload and re-render the world.
- To break out of the dev server, press
ctrl-c
Uploading a Hiber3D HDK world
Note: To upload worlds to HiberWorld, you need to have a Hiber3D HDK developer account.
See HDK Publishing documentation for instructions on how to sign up for this .
- Run command
npm upload
and follow the instructions. - Visit your game on HiberWorld by following the provided url.
- Note that you need to manually publish the world in order to be able to 'Play' it.