Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags
(+1)

Do you mind sharing a simple CCB file on how this works? Would love to play with it - thanks - Great work!

Thank you! It's some time ago I did this, as far as I remember I ran it outside of coppercube, in parallel with the CC code. Only the camera position and angle was then transfered from inside CC to that script. So it used sounds that were not loaded in CC, but in that parallel 3d-sound script. However there may be several ways to integrate this into CC, for instance using the "do something every N seconds" behavior. (it's set to 200ms, but I'd rather suggest 100ms btw.)

So I'm sorry for not being able to provide you with an out-of-the-box CC integration, but once you have the actual JS sound handles of your loaded sounds in CC, it should be fairly easy. There's also the "run a script at startup once" behavior, where you most likely could place all the functions.

Here are the files of the demos:

https://jfkeo1010etc.itch.io/mini3dsoundenginejs

In any case, the browsers JS error console will give you most valuable info when something isn't working.

(+1)

Thank you so much. I will look into this as soon I find free time - let you know in case I end up using it in projects. All the best to you.