Merge pull request #196 from Excello-Recherche-Education/fireworks-colors
New colors for fireworks for minigames
This commit is contained in:
@@ -83,6 +83,7 @@ func _find_stimuli_and_distractions() -> void:
|
|||||||
|
|
||||||
func _start() -> void:
|
func _start() -> void:
|
||||||
super()
|
super()
|
||||||
|
fireworks.set_colors([Color("#ffd366"), Color("#ffbf94"), Color("#f5a8c8")])
|
||||||
_on_current_progression_changed()
|
_on_current_progression_changed()
|
||||||
sentence_background.show()
|
sentence_background.show()
|
||||||
|
|
||||||
|
|||||||
@@ -28,6 +28,7 @@ func _setup_word_progression() -> void:
|
|||||||
|
|
||||||
func _start() -> void:
|
func _start() -> void:
|
||||||
super()
|
super()
|
||||||
|
fireworks.set_colors([Color("#bca4ff"), Color("#f5a8c8"), Color("#ffbf94")])
|
||||||
frog.last_valid_position = frog.global_position
|
frog.last_valid_position = frog.global_position
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -74,6 +74,7 @@ func _find_stimuli_and_distractions() -> void:
|
|||||||
# Launch the minigame
|
# Launch the minigame
|
||||||
func _start() -> void:
|
func _start() -> void:
|
||||||
super()
|
super()
|
||||||
|
fireworks.set_colors([Color("#bca4ff"), Color("#f5a8c8"), Color("#7fc8ff")])
|
||||||
if stimuli.is_empty():
|
if stimuli.is_empty():
|
||||||
Log.error("PenguinMinigame: Cannot start game because stimuli is empty")
|
Log.error("PenguinMinigame: Cannot start game because stimuli is empty")
|
||||||
_win()
|
_win()
|
||||||
|
|||||||
Reference in New Issue
Block a user