diff --git a/src/activities/explore_farm_animals/AnimalLevels.qml b/src/activities/explore_farm_animals/AnimalLevels.qml --- a/src/activities/explore_farm_animals/AnimalLevels.qml +++ b/src/activities/explore_farm_animals/AnimalLevels.qml @@ -43,6 +43,7 @@ property string imageSource property string question property string audio + property string delayedAudio signal displayDescription(var animal) diff --git a/src/activities/explore_farm_animals/explore-level.js b/src/activities/explore_farm_animals/explore-level.js --- a/src/activities/explore_farm_animals/explore-level.js +++ b/src/activities/explore_farm_animals/explore-level.js @@ -80,7 +80,7 @@ if (items.score.currentSubLevel == 2) { items.progressbar.value = 0; - initSubSubLevel(); + initSubSubLevel(0); } } @@ -113,17 +113,23 @@ return true; } -function initSubSubLevel() { +function initSubSubLevel(IsNext) { if(items.progressbar.value == items.dataModel.count) { items.bonus.good("smiley"); } if(items.score.currentSubLevel == 2 && items.hasAudioQuestions && getCurrentQuestion()) { - items.audioVoices.play(getCurrentQuestion().audio); + // Play the .audio when it's the first SubSubLevel and then .delayedAudio + if (IsNext == 0) { + items.audioVoices.play(getCurrentQuestion().audio); + } + else { + items.audioVoices.play(getCurrentQuestion().delayedAudio); + } } } function nextSubSubLevel() { - initSubSubLevel() + initSubSubLevel(1) } function reload() { diff --git a/src/activities/explore_farm_animals/resource/animals/cat_delayed.ogg b/src/activities/explore_farm_animals/resource/animals/cat_delayed.ogg new file mode 100644 index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 GIT binary patch literal 0 Hc$@