Dev Demo 2

* Ajout des achievement Steam
* Ajout d'une annonce à la récupération d'un artefact et ajout de textes axplicatifs sur les annonces d'artefacts et de mutation
* Fix du léger glitch des tooltips
* Ajout de clarté sur la machine de respawn dans le vaisseau
This commit is contained in:
2026-05-28 15:40:09 +02:00
parent 7b09f2ba7c
commit 1d6ff78535
30 changed files with 417 additions and 264 deletions

View File

@@ -46,16 +46,40 @@ metadata/_custom_type_script = "uid://dj2pv1hiwjfv0"
shader = ExtResource("1_x54se")
shader_parameter/fov = 90.0
shader_parameter/cull_back = true
shader_parameter/y_rot = -7e-45
shader_parameter/x_rot = 1.237e-42
shader_parameter/y_rot = -6e-45
shader_parameter/x_rot = 6e-45
shader_parameter/inset = 0.0
[sub_resource type="Animation" id="Animation_1et8x"]
length = 0.3
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("SubViewportContainer/SubViewport/CardContainer/Card:modulate")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Color(1, 1, 1, 1)]
}
[sub_resource type="Animation" id="Animation_7xkgc"]
resource_name = "appear"
length = 0.2
length = 0.1
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("SubViewportContainer/SubViewport/CardContainer/Card:modulate")
tracks/0/interp = 2
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0.033333335, 0.06666667),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [Color(1, 1, 1, 0), Color(1, 1, 1, 1)]
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_r0jrf"]
_data = {
@@ -64,6 +88,7 @@ _data = {
}
[node name="CardVisualiser" type="MarginContainer" unique_id=1151339649]
modulate = Color(0.8839839, 0.4713691, 0.50117576, 1)
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
@@ -72,7 +97,7 @@ anchor_bottom = 0.5
offset_left = -125.0
offset_top = -30.0
offset_right = 225.0
offset_bottom = 121.0
offset_bottom = 132.0
grow_horizontal = 2
grow_vertical = 2
scale = Vector2(1.0000002, 1.0000002)
@@ -97,19 +122,19 @@ mouse_filter = 2
unique_name_in_owner = true
transparent_bg = true
handle_input_locally = false
size = Vector2i(400, 201)
size = Vector2i(400, 212)
size_2d_override_stretch = true
render_target_update_mode = 4
[node name="CardContainer" type="MarginContainer" parent="SubViewportContainer/SubViewport" unique_id=1240228608]
unique_name_in_owner = true
offset_right = 400.0
offset_bottom = 201.0
offset_bottom = 212.0
mouse_filter = 2
theme_override_constants/margin_left = 25
theme_override_constants/margin_top = 25
theme_override_constants/margin_right = 25
theme_override_constants/margin_bottom = 25
theme_override_constants/margin_bottom = 36
[node name="Card" parent="SubViewportContainer/SubViewport/CardContainer" unique_id=1169470018 instance=ExtResource("1_we78f")]
unique_name_in_owner = true

View File

@@ -84,5 +84,6 @@ func update():
%Card.info = card_info
%Card.down_arrow = down_arrow
%Card.update()
%AnimationPlayer.play("appear")
updated_on_last_frame = true

View File

@@ -148,7 +148,6 @@ func spawn_score_particle(
func set_objective_text(v : String = objective_text):
print(v)
var old_v = objective_text
objective_text = v
if is_node_ready() and old_v != objective_text:

View File

@@ -159,6 +159,7 @@ func finish_tutorial():
region.data.update()
succeded.emit()
success = true
SteamConnection.unlock_achievement(SteamConnection.ACH_FINISH_TUTORIAL)
class Step: