June 2018
Beginner to intermediate
298 pages
7h 38m
English
In the res://assets/sounds folder are several audio files containing different sounds in the OggVorbis format. By default, Godot sets .ogg files to loop when imported. In the case of explosion.ogg, laser_blast.ogg, and levelup.ogg, you don't want the sounds to loop, so you need to change the import settings for those files. To do this, select the file in the FileSystem dock, and then click the Import tab located next to the Scene tab on the right-hand side of the editor window. Uncheck the box next to Loop and click Reimport. Do this for each of the three sounds. Refer to the following screenshot:

To play a sound, it needs to be ...
Read now
Unlock full access