168 lines
9.3 KiB
Plaintext
168 lines
9.3 KiB
Plaintext
[gd_scene format=3 uid="uid://bhqudfixefudt"]
|
|
|
|
[ext_resource type="Script" uid="uid://dcfljv6govi7a" path="res://scripts/player.gd" id="1_3vyb7"]
|
|
[ext_resource type="Script" uid="uid://d2qmolg6y1gq2" path="res://scripts/spring_arm_3d.gd" id="2_g2els"]
|
|
[ext_resource type="PackedScene" uid="uid://cm68vgjltv8fo" path="res://assets/blender/player.glb" id="2_qlg0r"]
|
|
[ext_resource type="PackedScene" uid="uid://bdh2q1npebnwu" path="res://ui/pause.tscn" id="3_qhqgy"]
|
|
[ext_resource type="Script" uid="uid://1ihmscldye3u" path="res://scripts/camera_pov.gd" id="5_qlg0r"]
|
|
[ext_resource type="PackedScene" uid="uid://ben6bv5gilclx" path="res://assets/blender/character.glb" id="6_tuyoq"]
|
|
[ext_resource type="PackedScene" uid="uid://dt0eq2qhu7jk4" path="res://scenes/tarte.tscn" id="7_fjrip"]
|
|
[ext_resource type="PackedScene" uid="uid://bctbwm5pasw4l" path="res://scenes/feather.tscn" id="8_smehm"]
|
|
|
|
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_o7qk5"]
|
|
height = 2.6489258
|
|
|
|
[sub_resource type="ViewportTexture" id="ViewportTexture_3vyb7"]
|
|
viewport_path = NodePath("SpriteTuto/SubViewport")
|
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_ka232"]
|
|
size = Vector3(0.7248535, 2.6704102, 1.5339355)
|
|
|
|
[sub_resource type="ViewportTexture" id="ViewportTexture_smehm"]
|
|
viewport_path = NodePath("Sprite3D/SubViewport")
|
|
|
|
[node name="Player" type="CharacterBody3D" unique_id=219675862 groups=["player"]]
|
|
script = ExtResource("1_3vyb7")
|
|
|
|
[node name="character" parent="." unique_id=431323508 instance=ExtResource("6_tuyoq")]
|
|
transform = Transform3D(-0.7, 0, -6.119594e-08, 0, 0.7, 0, 6.119594e-08, 0, -0.7, 0, 0, 0)
|
|
|
|
[node name="Skeleton3D" parent="character/Root" parent_id_path=PackedInt32Array(431323508, 232440974) index="0" unique_id=1583259283]
|
|
bones/0/position = Vector3(0.2042088, 0.19320482, -0.14880997)
|
|
bones/0/rotation = Quaternion(-0.7071066, 1.071639e-07, 0.70710695, -1.5225005e-08)
|
|
bones/1/rotation = Quaternion(-0.50750756, 0.50822407, -0.49191073, -0.49210608)
|
|
bones/2/rotation = Quaternion(0.015727106, -0.0020778605, 0.9946249, -0.10232129)
|
|
bones/3/rotation = Quaternion(0.94612885, -0.021870898, 0.075502515, -0.314104)
|
|
bones/5/rotation = Quaternion(-0.5, -0.49999997, 0.49999994, -0.5000001)
|
|
bones/7/rotation = Quaternion(-0.70710695, 5.3384873e-08, 0.7071066, -7.1748076e-08)
|
|
bones/9/position = Vector3(-0.20752054, 0.19320482, -0.14881004)
|
|
bones/9/rotation = Quaternion(-0.7071066, 1.0715463e-07, 0.70710695, -1.5220385e-08)
|
|
bones/10/rotation = Quaternion(-0.5076895, 0.5079056, -0.49172416, -0.49243358)
|
|
bones/12/rotation = Quaternion(0.948112, 0.011444904, -0.04409297, -0.31465632)
|
|
bones/14/rotation = Quaternion(-0.5, -0.49999997, 0.49999994, -0.5000001)
|
|
bones/16/rotation = Quaternion(-0.70710695, 5.3384873e-08, 0.7071066, -7.174807e-08)
|
|
bones/18/position = Vector3(-0.00022340904, 1.5641721, 0.031240253)
|
|
bones/18/rotation = Quaternion(9.301502e-05, -8.257343e-08, 0.99999905, -0.0014431037)
|
|
bones/24/rotation = Quaternion(-0.07413523, -3.9827472e-10, -2.0302612e-11, 0.99724823)
|
|
bones/26/rotation = Quaternion(0.58688205, 0.41065416, 0.5482942, -0.43163213)
|
|
bones/27/rotation = Quaternion(-0.2913501, 0.6865581, -0.2905081, 0.5994649)
|
|
bones/28/rotation = Quaternion(0.06342012, -0.009876637, -0.15835173, 0.9852944)
|
|
bones/29/rotation = Quaternion(-0.01142568, 0.73426044, -0.07613802, 0.6744881)
|
|
bones/38/rotation = Quaternion(0.05613251, 0.9201993, 0.353856, -0.15769717)
|
|
bones/39/rotation = Quaternion(-0.21664564, -0.012312131, 0.019884245, 0.9759702)
|
|
bones/40/rotation = Quaternion(0.01976574, -0.013343409, -0.030107455, 0.9992622)
|
|
bones/45/rotation = Quaternion(-0.35837376, 0.72959906, -0.42925152, -0.3936961)
|
|
bones/48/rotation = Quaternion(0.986703, 0.001060784, 0.16252935, 0.00066993426)
|
|
bones/48/scale = Vector3(1.000044, 1.0000005, 1.0000007)
|
|
bones/49/rotation = Quaternion(0.14157401, 0.03244431, 0.05285531, 0.98798305)
|
|
bones/50/rotation = Quaternion(-0.54380685, -0.19418186, -0.18754621, 0.79460305)
|
|
bones/50/scale = Vector3(1.0000206, 0.9999838, 0.9999957)
|
|
bones/53/rotation = Quaternion(0.97658753, -0.0013594367, -0.21511582, 0.00048387027)
|
|
bones/54/rotation = Quaternion(0.13894753, 0.01151004, -0.059172664, 0.9884633)
|
|
bones/55/rotation = Quaternion(-0.54849476, 0.22882922, 0.17181966, 0.78566456)
|
|
bones/56/rotation = Quaternion(0.028261272, 0.95394105, -0.297574, -0.025445722)
|
|
|
|
[node name="Skeleton3D" parent="character/Root_001" parent_id_path=PackedInt32Array(431323508, 2038212169) index="0" unique_id=249791839]
|
|
bones/7/rotation = Quaternion(0.707107, 8.7925145e-15, -0.70710653, -1.173124e-08)
|
|
bones/18/rotation = Quaternion(9.298331e-05, -1.07471486e-07, 0.999999, -0.0014431035)
|
|
bones/45/rotation = Quaternion(-0.23101875, 0.8024927, -0.3471274, -0.42677668)
|
|
bones/54/rotation = Quaternion(0.3914478, 0.010535476, -0.16670288, 0.9049132)
|
|
bones/56/rotation = Quaternion(0.028260814, 0.95394117, -0.2975737, -0.02544668)
|
|
|
|
[node name="Skeleton3D" parent="character/Root_002" parent_id_path=PackedInt32Array(431323508, 1241243829) index="0" unique_id=906300752]
|
|
bones/2/rotation = Quaternion(-0.024521498, 0.37742752, 0.9202351, -0.10057151)
|
|
bones/7/rotation = Quaternion(0.707107, 1.2491928e-08, -0.70710653, -1.9552364e-09)
|
|
bones/16/rotation = Quaternion(0.707107, -1.2578685e-07, -0.70710653, -1.119036e-08)
|
|
bones/18/rotation = Quaternion(9.298356e-05, -8.374597e-08, 0.999999, -0.0014431033)
|
|
bones/21/rotation = Quaternion(0.3021602, 1.2631126e-08, 7.8331555e-09, 0.9532572)
|
|
bones/26/rotation = Quaternion(0.6476714, 0.3154458, 0.50290525, -0.47760049)
|
|
bones/27/rotation = Quaternion(-0.030639853, 0.6866347, -0.11465233, 0.7172509)
|
|
bones/28/rotation = Quaternion(0.14816205, -0.19717129, -0.13952763, 0.9590118)
|
|
bones/46/rotation = Quaternion(-0.6764715, -0.049245227, 0.0241964, 0.7344221)
|
|
bones/51/rotation = Quaternion(0.005199062, 0.76655674, -0.6389035, 0.06454675)
|
|
bones/53/rotation = Quaternion(0.881819, -0.27751315, -0.07931905, 0.37294808)
|
|
|
|
[node name="Skeleton3D" parent="character/Root_003" parent_id_path=PackedInt32Array(431323508, 850147187) index="0" unique_id=1353067331]
|
|
bones/0/rotation = Quaternion(-0.42420402, -0.56573045, 0.42420423, 0.5657303)
|
|
bones/1/rotation = Quaternion(-0.5074389, 0.5081519, -0.49198484, -0.49217716)
|
|
bones/20/rotation = Quaternion(0.09707084, 3.5704435e-09, -1.1803335e-08, 0.9952775)
|
|
bones/32/rotation = Quaternion(0.41093615, -0.027859442, 0.012505128, 0.91115266)
|
|
bones/48/rotation = Quaternion(0.9857111, 0.021217318, 0.09155134, -0.13979225)
|
|
|
|
[node name="AnimationPlayer" parent="character" index="4" unique_id=523922878]
|
|
speed_scale = 3.0
|
|
|
|
[node name="model" parent="." unique_id=1210894604 instance=ExtResource("2_qlg0r")]
|
|
transform = Transform3D(0.3, 0, 0, 0, 0.3, 0, 0, 0, 0.3, 0, 0, 0)
|
|
visible = false
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="." unique_id=704927304]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.3453382, 0)
|
|
shape = SubResource("CapsuleShape3D_o7qk5")
|
|
|
|
[node name="arm" type="Node3D" parent="." unique_id=400369090]
|
|
|
|
[node name="SpringArm3D" type="SpringArm3D" parent="arm" unique_id=410437854]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.389, 0.77346754)
|
|
spring_length = 4.0
|
|
script = ExtResource("2_g2els")
|
|
|
|
[node name="Camera3D" type="Camera3D" parent="arm/SpringArm3D" unique_id=755136596]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -1.335144e-05, 0.00032949448)
|
|
|
|
[node name="SpriteTuto" type="Sprite3D" parent="." unique_id=1739812786]
|
|
transform = Transform3D(1, 0, 0, 0, 0.4673591, 0.88406765, 0, -0.88406765, 0.4673591, 0, 0.3026433, -2.019)
|
|
visible = false
|
|
layers = 512
|
|
modulate = Color(1, 0.5058824, 0.41568628, 1)
|
|
texture = SubResource("ViewportTexture_3vyb7")
|
|
|
|
[node name="SubViewport" type="SubViewport" parent="SpriteTuto" unique_id=191166233]
|
|
size = Vector2i(512, 128)
|
|
|
|
[node name="Label" type="Label" parent="SpriteTuto/SubViewport" unique_id=1928076689]
|
|
anchors_preset = 8
|
|
anchor_left = 0.5
|
|
anchor_top = 0.5
|
|
anchor_right = 0.5
|
|
anchor_bottom = 0.5
|
|
offset_left = -210.0
|
|
offset_top = -24.5
|
|
offset_right = 210.0
|
|
offset_bottom = 24.5
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
text = "Scroll Avant : Avancer, Clic Gauche : Attraper une prise"
|
|
|
|
[node name="Audio_Footstep" type="AudioStreamPlayer3D" parent="." unique_id=1235221918]
|
|
volume_db = -8.0
|
|
max_db = 2.0
|
|
|
|
[node name="feather" parent="." unique_id=1472673931 instance=ExtResource("8_smehm")]
|
|
|
|
[node name="pause" parent="." unique_id=863144941 instance=ExtResource("3_qhqgy")]
|
|
|
|
[node name="Camera3D_POV" type="Camera3D" parent="." unique_id=165893191]
|
|
transform = Transform3D(-1, -1.7763568e-15, -8.742278e-08, 1.9122187e-08, 0.9757849, -0.21873233, 8.530583e-08, -0.21873233, -0.9757849, 0.09826946, 1.4335048, -2.0544102)
|
|
script = ExtResource("5_qlg0r")
|
|
|
|
[node name="Area3DTarte" type="Area3D" parent="." unique_id=1232646666]
|
|
collision_layer = 2
|
|
collision_mask = 2
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Area3DTarte" unique_id=889914200]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.331, -1.1356201)
|
|
shape = SubResource("BoxShape3D_ka232")
|
|
|
|
[node name="tarte" parent="." unique_id=2051373127 instance=ExtResource("7_fjrip")]
|
|
transform = Transform3D(0.022037948, 0, 0.99975723, 0.3514755, 0.93616503, -0.0077476795, -0.93593776, 0.35156092, 0.020631157, 0.6172781, 1.4433697, -0.6155708)
|
|
visible = false
|
|
|
|
[node name="Sprite3D" parent="tarte" index="2" unique_id=267862728]
|
|
visible = false
|
|
texture = SubResource("ViewportTexture_smehm")
|
|
|
|
[editable path="character"]
|
|
[editable path="tarte"]
|
|
[editable path="tarte/tarte"]
|