We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

tutorials on adding custom javascript

Home Forums Programming tutorials on adding custom javascript

Tagged: 

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #30886
    g_hug
    Customer

    Hi,

    I know there is a description of the various ways to add javascript, but a walk through example would be really helpful to non-programmers! Is it something the Verge3D team would consider or other more knowledgeable users that myself?

    Can any javascript library be added to verge3d script?

    The code examples given here are html, how to incorporate them into the .js file? Also, they seem the same as three.js examples, would it be possible to incorporate three.js code directly?

    Equally, is it possible to add howler.js for ‘spatialised’ sound using a webaudio API?

    Apologies for glaring lack of knowledge here! Am trying to work out what is possible for me to teach myself and also how to extend the possibilities of the app beyond current existing puzzles.

    Thank you

    #30888

    Hi,

    Can any javascript library be added to verge3d script?

    Sure, there are no obstacles to do so!

    The code examples given here are html, how to incorporate them into the .js file?

    That is a non-trivial task and requires certain coding skills to perform, which may be difficult for a non-coder, sorry. But it is surely possible, and you kind find somebody here on the forums to help you (or request a feature from us).

    would it be possible to incorporate three.js code directly?

    yes, in most cases three.js code should work with Verge3D

    Equally, is it possible to add howler.js for ‘spatialised’ sound using a webaudio API?

    Of course, I’m sure it is possible.

    Chief 3D Verger | LinkedIn | Twitter

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.