Outline My Pipes
25 November 2015 11:27
http://www.trepaning.com/b4w/glow.blend
can't get the JUNK sign or a pipe to outline glow, assistance appreciated!
can't get the JUNK sign or a pipe to outline glow, assistance appreciated!
26 November 2015 10:24
can get pipe to outline glow after selected, but cannot get it outlined when the level loads as a hint the pipe can be clicked on. It only outline glows after it is clicked on.
different question: with JSON, I am able to add hotlink info to the JS file to make an object a hotlink. How do I make it so when an object is clicked, it plays a sound?
This opens a hotlink when object clicked, how can I code it to make a clicked object play a sound like a Play Sound node?
var myBox= m_scenes.get_object_by_name("myBox");
if (obj && obj.name == "myBox") window.open("http://myWebsite.com");
different question: with JSON, I am able to add hotlink info to the JS file to make an object a hotlink. How do I make it so when an object is clicked, it plays a sound?
This opens a hotlink when object clicked, how can I code it to make a clicked object play a sound like a Play Sound node?
var myBox= m_scenes.get_object_by_name("myBox");
if (obj && obj.name == "myBox") window.open("http://myWebsite.com");
26 November 2015 18:15
can get pipe to outline glow after selected, but cannot get it outlined when the level loads as a hint the pipe can be clicked on. It only outline glows after it is clicked on.
You can make Entry Points for each pipe and do logic like this:
[Entry Point]->[Outline(Play)]->[Delay(duration)]->[Outline(Stop)]
Also, you can configure Outline params for each object and remove Delay and Outline(Stop).
Try attached file.
[EDITED] I forgot to test it in the player so I'm attaching updated .blend
Alexander (Blend4Web Team)
twitter