Browse Source

Delete README.md

master
Victor Giers 5 years ago
parent
commit
1675c61f54
No account linked to committer's email address
1 changed files with 0 additions and 27 deletions
  1. 0
    27
      README.md

+ 0
- 27
README.md View File

@@ -1,27 +0,0 @@
# Preset blend4web-project for First-Person Controls.
## Recommended first blend4web project for noobs to get into it.
In this blend4web project you can control the camera without drag'n'drop but with a locked pointer, walk around with WASD, run with Shift, jump with space etc. and have physics enabled.

Not being a skilled programmer, when I set up my first blend4web-project, I was very confused about whether I should go with a .html, .json or copy project,
and what was that web player instance anyway?
Fact is; .html export serves more like a preview-function in blend4web and does not let you use the possibilities of the API, which you will most likely want to use.
You need to generate a web-player by deploying your project with the blend4web project manager so it fits your needs after you wrote some code in a .js file.

I created a project with the blend4web project manager (selecting "copy" :-)).
I then changed the .blend-file so it has the following:
- A camera with "Eye"-movestyle with vertical rotation limits of 90° up and down
- A transparent character-controller following the camera for physics like collision on layer 2
- A rigid body cube you can push around
I also changed the .js code so it has the following:
- "fps_controls" instead of "camera_controls"
You don't necessarily need "camera_controls" any longer for simple first person control with WASD.
This way it is easy to "not" fly, but always walk and run with shift.
- Activated "pointerlock", so the mouse movement doesn't happen via drag and drop, but more like you know it from first person games.

I think this setup is good for getting into blend4web which is why i publish it here.
In order to use it, put it into your blend4web's "projects"-folder, start the local server (potentially via script or via blender, just open blender and change to blend4web-engine), and go to your project manager on http://localhost:6687/project/ or by clicking on "Project Manager" in Blenders "Render"-properties panel.
Here you should see the project.
To build a standalone version that has its own web player, click "check modules", "re-export scenes", "convert resources" to be save, then necessarily "build project", and after that, "deploy project".

Have fun!

Loading…
Cancel
Save