Scolring - Forum

Entraides et échanges autour de la technologie Scol - Informations and exchanges on the Scol technology

Vous pouvez changer la langue de l'interface une fois inscrit - You can change the language once registered

You are not logged in.

#1 28-Aug-2016 19:54:31

LSI
Member
Registered: 13-Dec-2015
Posts: 34

"Change sound" patch problem ?

Hello,
I am trying to optimize your program using one plugits (media-> Sounds) and events "Change sound". In the editor, the sound plays. But if I'll create a standalone Windows application does not play audio. How to properly set the path in a local device?
sound source is:
\ OpenSpace3D \ Svet_na_dotyk_Evropa \ experiment \ album \ 01.mp3
I enter a parameter:
\ Svet_na_dotyk_Evropa \ experiment \ album \ 01.mp3
Where is the problem ?
In the editor, the sound plays.
Thanks smile

Offline

#2 28-Aug-2016 21:05:38

arkeon
Admin. / Scol language & OpenSpace3D developer
From: Nantes
Registered: 30-Mar-2009
Posts: 5,161
Website

Re: "Change sound" patch problem ?

hello

first use / not \
and yes it mus be relative to openspace3D partition
Svet_na_dotyk_Evropa/experiment/album/01.mp3

since the sounds files are not registered in a plugit ressources.
you must add the sounds manually in the scene ressources.
Right click on scene > add ressource

otherwise the files won't be copied on export

Offline

Board footer

Powered by FluxBB