populate sounds

danielle53

  • *
  • Posts: 55
Hi,

I would like to populate the sounds interface with hundred of ogg and mp3 files.

My first go was to put stanza in the resources/data.xml (when my game is closed !)

like
Code: [Select]
<music atlasID="0" desc="" id="10194" loop="true" name="y" oid="-1" pan="0" shared="false" stream="false" type="mp3" volume="1"/>
(even if  I just an ogg file, i found out that I have to put type="mp3")

id should be an integer so .. it is difficult to know exactly what the files are when you look  inside the folder resources.

I would like to tidy up a little and have folders in resources

Is it possible ?

I would like to know too ... in advance .. exactly which characters are forbidden in the names of the sounds.

And I will be very happy to know if I can impose to have these sounds in one or several folders in the interface.

In fact, I could not find any documentation at all, so if you know what is the meaning of oid and if it can other value than -1

Every info .. thank you

Justin

  • *
  • Posts: 4716
"oid" is online id, for tracking resources that have been shared on Forge. It's fine for it to be -1.

Yes, eventually we do plan on allowing multiple nested folders, as well as allowing more work to be done in the filesystem itself (such as dragging music files into your Stencyl project's folder instead of importing them within Stencyl).
For Live Support: Join our discord server and ping me @justin.
I'm most often available between 10am and 10pm Japan time. (GMT+9)

danielle53

  • *
  • Posts: 55
for the folder part in the UI, I can answer to myself :) .  I  just had to create one with a strange name and try to find a trace in my files..
So I have to add something like
  <group desc="" id="16" name="english" type="sound">
           <r id="10030"/>
            <r id="10046"/>
     </group>   

between <folders>  and  <folders>

danielle53

  • *
  • Posts: 55
Yes, eventually we do plan on allowing multiple nested folders, as well as allowing more work to be done in the filesystem itself (such as dragging music files into your Stencyl project's folder instead of importing them within Stencyl).

would very nice Justin  :) but I think you have other priorities