User posts steffen
02 December 2015 18:17

for my application, I modified the mouse_cb function from the app.js module to incorporate the option to toggle between camera panning and camera rotation.

Also, I invoked the mouse_wheel_cb function from another javascript file in order to perform zooming operations through a click handler in order to implement plus/minus button elements for an easier usage of the zoom functionality through buttons.

The problem is that both of these functions are "private", e.g. not accessible from another script. I worked around this by modifying the app.js file, which I now have to do with any subsequent B4W release.

Is it possible for you to export those functions in a later B4W release so it's easier to maintain my functionality?

I'd also be happy to hear that my approach here is unnecessarily complex - maybe there's a better way to do it?

Thanks in advance.
19 November 2014 14:55

I'm trying to add some additional features to the controls.js file, but can't get my changes into the webplayer app.

I guess controls.js is included within the b4w.min.js file, but I'm currently struggling with building the b4w.min.js file. Does a Makefile for building it exist?

Thanks in advance