由用户创建的信息 WillWelker
06 August 2017 01:20
05 August 2017 04:53
I should probably add the API method for using a Logic Node callback.
In the example below, "cb_ID" is what you would enter in your logic node.
In the example below, "cb_ID" is what you would enter in your logic node.
var m_log_nodes = require("logic_nodes");
var cb = function() {
window.open('http://www.new_page.com', '_blank');
}
m_log_nodes.append_custom_callback("cb_ID", cb);
05 August 2017 03:57
The JavaScript Callback Node can call a custom function.
I haven't tried this but this would be my first guess.
I haven't tried this but this would be my first guess.
function new_page(){
window.open('http://www.new_page.com', '_blank');
}
05 August 2017 03:50
03 August 2017 22:11
Have you looked at the First Person example in your SDK? It can be found at \blend4web_pro\apps_dev\tutorials\firstperson
Here is the JavaScript file for that project.
firstperson.js
Here is the JavaScript file for that project.
firstperson.js
03 August 2017 00:32
Hi Hugodi,
You may want to study the Controls module
and the FPS module.
enable_fps_controls() is in the FPS module.
You may want to study the Controls module
and the FPS module.
enable_fps_controls() is in the FPS module.
02 August 2017 16:28
01 August 2017 19:21
01 August 2017 18:47
31 July 2017 01:05
After you have used the 'Build' function, you should be able to open the build version of your app.
Does your app work when you open the build version?
I if does, all your files are there.
Another thing you might try is create a new project, leave all options default. Build it, then deploy it and see if you get the same results.
Does your app work when you open the build version?
I if does, all your files are there.
Another thing you might try is create a new project, leave all options default. Build it, then deploy it and see if you get the same results.