[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"] [sub_resource type="BoxShape3D" id="BoxShape3D_u8vuu"] size = Vector3(0.6230469, 1.8208008, 0.63305664) [sub_resource type="ViewportTexture" id="ViewportTexture_3vyb7"] viewport_path = NodePath("SpriteTuto/SubViewport") [node name="Player" type="CharacterBody3D" unique_id=219675862 groups=["player"]] script = ExtResource("1_3vyb7") [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) [node name="CollisionShape3D" type="CollisionShape3D" parent="." unique_id=704927304] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.9104004, 0) shape = SubResource("BoxShape3D_u8vuu") [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="pause" parent="." unique_id=863144941 instance=ExtResource("3_qhqgy")] [node name="Camera3D_POV" type="Camera3D" parent="." unique_id=165893191] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.4650376, -0.28022408) script = ExtResource("5_qlg0r")