Optimizes the DB request for the sentences. Fixes the ratio of stimuli. Handles the apostrophes in the sentences. Fixes the animations.

This commit is contained in:
Dylan Sarrazyn
2024-06-20 12:36:46 +02:00
parent b6c92cd4bc
commit dc7038b39f
7 changed files with 122 additions and 48 deletions
+2 -1
View File
@@ -102,7 +102,8 @@ func _ready() -> void:
transition_data = {}
# Difficulty
difficulty = UserDataManager.get_difficulty_for_minigame(minigame_name)
if UserDataManager._student_difficulty:
difficulty = UserDataManager.get_difficulty_for_minigame(minigame_name)
intro_kalulu_speech = Database.load_external_sound(Database.get_kalulu_speech_path(minigame_name, "intro"))
help_kalulu_speech = Database.load_external_sound(Database.get_kalulu_speech_path(minigame_name, "help"))