Dev 0.2.0

* Equilibrage de la difficulté (suite)
* Correction du timing des dialogues de Demeter
* Dev de la base astra (avec les logs)
* Fix de bug de duplication d'objets
* Fix de la mutation ancien
* Ajout d'une mention de la propagation des mutations dans le tuto
This commit is contained in:
2026-07-25 20:09:54 +02:00
parent 3ff6d68371
commit ffe6f50ba6
64 changed files with 633 additions and 126 deletions
+5 -6
View File
@@ -206,13 +206,13 @@ unique_name_in_owner = true
[node name="WorldEnvironment" type="WorldEnvironment" parent="." unique_id=1392940941]
environment = SubResource("Environment_lhhy6")
[node name="Player3D" parent="." unique_id=549819967 instance=ExtResource("3_4wxm6")]
unique_name_in_owner = true
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -29.925, 1, 4.22)
[node name="Phone" parent="." unique_id=429299908 instance=ExtResource("4_mwti2")]
unique_name_in_owner = true
transform = Transform3D(-1, 0, -1.509958e-07, 0, 1, 0, 1.509958e-07, 0, -1, 0.8795166, 0.90269387, -2.0494514)
transform = Transform3D(-1, 0, -1.509958e-07, 0, 1, 0, 1.509958e-07, 0, -1, 0.88, 0.903, -2.049)
[node name="Player3D" parent="." unique_id=549819967 instance=ExtResource("3_4wxm6")]
unique_name_in_owner = true
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1.5150342, 1, 0)
[node name="Lift" parent="." unique_id=1854388434 instance=ExtResource("5_lhhy6")]
unique_name_in_owner = true
@@ -228,7 +228,6 @@ shape = SubResource("SphereShape3D_kdvug")
[node name="LiftHideScreen" type="Sprite3D" parent="Lift" unique_id=809134917]
unique_name_in_owner = true
transform = Transform3D(1.3626386e-07, 0.19990343, 0.9798156, -2.7800754e-08, 0.9798156, -0.19990343, -1, 0, 1.3907092e-07, -0.8308959, 1.5522995, 0)
visible = false
texture = SubResource("GradientTexture2D_g4v7s")
[node name="TrailerCamera" type="Camera3D" parent="." unique_id=1809922038]
@@ -1,4 +1,3 @@
@tool
extends Node3D
class_name AstraBase
@@ -31,6 +30,8 @@ func _ready():
Input.mouse_mode = Input.MOUSE_MODE_CAPTURED
set_room_part_number()
arrive_player()
func spawn_player():
chosen_incubator_id = randi_range(0, len(%Incubators.get_children()) - 1)
var new_player_incubator := %Incubators.get_children()[chosen_incubator_id] as Incubator
@@ -50,11 +51,13 @@ func spawn_player():
func story_on_spawn():
AudioManager.play_sfx("Respawn")
%LiftHideScreen.visible = false
if (
GameInfo.game_data.progression_data.get_story_step() is TutorialStoryStep
and not TutorialStoryStep.INTRO_DIALOG in GameInfo.game_data.dialogs_done
):
%Phone.visible = true
%Phone.play_audio()
await %Phone.clicked
%Phone.stop_audio()
@@ -3,6 +3,7 @@
[ext_resource type="Script" uid="uid://btc447j47jbx0" path="res://stages/3d_scenes/astra_end_base/scripts/astra_end_base.gd" id="1_fevne"]
[ext_resource type="Shader" uid="uid://bv2rghn44mrrf" path="res://stages/title_screen/resources/shaders/stars.gdshader" id="1_xd71i"]
[ext_resource type="PackedScene" uid="uid://da7a74dg30q1l" path="res://entities/player_3d/player_3D.tscn" id="3_c8vcx"]
[ext_resource type="Material" uid="uid://ukcnxnnsi8ki" path="res://common/assets/materials/pearlescent.tres" id="4_a1v2l"]
[ext_resource type="PackedScene" uid="uid://bqo4uknlbm8r1" path="res://stages/3d_scenes/astra_end_base/assets/3d/astra_end_base.blend" id="4_s7tqr"]
[ext_resource type="Texture2D" uid="uid://ca8jjqdbm3tc3" path="res://stages/3d_scenes/astra_end_base/assets/2d/alien_writings/lucius_cipher.png" id="5_tbsgm"]
[ext_resource type="Texture2D" uid="uid://65ajxn4q8mxk" path="res://stages/3d_scenes/astra_end_base/assets/2d/alien_writings/calligraphic_avali_scratch.png" id="6_on72i"]
@@ -10,6 +11,9 @@
[ext_resource type="Texture2D" uid="uid://br57pu7qq2bnq" path="res://stages/3d_scenes/astra_end_base/assets/2d/alien_writings/retrospection.png" id="8_ipyd4"]
[ext_resource type="Texture2D" uid="uid://dj0d2hkji46gd" path="res://stages/3d_scenes/astra_end_base/assets/2d/alien_writings/templar_cipher_plus.png" id="9_r7duo"]
[ext_resource type="Texture2D" uid="uid://bcayfx6nwlx7f" path="res://stages/3d_scenes/astra_end_base/assets/2d/alien_writings/wavefront.png" id="10_a1v2l"]
[ext_resource type="PackedScene" uid="uid://cypsoytvytdup" path="res://entities/interactable_3d/3d_door/3d_door.tscn" id="11_kd1mw"]
[ext_resource type="PackedScene" uid="uid://d2mqot6b0wrji" path="res://entities/interactable_3d/radio/radio_3d.tscn" id="12_ipyd4"]
[ext_resource type="Script" uid="uid://bj4d1x8n8ina" path="res://entities/interactable_3d/interactable_3d.gd" id="13_r7duo"]
[sub_resource type="ShaderMaterial" id="ShaderMaterial_2ei4e"]
shader = ExtResource("1_xd71i")
@@ -52,7 +56,94 @@ volumetric_fog_sky_affect = 0.0
adjustment_enabled = true
adjustment_saturation = 1.3
[node name="BoreaBase" type="Node3D" unique_id=442220603]
[sub_resource type="SphereMesh" id="SphereMesh_6vgbi"]
[sub_resource type="Gradient" id="Gradient_pt3q5"]
offsets = PackedFloat32Array(0.26086956, 0.70652175, 0.9927536)
colors = PackedColorArray(1, 0, 0.43137255, 1, 0.54899985, 0.18, 1, 0.6, 0.54899985, 0.18, 1, 0)
[sub_resource type="GradientTexture2D" id="GradientTexture2D_faqab"]
gradient = SubResource("Gradient_pt3q5")
fill = 1
fill_from = Vector2(0.5, 0.5)
fill_to = Vector2(1, 0.5)
[sub_resource type="Animation" id="Animation_4ljrk"]
resource_name = "Pulse"
length = 2.0
loop_mode = 1
tracks/0/type = "bezier"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Sprite3D:scale:x")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"handle_modes": PackedInt32Array(0, 3, 0),
"points": PackedFloat32Array(1, -0.25, 0, 0.25, 0, 1.1005427, -0.90000004, -0.0019688606, 0.90000004, 0.0019688606, 1, -0.16111112, 0, 0.1711111, 0),
"times": PackedFloat32Array(0, 0.8, 1.9933333)
}
tracks/1/type = "bezier"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("Sprite3D:scale:y")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"handle_modes": PackedInt32Array(0, 3, 0),
"points": PackedFloat32Array(1, -0.25, 0, 0.25, 0, 1.0991166, -0.7, 0.00159657, 0.7, -0.00159657, 1, -0.15555556, 0, 0.17777777, 0),
"times": PackedFloat32Array(0, 1.2666667, 2)
}
tracks/2/type = "bezier"
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/path = NodePath("Sprite3D:scale:z")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/keys = {
"handle_modes": PackedInt32Array(),
"points": PackedFloat32Array(),
"times": PackedFloat32Array()
}
[sub_resource type="Animation" id="Animation_pt3q5"]
length = 0.001
tracks/0/type = "bezier"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Sprite3D:scale:x")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"handle_modes": PackedInt32Array(0),
"points": PackedFloat32Array(0, -0.25, 0, 0.25, 0),
"times": PackedFloat32Array(0)
}
tracks/1/type = "bezier"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("Sprite3D:scale:y")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"handle_modes": PackedInt32Array(0),
"points": PackedFloat32Array(0, -0.25, 0, 0.25, 0),
"times": PackedFloat32Array(0)
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_vugff"]
_data = {
&"Pulse": SubResource("Animation_4ljrk"),
&"RESET": SubResource("Animation_pt3q5")
}
[sub_resource type="SphereShape3D" id="SphereShape3D_g4v7s"]
radius = 3.5017478
[sub_resource type="SphereShape3D" id="SphereShape3D_yf5fn"]
radius = 0.8390978
[node name="AstraBase" type="Node3D" unique_id=442220603]
script = ExtResource("1_fevne")
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="." unique_id=1539431276]
@@ -66,12 +157,35 @@ environment = SubResource("Environment_fevne")
[node name="Player3D" parent="." unique_id=549819967 instance=ExtResource("3_c8vcx")]
unique_name_in_owner = true
transform = Transform3D(0.25881904, 0, 0.96592593, 0, 1, 0, -0.96592593, 0, 0.25881904, 29.731356, 41.40791, 8.823577)
transform = Transform3D(0.25881904, 0, 0.96592593, 0, 1, 0, -0.96592593, 0, 0.25881904, 29.048777, 41.40791, 8.823577)
speed = 5.0
[node name="PearlModel" type="MeshInstance3D" parent="Player3D" unique_id=1334707823]
transform = Transform3D(0.6999995, 0, 1.0430813e-07, 0, 0.7, 0, -1.0430813e-07, 0, 0.6999995, 0.69991827, -0.49926376, -0.10863876)
mesh = SubResource("SphereMesh_6vgbi")
skeleton = NodePath("../..")
surface_material_override/0 = ExtResource("4_a1v2l")
[node name="Sprite3D" type="Sprite3D" parent="Player3D/PearlModel" unique_id=349396599]
transform = Transform3D(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
pixel_size = 0.03
billboard = 1
texture = SubResource("GradientTexture2D_faqab")
[node name="AnimationPlayer" type="AnimationPlayer" parent="Player3D/PearlModel" unique_id=1205524219]
libraries/ = SubResource("AnimationLibrary_vugff")
autoplay = &"Pulse"
[node name="borea_base" parent="." unique_id=1161090043 instance=ExtResource("4_s7tqr")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.026304245, 0.09278107, -0.027095795)
[node name="StaticBody3D" type="StaticBody3D" parent="borea_base" unique_id=1593264839]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 56.653046, -235.67523, -4.3221416)
[node name="CollisionShape3D" type="CollisionShape3D" parent="borea_base/StaticBody3D" unique_id=366905805]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.1359253, -2.8711548, -1.2334776)
shape = SubResource("SphereShape3D_g4v7s")
[node name="Writings" type="Node3D" parent="." unique_id=1164701902]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 89.32092, -217.201, 0)
@@ -81,28 +195,38 @@ pixel_size = 0.003
texture = ExtResource("5_tbsgm")
[node name="Wall1" type="Sprite3D" parent="Writings" unique_id=721718473]
transform = Transform3D(0.97154945, -0.22105828, -0.08499965, 0.17205775, 0.4121628, 0.8947166, -0.16275081, -0.8838861, 0.43847132, -29.599998, -16.999985, -6.9000006)
transform = Transform3D(0.99170494, -0.12726313, -0.018050455, 0.07970211, 0.4986614, 0.86312467, -0.10084282, -0.8574034, 0.50466794, -29.599998, -17.031189, -6.9000006)
pixel_size = 0.005
shaded = true
alpha_cut = 1
texture = ExtResource("6_on72i")
[node name="Wall2" type="Sprite3D" parent="Writings" unique_id=759085966]
transform = Transform3D(0.95404595, -0.21523872, 0.2084915, 0.11698221, 0.9080688, 0.4021517, -0.27588323, -0.3592814, 0.8915185, -27.599998, -11.299988, -15)
transform = Transform3D(0.9424416, -0.22922032, 0.24343787, 0.06502391, 0.8397868, 0.53900826, -0.32798755, -0.49215457, 0.8063549, -27.599998, -11.299988, -15)
pixel_size = 0.005
shaded = true
alpha_cut = 1
texture = ExtResource("7_kd1mw")
[node name="Wall3" type="Sprite3D" parent="Writings" unique_id=1200417759]
transform = Transform3D(0.94133574, -0.16944362, 0.29185277, 0.06530849, 0.93993133, 0.33506027, -0.33109507, -0.29634333, 0.8958566, -37.59999, -14.299988, -10.400027)
transform = Transform3D(0.9631755, -0.14006364, 0.22951505, 0.02751878, 0.90047455, 0.43403864, -0.2674653, -0.41173884, 0.87116885, -37.59999, -14.299988, -10.626168)
pixel_size = 0.005
shaded = true
alpha_cut = 1
texture = ExtResource("8_ipyd4")
[node name="Wall4" type="Sprite3D" parent="Writings" unique_id=612060231]
transform = Transform3D(0.5820415, 0.80313295, -0.1273065, -0.007992949, 0.16220072, 0.98672664, 0.8131212, -0.5732974, 0.10082706, -35.59999, -18.599976, 0.5999727)
transform = Transform3D(0.5723594, 0.81974465, 0.020626552, -0.12535757, 0.0626126, 0.99013513, 0.8103656, -0.5692978, 0.13859814, -35.59999, -19.026611, 0.5999727)
pixel_size = 0.005
shaded = true
alpha_cut = 1
texture = ExtResource("9_r7duo")
[node name="Wall5" type="Sprite3D" parent="Writings" unique_id=1287618329]
transform = Transform3D(0.980034, 0.0050439783, 0.19876635, -0.021924706, 0.9963235, 0.0828185, -0.19761789, -0.085522816, 0.97654146, -45.6, -10.899994, -10.700001)
pixel_size = 0.005
shaded = true
alpha_cut = 1
texture = ExtResource("10_a1v2l")
[node name="Lights" type="Node3D" parent="." unique_id=1950247072]
@@ -142,3 +266,41 @@ shadow_bias = 0.09
shadow_normal_bias = 10.0
spot_range = 198.038
spot_attenuation = 0.39
[node name="3dDoor" parent="." unique_id=814731756 instance=ExtResource("11_kd1mw")]
transform = Transform3D(0.97102314, 0, -0.23898536, 0, 1, 0, 0.23898536, 0, 0.97102314, 30.60401, 42.212543, 9.433124)
[node name="DemeterRadio3d" parent="." unique_id=478512957 instance=ExtResource("12_ipyd4")]
transform = Transform3D(-0.84546113, 0, -0.5340372, 0, 1, 0, 0.5340372, 0, -0.84546113, 25.89695, 40.26554, 5.76624)
log_title = "LOG_GOODBYE_ORCHID_TITLE_TEXT"
log_text = "LOG_GOODBYE_ORCHID_CONTENT_TEXT"
[node name="Expedition2Radio3d" parent="." unique_id=1207167717 instance=ExtResource("12_ipyd4")]
transform = Transform3D(-0.8210772, 0, -0.5708172, 0, 1, 0, 0.5708172, 0, -0.8210772, 23.319265, 25.52825, 6.7581625)
log_title = "LOG_ASTRA_EXPEDITION_2_TITLE_TEXT"
log_text = "LOG_ASTRA_EXPEDITION_2_CONTENT_TEXT"
[node name="Expedition3Radio3d" parent="." unique_id=1640762741 instance=ExtResource("12_ipyd4")]
transform = Transform3D(-0.76642853, 0, 0.64232963, 0, 1, 0, -0.64232963, 0, -0.76642853, -5.4841, 8.296667, 2.2523332)
log_title = "LOG_ASTRA_EXPEDITION_3_TITLE_TEXT"
log_text = "LOG_ASTRA_EXPEDITION_3_CONTENT_TEXT"
[node name="Expedition4Radio3d" parent="." unique_id=1825654965 instance=ExtResource("12_ipyd4")]
transform = Transform3D(0.36502358, 0, 0.93099827, 0, 1, 0, -0.93099827, 0, 0.36502358, 47.443226, -237.23366, 5.464453)
log_title = "LOG_ASTRA_EXPEDITION_4_TITLE_TEXT"
log_text = "LOG_ASTRA_EXPEDITION_4_CONTENT_TEXT"
[node name="Expedition5Radio3d" parent="." unique_id=2000329927 instance=ExtResource("12_ipyd4")]
transform = Transform3D(-0.7659324, 0, 0.6429211, 0, 1, 0, -0.6429211, 0, -0.7659324, 217.73625, -239.33879, -10.856295)
log_title = "LOG_ASTRA_EXPEDITION_5_TITLE_TEXT"
log_text = "LOG_ASTRA_EXPEDITION_5_CONTENT_TEXT"
[node name="PearlInteractable3D" type="Area3D" parent="." unique_id=2022845503]
transform = Transform3D(-0.7659324, 0, 0.6429211, 0, 1, 0, -0.6429211, 0, -0.7659324, 226.28517, -239.23868, -11.878513)
script = ExtResource("13_r7duo")
metadata/_custom_type_script = "uid://bj4d1x8n8ina"
[node name="CollisionShape3D" type="CollisionShape3D" parent="PearlInteractable3D" unique_id=992091321]
shape = SubResource("SphereShape3D_yf5fn")
[connection signal="clicked" from="PearlInteractable3D" to="." method="_on_pearl_interactable_3d_clicked"]
@@ -3,4 +3,6 @@ extends Node3D
func _ready():
Input.mouse_mode = Input.MOUSE_MODE_CAPTURED
AudioManager.play_music_alone("AstraEnd")
func _on_pearl_interactable_3d_clicked():
SteamConnection.unlock_achievement(SteamConnection.ACH_STW_REPAIR_THE_PLANET)
SceneManager.change_to_scene(CreditsScene.new())
@@ -669,6 +669,7 @@ skeleton = NodePath("../../../../..")
unique_name_in_owner = true
transform = Transform3D(0.96053207, 0, 0.27816978, 0, 1, 0, -0.27816978, 0, 0.96053207, 55.192722, -3.5220742, -16.972366)
script = ExtResource("12_jcdon")
interactable = false
audio_player = NodePath("AudioStreamPlayer3D")
metadata/_custom_type_script = "uid://bj4d1x8n8ina"
@@ -40,6 +40,7 @@ func _on_ai_receptacle_clicked():
match state:
State.ARRIVAL:
Dialogic.start(DIALOG_BOREA_ARRIVAL)
%CommunicationLever.interactable = true
State.COMMS_UP:
Dialogic.start(DIALOG_COMMS_UP)
+1
View File
@@ -18,4 +18,5 @@ func setup_room(door_id : int):
func _on_exit_clicked():
%Exit.interactable = false
SceneManager.change_to_scene(RegionScene.new(GameInfo.game_data.current_region_data))
@@ -242,6 +242,7 @@ screen_text = "RESPAWN_TO_LAST_BASE"
[node name="Pearl" parent="." unique_id=1993856261 instance=ExtResource("19_lom5w")]
unique_name_in_owner = true
transform = Transform3D(0.380475, 0, 0.9247912, 0, 1, 0, -0.9247912, 0, 0.380475, -1.0093391, -0.7638596, 1.3686184)
interactable = false
[connection signal="clicked" from="Phone" to="." method="_on_phone_clicked"]
[connection signal="clicked" from="OrchidSaver" to="." method="_on_orchid_saver_clicked"]
@@ -40,7 +40,9 @@ func _ready():
%Phone.visible = GameInfo.game_data.game_mode == GameData.Mode.STORY
%InfiniteModeScreen.visible = GameInfo.game_data.game_mode == GameData.Mode.INFINITE
%Pearl.visible = GameInfo.game_data.progression_data.get_story_step() is AstraStoryStep
%Pearl.visible = GameInfo.game_data.current_run.story_step is AstraStoryStep
update_dialogs()
func update_dialogs():
if GameInfo.game_data and GameInfo.game_data.current_run:
@@ -56,7 +58,7 @@ func update_dialogs():
):
phone_dialogs.append(FAILED_DIALOG)
var story_dialog = run_data.story_step.get_ship_dialog_path(run_data.level, GameInfo.game_data.ship_in_space)
var story_dialog = run_data.story_step.get_ship_dialog_path(run_data.level, run_data.difficulty_setting, GameInfo.game_data.ship_in_space)
if (
story_dialog
and not story_dialog in GameInfo.game_data.dialogs_done
@@ -84,7 +86,7 @@ func _on_phone_clicked():
if phone_dialog == FAILED_DIALOG:
%FailTutorial.appear()
if (len(phone_dialogs)):
await get_tree().create_timer(2.).timeout
await get_tree().create_timer(randf_range(0.2,1.)).timeout
ring_phone()
@@ -287,25 +287,25 @@ transform = Transform3D(0.86598426, 0, -0.5000024, 0, 0.9999422, 0, 0.49997625,
[node name="cockpit2" parent="MarginContainer/ShipTutorialContainer/GridContainer/ShipVisualiser/SubViewport/Ship" unique_id=1190034532 instance=ExtResource("4_ofwam")]
[node name="Skeleton3D" parent="MarginContainer/ShipTutorialContainer/GridContainer/ShipVisualiser/SubViewport/Ship/cockpit2/Armature" parent_id_path=PackedInt32Array(1190034532, 856976144) index="0" unique_id=1970411272]
[node name="Skeleton3D" parent="MarginContainer/ShipTutorialContainer/GridContainer/ShipVisualiser/SubViewport/Ship/cockpit2/Armature" parent_id_path=PackedInt32Array(1190034532, 119636235) index="0" unique_id=1653253795]
bones/0/rotation = Quaternion(-0.52081746, 0.47827742, 0.52081746, 0.47827742)
bones/1/rotation = Quaternion(0.042539995, -1.4957005e-08, -9.944439e-10, 0.9990948)
bones/2/rotation = Quaternion(0.52081746, 0.47827742, 0.52081746, -0.47827742)
bones/3/rotation = Quaternion(0.042539995, 1.4957005e-08, 9.944439e-10, 0.9990948)
[node name="WinkEnd_R" parent="MarginContainer/ShipTutorialContainer/GridContainer/ShipVisualiser/SubViewport/Ship/cockpit2/Armature/Skeleton3D" index="0" unique_id=2031973763]
[node name="WinkEnd_R" parent="MarginContainer/ShipTutorialContainer/GridContainer/ShipVisualiser/SubViewport/Ship/cockpit2/Armature/Skeleton3D" index="0" unique_id=493791274]
transform = Transform3D(7.145433e-10, -1, -7.4505806e-08, 2.9971538e-08, -4.4703484e-08, 1, -1, -7.1454553e-10, 2.9971538e-08, -12.358327, -1.0543112, -8.881784e-16)
[node name="Wing_R" parent="MarginContainer/ShipTutorialContainer/GridContainer/ShipVisualiser/SubViewport/Ship/cockpit2/Armature/Skeleton3D" index="1" unique_id=203164776]
[node name="Wing_R" parent="MarginContainer/ShipTutorialContainer/GridContainer/ShipVisualiser/SubViewport/Ship/cockpit2/Armature/Skeleton3D" index="1" unique_id=1517389456]
transform = Transform3D(0, -0.9963807, -0.08500305, 0, -0.08500302, 0.9963807, -1, 0, 0, 0, 0, 0)
[node name="WinkEnd_L" parent="MarginContainer/ShipTutorialContainer/GridContainer/ShipVisualiser/SubViewport/Ship/cockpit2/Armature/Skeleton3D" index="2" unique_id=206539248]
[node name="WinkEnd_L" parent="MarginContainer/ShipTutorialContainer/GridContainer/ShipVisualiser/SubViewport/Ship/cockpit2/Armature/Skeleton3D" index="2" unique_id=432843655]
transform = Transform3D(7.145433e-10, 1, 7.4505806e-08, -2.9971538e-08, -4.4703484e-08, 1, 1, -7.1454553e-10, 2.9971538e-08, 12.358327, -1.0543112, 0)
[node name="Wing_L" parent="MarginContainer/ShipTutorialContainer/GridContainer/ShipVisualiser/SubViewport/Ship/cockpit2/Armature/Skeleton3D" index="3" unique_id=1082612885]
[node name="Wing_L" parent="MarginContainer/ShipTutorialContainer/GridContainer/ShipVisualiser/SubViewport/Ship/cockpit2/Armature/Skeleton3D" index="3" unique_id=1557624769]
transform = Transform3D(0, 0.9963807, 0.08500305, 0, -0.08500302, 0.9963807, 1, 0, 0, 0, 0, 0)
[node name="AnimationPlayer" parent="MarginContainer/ShipTutorialContainer/GridContainer/ShipVisualiser/SubViewport/Ship/cockpit2" index="7" unique_id=980851307]
[node name="AnimationPlayer" parent="MarginContainer/ShipTutorialContainer/GridContainer/ShipVisualiser/SubViewport/Ship/cockpit2" index="7" unique_id=1720187928]
autoplay = &"Fold"
[node name="Camera3D" type="Camera3D" parent="MarginContainer/ShipTutorialContainer/GridContainer/ShipVisualiser/SubViewport" unique_id=541588220]
@@ -348,6 +348,4 @@ icon = ExtResource("7_cnkwc")
unique_name_in_owner = true
libraries/ = SubResource("AnimationLibrary_cnkwc")
[connection signal="button_down" from="MarginContainer/ShipTutorialContainer/OkButton" to="." method="_on_ok_button_button_down"]
[editable path="MarginContainer/ShipTutorialContainer/GridContainer/ShipVisualiser/SubViewport/Ship/cockpit2"]
+3 -2
View File
@@ -88,17 +88,17 @@ _data = {
radius = 1.1602892
[node name="Pearl" type="Area3D" unique_id=1993856261]
transform = Transform3D(0.380475, 0, 0.9247912, 0, 1, 0, -0.9247912, 0, 0.380475, 0, 0, 0)
script = ExtResource("1_rt5rq")
metadata/_custom_type_script = "uid://bj4d1x8n8ina"
[node name="PearlModel" type="MeshInstance3D" parent="." unique_id=614754254]
transform = Transform3D(0.7, 0, 0, 0, 0.7, 0, 0, 0, 0.7, 0, 0, 0)
mesh = SubResource("SphereMesh_g4v7s")
skeleton = NodePath("../..")
surface_material_override/0 = ExtResource("2_rt5rq")
[node name="Sprite3D" type="Sprite3D" parent="PearlModel" unique_id=1007515788]
transform = Transform3D(0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0)
transform = Transform3D(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
pixel_size = 0.03
billboard = 1
texture = SubResource("GradientTexture2D_pt3q5")
@@ -108,4 +108,5 @@ libraries/ = SubResource("AnimationLibrary_pt3q5")
autoplay = &"Pulse"
[node name="CollisionShape3D" type="CollisionShape3D" parent="." unique_id=2004276860]
transform = Transform3D(0.7, 0, 0, 0, 0.7, 0, 0, 0, 0.7, 0, 0, 0)
shape = SubResource("SphereShape3D_g4v7s")
@@ -0,0 +1,63 @@
[remap]
importer="scene"
importer_version=1
type="PackedScene"
uid="uid://b2fvcw8of7sgh"
path="res://.godot/imported/ship_leave.blend-5947296b617032739f6f3bc42fa72164.scn"
[deps]
source_file="res://stages/3d_scenes/ship_garage/assets/videos/ship_leave.blend"
dest_files=["res://.godot/imported/ship_leave.blend-5947296b617032739f6f3bc42fa72164.scn"]
[params]
nodes/root_type=""
nodes/root_name=""
nodes/root_script=null
mesh_library/use_node_names_as_mesh_names=false
array_mesh/deduplicate_surfaces=true
nodes/apply_root_scale=true
nodes/root_scale=1.0
nodes/import_as_skeleton_bones=false
nodes/use_name_suffixes=true
nodes/use_node_type_suffixes=true
meshes/ensure_tangents=true
meshes/generate_lods=true
meshes/create_shadow_meshes=true
meshes/light_baking=1
meshes/lightmap_texel_size=0.2
meshes/force_disable_compression=false
skins/use_named_skins=true
animation/import=true
animation/fps=30
animation/trimming=false
animation/remove_immutable_tracks=true
animation/import_rest_as_RESET=false
import_script/path=""
materials/extract=0
materials/extract_format=0
materials/extract_path=""
_subresources={}
blender/nodes/visible=0
blender/nodes/active_collection_only=false
blender/nodes/punctual_lights=true
blender/nodes/cameras=true
blender/nodes/custom_properties=true
blender/nodes/modifiers=1
blender/meshes/vertex_colors=1
blender/meshes/uvs=true
blender/meshes/normals=true
blender/meshes/export_geometry_nodes_instances=false
blender/meshes/gpu_instances=false
blender/meshes/tangents=true
blender/meshes/skins=2
blender/meshes/export_bones_deforming_mesh_only=false
blender/materials/unpack_enabled=true
blender/materials/export_materials=1
blender/animation/limit_playback=true
blender/animation/always_sample=true
blender/animation/group_tracks=true
gltf/naming_version=2
gltf/texture_map_mode=1
@@ -0,0 +1 @@
uid://sj5bbl6pn2v8
@@ -25,6 +25,7 @@ func _ready():
%Phone.stop_audio()
Dialogic.start(DIALOG_PATH)
await Dialogic.timeline_ended
AudioManager.stop_all_ambiances()
%Player3D.controlling_player = false
%VideoAnimationPlayer.play("Appear")
(%Video as VideoStreamPlayer).play()
@@ -7,7 +7,7 @@
[ext_resource type="PackedScene" uid="uid://blvetnnib2ks0" path="res://stages/3d_scenes/cockpit_scene/assets/3d/cockpit2.blend" id="5_43lym"]
[ext_resource type="PackedScene" uid="uid://csx7d5khjd6y5" path="res://entities/interactable_3d/phone/phone.tscn" id="7_dkh4e"]
[ext_resource type="Material" uid="uid://cr7bp4fhh1ipr" path="res://entities/player_3d/resources/materials/post_process_quad.tres" id="7_ovhgo"]
[ext_resource type="VideoStream" uid="uid://hufnq6sj37p3" path="res://stages/3d_scenes/ship_garage/assets/videos/plan_1.ogv" id="8_jwd5g"]
[ext_resource type="VideoStream" uid="uid://sj5bbl6pn2v8" path="res://stages/3d_scenes/ship_garage/assets/videos/ship_leave.ogv" id="8_ovhgo"]
[sub_resource type="Environment" id="Environment_ovhgo"]
background_mode = 2
@@ -420,7 +420,7 @@ anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
color = Color(0.06318334, 0.059500005, 0.17, 0.8627451)
color = Color(0.06318334, 0.059500005, 0.17, 1)
[node name="Plan1AspectRatioContainer" type="AspectRatioContainer" parent="VideoCanvasLayer/Control" unique_id=2079607498]
layout_mode = 1
@@ -436,7 +436,7 @@ stretch_mode = 0
unique_name_in_owner = true
custom_maximum_size = Vector2(-1, 1080)
layout_mode = 2
stream = ExtResource("8_jwd5g")
stream = ExtResource("8_ovhgo")
expand = true
bus = &"Sfx"
@@ -30,4 +30,5 @@ func setup_room(door_id : int):
)
func _on_exit_clicked():
%Exit.interactable = false
SceneManager.change_to_scene(RegionScene.new(GameInfo.game_data.current_region_data))
@@ -3,19 +3,20 @@
importer="texture"
type="CompressedTexture2D"
uid="uid://k2smk66py4uq"
path="res://.godot/imported/moss_particle.png-5ac5ac284abd73e64071d175c4b8d609.ctex"
path.s3tc="res://.godot/imported/moss_particle.png-5ac5ac284abd73e64071d175c4b8d609.s3tc.ctex"
metadata={
"vram_texture": false
"imported_formats": ["s3tc_bptc"],
"vram_texture": true
}
[deps]
source_file="res://stages/terrain/region/assets/textures/moss_biome/moss_particle.png"
dest_files=["res://.godot/imported/moss_particle.png-5ac5ac284abd73e64071d175c4b8d609.ctex"]
dest_files=["res://.godot/imported/moss_particle.png-5ac5ac284abd73e64071d175c4b8d609.s3tc.ctex"]
[params]
compress/mode=0
compress/mode=2
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
@@ -23,7 +24,7 @@ compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
@@ -37,4 +38,4 @@ process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1
detect_3d/compress_to=0
+1 -1
View File
@@ -1,7 +1,7 @@
extends Sprite2D
class_name PlantGrid
const GRID_SHIFT : int = roundi(Region.TILE_SIZE / 2.)
const GRID_SHIFT : int = roundi(Region.TILE_SIZE / 3.)
const GRID_SIZE : int = Region.TILE_SIZE
const POINT_RADIUS : int = 5
const POINT_COLOR : Color = Color.WHITE