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:
2026-04-28 23:41:36 +02:00
parent 7ae362a3a5
commit 91e266ec85
269 changed files with 4393 additions and 1699 deletions

View File

@@ -1,4 +1,4 @@
extends Control
extends CanvasLayer
class_name Tutorial
const STEP_SCENE = preload("res://gui/game/tutorial/step_gui/step_gui.tscn")
@@ -6,9 +6,11 @@ const STEP_SCENE = preload("res://gui/game/tutorial/step_gui/step_gui.tscn")
signal succeded
var indicators : Array[InGameIndicator]
@export var player : Player
@export var region : Region
@export var game_gui : GameGui
var player : Player
var region : Region
var game_gui : GameGui
var success = false
@onready var steps : Array[Step] = [
Step.new(
@@ -91,11 +93,8 @@ var indicators : Array[InGameIndicator]
]
func _ready():
if region and region.data and "tutorial" in region.data.flags:
setup_gui()
show()
else:
hide()
setup_gui()
show()
%PlantInfoTutorial.hide()
func setup_gui():
@@ -110,8 +109,10 @@ func setup_gui():
func _process(_d):
if region and region.data and "tutorial" in region.data.flags and not GameInfo.game_data.tutorial_done:
var success = true
if success:
hide()
elif region and region.data and not success:
var all_success = true
for i in len(steps):
var step := steps[i]
var step_gui := %Steps.get_children()[i] as TutorialStepGui
@@ -124,25 +125,29 @@ func _process(_d):
step_gui.suceeded = step.succeeded
if not step.succeeded:
game_gui.objective_text = step.text
success = false
if success:
all_success = false
if all_success:
finish_tutorial()
func finish_tutorial():
GameInfo.game_data.tutorial_done = true
region.data.state = RegionData.State.SUCCEEDED
region.data.update()
succeded.emit()
success = true
func display_plant_info_tutorial(with_card_info : CardInfo):
%PlantCard.info = with_card_info
AudioManager.play_sfx("Ship_reveal")
AudioManager.play_sfx("Reveal")
%PlantCard.update()
%PlantInfoTutorialAnimationPlayer.play("appear")
Pointer.action_disabled = true
func _on_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
)
class Step:

View File

@@ -146,19 +146,11 @@ _data = {
&"appear": SubResource("Animation_58nqq")
}
[node name="Tutorial" type="Control" unique_id=1210916048]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2
[node name="Tutorial" type="CanvasLayer" unique_id=36887292]
script = ExtResource("1_ie1q8")
metadata/_edit_horizontal_guides_ = [369.0]
[node name="MarginContainer" type="MarginContainer" parent="." unique_id=502187513]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
@@ -201,7 +193,7 @@ layout_mode = 2
[node name="PlantInfoTutorial" type="Control" parent="." unique_id=1586592931]
unique_name_in_owner = true
layout_mode = 1
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0