Hello!
I’m not 100% sure if it’s a bug, but i didn’t find information about this in Gdevelop Wiki: Audio - GDevelop documentation
Sounds and music Reference - GDevelop documentation
I’m trying to change the offset of my music in the beginning of my music.
I did my tests:
- Using a free song, mp3 file, 4,7mb, 2:32
- Using Preload as music in resources
- Previewing from another scene, preloading all the scene that have the music and changing for the scene with the music
So, the results with different conditions:
-
If i try to change in the beginning of the scene it doesn’t works:
-
If i try to change using a separated event with the condition “A music file is being played”, it doesn’t works too:
-
If i try to change using a timer, it’s has an interesting result. With a very lower timer it does nothing:
-
But with a higher number it works:
The conclusion I came is that the music even with the “preload as music” checked in the resources does not start in the first frame. So, when the offset action occurs, it does not influence the song that has not yet started.
The problem is that if my explanation is true, the condition “Music on the channel is being played” should solve this problem, right?
Here the file with the project to test like I did: Proton Drive
Thanks!