Forum

User posts patrickbelt
29 November 2017 19:27
Thank you for replying Alexander. I never knew how much about javascript, web development, and programming I would be learning when I started using Blend4web a month ago. It's incredible, especially when my understanding of those things has gone from me feeling like a deer in headlights, to everything seeming very obvious to me now (often it's literally over night).

It turns out I have been making things a lot more complicated than I needed to when trying to open my html project file on the customer's LMS. IE is their default browser, and because their LMS is not set to open files in IE 11 by default, my B4W project simply won't work unless they change their settings. It's all so obvious now, but I was so deep in settings, code, and a developers mindset, that I just needed to reset myself, and look at everything from a fresh perspective.

Thanks again for your commitment to solving this issue, and others that you have commented on. I really appreciate it.
27 November 2017 20:01
I'm learning something new with every post . I googled the mode 5 message and found some useful information about using F12 to check the Emulation mode. I tested the Document Mode as Edge, and my html project works! However it doesn't work on any of the other modes.

I'm not exactly sure what to do next. Any thoughts?

In the meantime, I am going to find out exactly what version of IE the customer is using… What's the oldest version of IE that can support B4W projects?
27 November 2017 19:29
I googled addEventListener and found some info about modifying IE's security options. I unchecked "Enable Protected Mode" and then restarted IE. Then when trying to open the same B4W html file on the LMS I get the following message: "The attached page targets document mode 5. Some console APIs and features may not be available."

Not sure it is helpful for you, but I've attached a screen shot.
27 November 2017 19:13
Hi Alexander. Thank you for the reply. My .html project works fine when I try to load it locally using all browser types. This issue only occurs when trying to open the file via the customer's LMS, and yes, they do use Internet Explorer.

When I view the Developer Console it looks like there is an error: "Object doesn't support property or method 'addEventListener' ". Is that an issue you are familiar with?

Please see the attached screen shots and text file. Thanks
22 November 2017 19:20
Hello. I am trying to load my course to a customer's LMS, but everytime I try to launch the exported/uploaded B4W .html file it doesn't work. It appears like the B4W preloader is about to start, but the screen freezes showing only the top left quarter of the preloader. (Please see attached image)

I have tried testing my .html project, as well as the basic cube project, but get the same results each time. What would be causing this issue with the LMS, and what can I do to fix it? Thank you.

Extra info: It is my understanding that any B4W .html files I submit to the customer would need to open locally from their secured servers…
17 November 2017 23:51
Thank you for the reply Alexander. I look forward to any tips you can share.
13 November 2017 23:18
Hello. I'm attempting to create an interactive eLearning UI similar to the German brake example on the B4W demo page. Each UI button and object on screen needs to be interactive and respond accordingly when other objects are selected.

B4W is still pretty new to me, and I'm not sure if I'm creating the node logic tree correctly; it's getting very complicated and certain functions don't seem to be working correctly due to how I currently have everything set up. I don't know much about HTML, and am hoping there is a cleaner, more consolidated way to create the UI using the node logic tree.

Here is a list of where I'm struggling:

- Getting buttons to toggle scale when selected, and return to normal size when another button or object is selected. (One way I achieved this was using short animations that started and reset, but I removed those functions thinking it would be easier to use the transform object node… but the transform object node doesn't seem to work correctly based on the other logic I have already created.)

- The buttons on the left currently require a second click to activate their functions… i need this to be a single click to switch between buttons/functions.

- I would like only one object anchor, or button pop-up to appear at a time. For example, I have 8 anchors that appear in my scene when the ports are clicked on screen. I would like to set a limit of one appearing at a time… so clicking port 2 would show the anchor for port 2, and hide any other anchors that might already be showing.

- The overall node tree is getting cluttered due to repetition and most likely due to my improper construction… i believe this is causing issues such as the two click interaction described above.

- Trying to create a Mute button that mutes any/all audio without making the audio tracks start over again when un-muted.

The project I've attached is incomplete. Eventually all buttons will need to toggle in size to appear as if they are selected, each button will play it's own audio track, and show it's own pop-up text, image, or video.

Would it be possible to share the logic for the brake example I mentioned earlier (or for a similar project) ?.. I also like the idea of adding interactive quiz questions, drag and drops, etc. in order to make this a complete eLearning experience.

Any help is appreciated. Thanks!
13 November 2017 21:49
Thank you. I didn't see the attachment icon. I really appreciate the help. That is exactly what I needed.
13 November 2017 18:42
Hi Juani. Could you give me an example please?
11 November 2017 01:45
Hello. Using logic nodes, how can I toggle the scale of an object from it's original size, to a smaller size when clicked, and then back to the normal size when clicked a second time?

For example, I am creating a button that I want to shrink (without using an animation) when clicked, and then return to it's normal size when clicked again, or when another button is clicked on screen. Is this possible with only using nodes?