I made a game where there is a gun, when the gun shoots the sound starts about 0.3 sec late (i already cut the sound to ensure the start was right)
Tell me do you hear delay when firing
If yes then nothing you can do about it
If not then show me your events
@ZeroX4 I also hear/see/feel the delay in the sound from the button press, also in your game example.
I find it is very obvious when trying to add a click sound to button presses in my own code.
soooo you are saying that there is nothing we can do?
i don’t have the delay but i really enjoyed the quack sound instead,
love this example
That is how sound engine in gdevelop work
And on mobile its even worse
HOWEVER i am using .aac file format
MAYBE .wav would be better but that also increase file size
I just didn’t test .wav
And i just want to point out i do cut out silence from my sounds i mean the one you have at beginning of sound
One after sound is played should stay
That is a tip for you and any1 reading it
If sound is too short it will not play properly on some devices
And having like 0.3 sec silence after sound is played will not hurt any1
@RMDB
I have chickens and this is duck sound
And i bet you didn’t even notice
Eh, someday I will write detailed feature request of implementing Web Audio api-only audio system instead of outdated HTML5 Audio API.
Web Audio will resolve such dumb issues and will be much more flexible.
Feature request will not make it being implemented
IDK if its possible to implement it even
If you know that it is then go ahead i will for sure back it up
To implement such feature there always should be design plan of how it will work and etc, and only after that try to implement it directly to GDevelop
I am talking about compatibility and not plan
Please elaborate.
The thing is that I had tested it via custom extension in the past, and it worked well but it was kinda a headache to use it as extension
I am not so technical
But from what i read on forums not everything is perfectly compatible with engine
If you managed to get it to work trough extension
Make feature request and share it there to prove it works and is worth it
I can see how many users gonna back this up if its possible
We just need to wait for devs to say how possible it is to implement it
And if there are no downsides
