Entry Point - Run from Script?
19 May 2017 14:56
19 May 2017 16:23
Hi Konstantin,
Thank you for the reply. I thought I had exported it correctly. Sorry.
Here is the link to the project files.
link
Thank you for the reply. I thought I had exported it correctly. Sorry.
Here is the link to the project files.
link
19 May 2017 16:23
19 May 2017 17:06
i may be doing something wrong in the initial set up in the project manager.Yeah, I think there is a little confusion
You can take a look at this official tutorial for the Project Manager.
Shortly:
When you create a project in the project manager you can set application type. There are two main categories of apps:
- WebPlayer Types. These projects use b4w webplayer to show your scene. They assume no additional scripting at all, only logic nodes inside blend file (no interaction with external HTML elements). Some kind of simple finished solution to show your scenes + logic nodes interactivity. Webplayer "eats" exported (json+bin) b4w scenes
- Custom Types. These are full-featured projects. They assume that b4w engine compiled file will be linked to your HTML page. So you will be able to perform JS scripting (like above mentioned functions)ю You can read about creation of basic b4w app which utilizes JS here.
If you need further help feel free to ask
19 May 2017 21:48