Encore du dev pour la béta 1
* Suppression de la mutation éphémère * Ajout des modificateur de régions normaux Sableux et Toxique * Ajout de modificateurs challenge (Rocheux, Radioactif et Contaminé) * Ajout du modificateur de région bénéfique Résonnance * Ajout d'un distributeur toutes les 3 régions * Ajout des régions challenge * Bouclage sur les couleurs des mutations après le niveau 4 * Ajout de deux nouveaux panneaux de tutoriel, un sur les informations de plantes et l'autre sur le vaisseau
This commit is contained in:
@@ -70,6 +70,7 @@ var indicators : Array[InGameIndicator]
|
||||
(func ():
|
||||
for e in region.entity_container.get_children():
|
||||
if e is Plant:
|
||||
display_plant_info_tutorial(e.card_info())
|
||||
return true
|
||||
return false)
|
||||
),
|
||||
@@ -95,6 +96,7 @@ func _ready():
|
||||
show()
|
||||
else:
|
||||
hide()
|
||||
%PlantInfoTutorial.hide()
|
||||
|
||||
func setup_gui():
|
||||
for s in %Steps.get_children():
|
||||
@@ -132,6 +134,16 @@ func finish_tutorial():
|
||||
region.data.update()
|
||||
succeded.emit()
|
||||
|
||||
func display_plant_info_tutorial(with_card_info : CardInfo):
|
||||
%PlantCard.info = with_card_info
|
||||
AudioManager.play_sfx("Ship_reveal")
|
||||
%PlantCard.update()
|
||||
%PlantInfoTutorialAnimationPlayer.play("appear")
|
||||
|
||||
func _on_ok_button_button_down():
|
||||
%PlantInfoTutorialAnimationPlayer.play_backwards("appear")
|
||||
|
||||
|
||||
class Step:
|
||||
|
||||
var text : String : get = get_text
|
||||
|
||||
Reference in New Issue
Block a user