galacean / engine

A typescript interactive engine, support 2D, 3D, animation, physics, built on WebGL and glTF.
https://galacean.antgroup.com/
MIT License
4.04k stars 288 forks source link

Feature Request: Support upload audio file formats #2135

Closed Oskang09 closed 1 week ago

Oskang09 commented 1 week ago

Is your feature request related to a problem? Please describe. For working on the soundtrack like background music or some sound effects it's easier to pre-defined and upload to the assets folder and we able to use it via the existing HTML5 Audio, now need always add in after export from the editor

Describe the solution you'd like Allow to upload audio file formats like webm, mp3, mpeg, ogg

Additional context

For existing was using this way, so quite trouble for those we adding sound.

image

JujieX commented 1 week ago

Hi Oskang09! Thank you for choosing our engine for game development! We do have a plan to support audio, it's now in the pr #1587, which includes a audio file loader that supports webm ogg mp3 format and ability for playing background music. It's most likely to be reviewed and added to the engine in July with 1.3 version release. And we will add this feature to the online editor shortly afterwards. Hope this info will help!

Oskang09 commented 1 week ago

Hi JuJieX,

Wow good to know that, can't wait for the updates! Appreciate it. Since there's the PR so will just close this reqeust.