Merge pull request #2823 from taner1es/missingline-fix

Missing line explanation added
This commit is contained in:
Rémi Verschelde
2019-10-29 08:53:47 +01:00
committed by GitHub

View File

@@ -948,6 +948,8 @@ We then set ``should_loop``, and add ``new_audio`` as a child of ``Globals.gd``.
.. note:: Remember, we have to be careful adding nodes to a singleton, since these nodes will not be destroyed when changing scenes.
We add the ``new_audio`` into the ``created_audio`` list to hold all created audios.
We then call ``play_sound``, passing in the audio clip associated with ``sound_name`` and the sound position.
______