Dev de la démo
* Modification de l'apparence de l'UI des dialogues * Changement de l'ordre de déblocage des mutations * Ajout d'une confirmation pour l'abandon * Ajout de la scène de fin avec la base Boréa, en tant que fin de démo * Modification des icône de durée de vie, temps de pousse, et de mort * Ajout d'un icône au dessus du joueur quand il n'a plus d'énergie * Amélioration des dialogues du jeu * Changement du modèle du téléphone * Ajout de cellule d'énergie et de cellule de talion trouvable sur la carte * Il est à nouveau possible de se recharger après la fin d'une région * Buff des mutations ancien sociale et solide * Modification de la mutation fertile (ne donne de gain de graine qu'à la maturation) * Ajout d'une récupération automatique des graines * Ajout de deux cartons de tutoriel ainsi qu'une option pour les revoir dans l'aide de jeu * Amélioration générale du tutoriel * Ajout d'un écran titre digne de ce nom * Lors de l'arrivée à destination, ne téléporte plus le joueur sur une map vide, mais directement dans les lieux de cinématique * Ajout graphique de plus de pattern de mousse et de roche * Le talion apparait maintenant sur toute la carte * La roche peut désormais apparaitre sur la zone de départ * Ajout dud modificateur de région Canyon * Equilibrage général * Fix de bugs en tout genre
This commit is contained in:
@@ -43,7 +43,12 @@ var success = false
|
||||
"RECHARGE_IN_THE_RECHARGE_STATION",
|
||||
(func ():
|
||||
return region and region.data and not region.data.in_passing_day_animation and region.data.day != 1),
|
||||
(func (): GameInfo.game_data.player_data.inventory.add_item(Pickaxe.new()))
|
||||
(func ():
|
||||
game_gui.show_energy()
|
||||
game_gui.show_help()
|
||||
game_gui.help.display_energy_tutorial()
|
||||
await game_gui.help.tutorial_passed
|
||||
GameInfo.game_data.player_data.inventory.add_item(Pickaxe.new()))
|
||||
),
|
||||
Step.new(
|
||||
"DIG_A_TALION_VEIN_WITH_SHOVEL",
|
||||
@@ -60,17 +65,24 @@ var success = false
|
||||
func(i:Item): return i is Seed
|
||||
) != -1)
|
||||
),
|
||||
Step.new(
|
||||
"DROP_SEED_WITH_KEY",
|
||||
(func ():
|
||||
return (
|
||||
Input.is_action_pressed("drop"))
|
||||
)
|
||||
),
|
||||
Step.new(
|
||||
"PLANT_SEED_IN_FERTILE_ZONE",
|
||||
(func ():
|
||||
for e in region.entity_container.get_children():
|
||||
if e is Plant:
|
||||
display_plant_info_tutorial(e.card_info())
|
||||
game_gui.help.display_plant_info_tutorial(e.card_info())
|
||||
return true
|
||||
return false)
|
||||
),
|
||||
Step.new(
|
||||
"GAIN_FIRST_PLANT_POINT",
|
||||
"WAIT_FOR_THE_PLANT_MATURATION",
|
||||
(func ():
|
||||
return region and region.data and not region.data.in_passing_day_animation and region.data.get_score() != 0),
|
||||
(func (): GameInfo.game_data.player_data.inventory.add_item(Fork.new()))
|
||||
@@ -88,24 +100,27 @@ var success = false
|
||||
(func ():
|
||||
for s in player.data.inventory.seeds:
|
||||
if s is Seed and len(s.plant_mutations) > 0:
|
||||
display_mutations_tutorial(s.card_info())
|
||||
game_gui.help.display_mutations_tutorial(s.card_info())
|
||||
return true
|
||||
return false),
|
||||
(func ():
|
||||
await game_gui.help.tutorial_passed
|
||||
game_gui.show_progress_bar()
|
||||
game_gui.help.display_plant_point_tutorial())
|
||||
),
|
||||
Step.new(
|
||||
"DROP_SEED_WITH_KEY",
|
||||
(func ():
|
||||
return (
|
||||
Input.is_action_pressed("drop"))
|
||||
)
|
||||
"HAVE_3_PLANT_POINTS_SIMULTANEOUSLY",
|
||||
(func (): return region.data.get_score() >= 3)
|
||||
),
|
||||
]
|
||||
|
||||
func _ready():
|
||||
setup_gui()
|
||||
show()
|
||||
%PlantInfoTutorial.hide()
|
||||
%MutationTutorial.hide()
|
||||
|
||||
game_gui.show_energy(false)
|
||||
game_gui.show_progress_bar(false)
|
||||
game_gui.show_help(false)
|
||||
|
||||
func setup_gui():
|
||||
for s in %Steps.get_children():
|
||||
@@ -145,37 +160,6 @@ func finish_tutorial():
|
||||
succeded.emit()
|
||||
success = true
|
||||
|
||||
func display_plant_info_tutorial(with_card_info : CardInfo):
|
||||
%PlantInfoCard.info = with_card_info
|
||||
AudioManager.play_sfx("Reveal")
|
||||
%PlantInfoCard.update()
|
||||
%PlantInfoTutorialAnimationPlayer.play("appear")
|
||||
Pointer.action_disabled = true
|
||||
|
||||
func display_mutations_tutorial(with_card_info : CardInfo):
|
||||
%MutationCard.info = with_card_info
|
||||
AudioManager.play_sfx("Reveal")
|
||||
%MutationCard.update()
|
||||
%MutationTutorialAnimationPlayer.play("appear")
|
||||
Pointer.action_disabled = true
|
||||
|
||||
|
||||
func _on_plant_info_ok_button_button_down():
|
||||
%PlantInfoTutorialAnimationPlayer.play_backwards("appear")
|
||||
get_tree().create_timer(0.2).timeout.connect( # Put a delay to not interfere with the ok button click
|
||||
func():
|
||||
Pointer.action_disabled = false
|
||||
)
|
||||
|
||||
|
||||
func _on_mutation_ok_button_button_down():
|
||||
%MutationTutorialAnimationPlayer.play_backwards("appear")
|
||||
get_tree().create_timer(0.2).timeout.connect( # Put a delay to not interfere with the ok button click
|
||||
func():
|
||||
Pointer.action_disabled = false
|
||||
)
|
||||
|
||||
|
||||
class Step:
|
||||
|
||||
var text : String : get = get_text
|
||||
|
||||
Reference in New Issue
Block a user