Update the lesson unlocks in the teacher settings. Improve the tracing of the look and learn. Fix a bug in the words minigame

Updates teacher settings. Removes Android folder
This commit is contained in:
Dylan Sarrazyn
2024-09-25 16:12:49 +02:00
parent 30e1ebf827
commit f3e8276a2c
23 changed files with 240 additions and 264 deletions
+24
View File
@@ -22,6 +22,30 @@ var password : String
@export var token: String
@export var last_modified: String
@export var master_volume: = 0.0 :
set(volume):
master_volume = volume
var ind: = AudioServer.get_bus_index("Master")
AudioServer.set_bus_volume_db(ind, volume)
@export var music_volume: = 0.0 :
set(volume):
music_volume = volume
var ind: = AudioServer.get_bus_index("Music")
AudioServer.set_bus_volume_db(ind, volume)
@export var voice_volume: = 0.0 :
set(volume):
voice_volume = volume
var ind: = AudioServer.get_bus_index("Voice")
AudioServer.set_bus_volume_db(ind, volume)
@export var effects_volume: = 0.0 :
set(volume):
effects_volume = volume
var ind: = AudioServer.get_bus_index("Effects")
AudioServer.set_bus_volume_db(ind, volume)
func update_from_dict(dict: Dictionary) -> void:
account_type = dict.account_type
education_method = dict.education_method