повреждение

This commit is contained in:
2021-04-24 20:08:49 +03:00
parent f418d85d31
commit b7c039174c
10 changed files with 12 additions and 2 deletions

View File

@@ -194,8 +194,11 @@
конец.setSeconds(конец.getSeconds() + 8);
мир.состояниеКолобка.мигание.окончание = конец;
мир.сцена.sound.stopByKey("повреждение");
var звук = мир.сцена.sound.get("повреждение");
if (!звук || !звук.isPlaying)
{
мир.сцена.sound.play("повреждение");
}
if (мир.состояниеКолобка.мигать)
{

View File

@@ -0,0 +1,7 @@
* https://freesound.org/people/DDmyzik/sounds/555803/
* https://freesound.org/people/Setuniman/sounds/387922/
* https://freesound.org/people/qubodup/sounds/331381/
* https://freesound.org/people/davethetech/sounds/360432/
* https://freesound.org/people/omerbhatti34/sounds/521552/
* https://freesound.org/people/Czarcazas/sounds/330800/
* https://freesound.org/people/Kneeling/sounds/448004/