Et toujours du dev pour la béta
* Evolution de l'histoire avec de nouveaux dialogues, une plus grande durée de vie du jeu, des nouvelles zones d'histoire... * Suppression du mode infini * Ajout d'un écran des mutations découvertes * Ajout d'un nouveau mécanisme de respawn situé dans le vaissau * Ajout de 2 nouveaux modificateurs de région * Quatre nouveaux artefacts * Visuel de la décontamination de la planète 3D en cours de la partie * Ajout d'une annonce visuelle des scène du jeu * Fix sur la mutation Généreux pour être en accord avec sa description * Amélioration de l'effet de la mutation Purification * Fix de la mutation sociale aux niveau supérieurs * Ajout d'un effet visuel de réacteur sur le joueur 3D * Fix sur l'annonce de nouveaux objets qui se déclenchaient à une nouvelle run * Amélioration des animation et des informations données dans le vaisseau * Correction mineure des traductions
This commit is contained in:
@@ -16,13 +16,15 @@ func _ready():
|
||||
GameInfo.game_data.current_region_data.updated.connect(_on_region_updated)
|
||||
GameInfo.game_data.player_data.updated.connect(_on_player_updated)
|
||||
|
||||
%ObjectiveProgressBar.visible = not "tutorial" in GameInfo.game_data.current_region_data.flags
|
||||
%SimplePlantPointScore.visible = "tutorial" in GameInfo.game_data.current_region_data.flags
|
||||
%ObjectiveProgressBar.visible = (
|
||||
not GameInfo.game_data.current_run.story_step is TutorialStoryStep
|
||||
and not GameInfo.game_data.current_region_data.objective_disabled
|
||||
)
|
||||
%SimplePlantPointScore.visible = GameInfo.game_data.current_run.story_step is TutorialStoryStep
|
||||
|
||||
state_update(GameInfo.game_data.current_region_data)
|
||||
player_update(GameInfo.game_data.player_data, false)
|
||||
%EnergyInfo.reset_size()
|
||||
%GiveUpButton.pressed.connect(_on_give_up_pressed)
|
||||
|
||||
score_mirror = GameInfo.game_data.current_region_data.get_score()
|
||||
for p : PlantData in GameInfo.game_data.current_region_data.plants:
|
||||
@@ -70,10 +72,6 @@ func _on_region_updated(region_data : RegionData):
|
||||
|
||||
state_update(region_data)
|
||||
|
||||
func _on_give_up_pressed():
|
||||
GameInfo.game_data.give_up()
|
||||
SceneManager.change_to_scene_id('ASTRA')
|
||||
|
||||
func score_update(with_animation = true):
|
||||
var objective_progression : float
|
||||
var objective = GameInfo.game_data.current_region_data.objective
|
||||
@@ -102,11 +100,10 @@ func score_update(with_animation = true):
|
||||
func state_update(region_data : RegionData):
|
||||
if region_data.state == RegionData.State.SUCCEEDED:
|
||||
objective_text = "SHIP_IS_READY_TO_TAKE_OFF"
|
||||
if "tutorial" in region_data.flags:
|
||||
if GameInfo.game_data.current_run.story_step is TutorialStoryStep:
|
||||
objective_text = "PASS_THE_MYSTERIOUS_DOOR"
|
||||
elif region_data.state == RegionData.State.FAILED:
|
||||
objective_text = "NO_RECHARGE_LEFT"
|
||||
%GiveUpButton.visible = region_data.state == RegionData.State.FAILED
|
||||
|
||||
func plant_changing_score(plant_data: PlantData, amount : int):
|
||||
if GameInfo.game_data.current_region_data.in_passing_day_animation:
|
||||
@@ -167,4 +164,4 @@ func _on_player_action_tried_without_energy():
|
||||
$AnimationPlayer.play("no_energy_left")
|
||||
|
||||
func _on_player_upgraded():
|
||||
$EffectAnimation.play("upgrade")
|
||||
$EffectAnimation.play("upgrade")
|
||||
|
||||
Reference in New Issue
Block a user