ajout de la porte et équilibrage des mutations
This commit is contained in:
@@ -72,7 +72,8 @@ func story():
|
||||
%LiftAnimationPlayer.play("arrive")
|
||||
AudioManager.play_sfx("Elevator")
|
||||
await %Lift.clicked
|
||||
%LiftAnimationPlayer.play_backwards("arrive")
|
||||
%Player3D.controlling_player = false
|
||||
|
||||
AudioManager.play_sfx("Elevator")
|
||||
|
||||
await get_tree().create_timer(LIFT_TIME).timeout
|
||||
|
||||
@@ -16,6 +16,9 @@
|
||||
[ext_resource type="Texture2D" uid="uid://dcgnamu7sb3ov" path="res://common/icons/bolt.svg" id="9_2kujw"]
|
||||
[ext_resource type="PackedScene" uid="uid://cm5b7w7j6527f" path="res://stages/title_screen/planet_3d.tscn" id="12_stoj6"]
|
||||
[ext_resource type="Texture2D" uid="uid://bsgmxvuphn73c" path="res://common/icons/arrow-narrow-down.svg" id="13_5d7hc"]
|
||||
[ext_resource type="PackedScene" uid="uid://crbjmwumboelw" path="res://gui/game/inventory_gui/inventory_3d.tscn" id="17_inbnt"]
|
||||
[ext_resource type="Script" uid="uid://bq7admu4ahs5r" path="res://entities/player/inventory/scripts/item.gd" id="18_qm808"]
|
||||
[ext_resource type="Script" uid="uid://fnu2d6wna4yc" path="res://entities/player/inventory/scripts/inventory.gd" id="19_kh1yg"]
|
||||
|
||||
[sub_resource type="Resource" id="Resource_f7ho8"]
|
||||
script = ExtResource("4_v8ur5")
|
||||
@@ -30,13 +33,13 @@ modifiers = Array[ExtResource("3_xy0a5")]([SubResource("Resource_f7ho8")])
|
||||
[sub_resource type="Resource" id="Resource_qm808"]
|
||||
script = ExtResource("5_v8ur5")
|
||||
region_parameter = SubResource("Resource_inbnt")
|
||||
position = 0.008863045261805778
|
||||
position = 0.00886304526180577
|
||||
metadata/_custom_type_script = "uid://b4eimt3v08jhc"
|
||||
|
||||
[sub_resource type="ViewportTexture" id="ViewportTexture_cvt2p"]
|
||||
viewport_path = NodePath("DestinationScreen/SubViewport")
|
||||
|
||||
[sub_resource type="FastNoiseLite" id="FastNoiseLite_kh1yg"]
|
||||
[sub_resource type="FastNoiseLite" id="FastNoiseLite_gbmux"]
|
||||
frequency = 1.0
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_5d7hc"]
|
||||
@@ -193,6 +196,12 @@ _data = {
|
||||
&"hover": SubResource("Animation_stoj6")
|
||||
}
|
||||
|
||||
[sub_resource type="Resource" id="Resource_ne0dp"]
|
||||
script = ExtResource("19_kh1yg")
|
||||
items = Array[ExtResource("18_qm808")]([null, null, null])
|
||||
n_tools = 1
|
||||
metadata/_custom_type_script = "uid://fnu2d6wna4yc"
|
||||
|
||||
[node name="Dashboard" type="Node3D" unique_id=1374334508]
|
||||
script = ExtResource("1_2q8cl")
|
||||
main_screen_icon = ExtResource("2_vlkbw")
|
||||
@@ -204,7 +213,7 @@ right_destination = SubResource("Resource_qm808")
|
||||
|
||||
[node name="DestinationScreen" type="Sprite3D" parent="." unique_id=1067303692]
|
||||
unique_name_in_owner = true
|
||||
transform = Transform3D(-1, 0, -8.742278e-08, 0, 1.0000002, 0, 8.742278e-08, 0, -1, 0, 0.63727874, 0.9382038)
|
||||
transform = Transform3D(-1, 0, -8.742278e-08, 0, 1.0000002, 0, 8.742278e-08, 0, -1, 0, 0.76403993, 0.9382038)
|
||||
pixel_size = 0.002
|
||||
texture = SubResource("ViewportTexture_cvt2p")
|
||||
|
||||
@@ -212,7 +221,7 @@ texture = SubResource("ViewportTexture_cvt2p")
|
||||
transform = Transform3D(-0.1, 0, 8.742278e-09, 0, 0.09999998, 0, -8.742278e-09, 0, -0.1, -1.8938096e-10, 0.24558258, 0.0021662712)
|
||||
radius = 1.0
|
||||
details = 32
|
||||
noise = SubResource("FastNoiseLite_kh1yg")
|
||||
noise = SubResource("FastNoiseLite_gbmux")
|
||||
height = 0.625
|
||||
terrain_material = SubResource("StandardMaterial3D_5d7hc")
|
||||
water_level = 0.0
|
||||
@@ -653,3 +662,9 @@ shape = SubResource("SphereShape3D_2kujw")
|
||||
|
||||
[node name="HoverAnimationPlayer" type="AnimationPlayer" parent="LeftScreen" unique_id=332045443]
|
||||
libraries/ = SubResource("AnimationLibrary_5d7hc")
|
||||
|
||||
[node name="Inventory3D" parent="." unique_id=810532522 instance=ExtResource("17_inbnt")]
|
||||
unique_name_in_owner = true
|
||||
transform = Transform3D(1, 0, 8.940697e-08, 0, 1, 0, -8.940697e-08, 0, 1, 0, 0.5876103, 0.89364576)
|
||||
no_tools = true
|
||||
test_inventory = SubResource("Resource_ne0dp")
|
||||
|
||||
@@ -43,6 +43,9 @@ func _ready():
|
||||
set_left_destination()
|
||||
set_right_destination()
|
||||
|
||||
if not Engine.is_editor_hint() and GameInfo.game_data.player_data:
|
||||
%Inventory3D.update(GameInfo.game_data.player_data.inventory)
|
||||
|
||||
func set_main_screen_icon(v : Texture = main_screen_icon):
|
||||
main_screen_icon = v
|
||||
if is_node_ready():
|
||||
|
||||
Reference in New Issue
Block a user