* Ajout d'un paramètre de FOV * Ajout d'un paramètre d'auto pickup des graines
133 lines
4.7 KiB
Plaintext
133 lines
4.7 KiB
Plaintext
[gd_scene format=3 uid="uid://da7a74dg30q1l"]
|
|
|
|
[ext_resource type="Script" uid="uid://3rrym6yv7xyp" path="res://entities/player_3d/scripts/player_3d.gd" id="1_pvvbh"]
|
|
[ext_resource type="Material" uid="uid://cr7bp4fhh1ipr" path="res://entities/player_3d/resources/materials/post_process_quad.tres" id="2_fcmrk"]
|
|
[ext_resource type="FontFile" uid="uid://qt80w6o01q5s" path="res://gui/ressources/fonts/TitanOne-Regular.ttf" id="4_o44vi"]
|
|
[ext_resource type="Texture2D" uid="uid://ba8vh5h3r6pr2" path="res://common/icons/focus.svg" id="4_sbfo8"]
|
|
|
|
[sub_resource type="QuadMesh" id="QuadMesh_o44vi"]
|
|
size = Vector2(3, 3)
|
|
|
|
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_eodxe"]
|
|
radius = 0.5854492
|
|
height = 1.7342377
|
|
|
|
[sub_resource type="LabelSettings" id="LabelSettings_fcmrk"]
|
|
font = ExtResource("4_o44vi")
|
|
font_size = 30
|
|
|
|
[sub_resource type="Gradient" id="Gradient_dqi2u"]
|
|
interpolation_mode = 1
|
|
offsets = PackedFloat32Array(0.7046632, 0.78238344, 1)
|
|
colors = PackedColorArray(1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0)
|
|
|
|
[sub_resource type="GradientTexture2D" id="GradientTexture2D_o44vi"]
|
|
gradient = SubResource("Gradient_dqi2u")
|
|
width = 300
|
|
height = 300
|
|
fill = 1
|
|
fill_from = Vector2(0.5, 0.5)
|
|
fill_to = Vector2(0.5, 0)
|
|
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_fcmrk"]
|
|
transparency = 1
|
|
shading_mode = 0
|
|
vertex_color_use_as_albedo = true
|
|
albedo_texture = SubResource("GradientTexture2D_o44vi")
|
|
|
|
[sub_resource type="PlaneMesh" id="PlaneMesh_0oeag"]
|
|
material = SubResource("StandardMaterial3D_fcmrk")
|
|
size = Vector2(1, 1)
|
|
|
|
[sub_resource type="Curve" id="Curve_3yrqc"]
|
|
_data = [Vector2(0, 0), 0.0, 3.0432534, 0, 0, Vector2(1, 1), 0.0, 0.0, 0, 0]
|
|
point_count = 2
|
|
|
|
[sub_resource type="Gradient" id="Gradient_r4vrj"]
|
|
interpolation_mode = 2
|
|
offsets = PackedFloat32Array(0, 0.87772924)
|
|
colors = PackedColorArray(1, 1, 1, 1, 1, 1, 1, 0)
|
|
|
|
[node name="Player3D" type="CharacterBody3D" unique_id=549819967 node_paths=PackedStringArray("pointer_texture_rect")]
|
|
transform = Transform3D(-4.371139e-08, 0, 1, 0, 1, 0, -1, 0, -4.371139e-08, 0, 0, 0)
|
|
script = ExtResource("1_pvvbh")
|
|
pointer_texture_rect = NodePath("CanvasLayer/PointerTexture")
|
|
|
|
[node name="Camera3D" type="Camera3D" parent="." unique_id=2091917091]
|
|
unique_name_in_owner = true
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.19785136, 0)
|
|
current = true
|
|
near = 0.003
|
|
|
|
[node name="Outline" type="MeshInstance3D" parent="Camera3D" unique_id=1477584785]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.96128e-09, 0, -0.24486887)
|
|
mesh = SubResource("QuadMesh_o44vi")
|
|
surface_material_override/0 = ExtResource("2_fcmrk")
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="." unique_id=456230433]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.253273, 0)
|
|
shape = SubResource("CapsuleShape3D_eodxe")
|
|
|
|
[node name="OmniLight3D" type="OmniLight3D" parent="." unique_id=1818490710]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1.0989037e-09, -0.25222805, 0.025139987)
|
|
shadow_enabled = true
|
|
|
|
[node name="CanvasLayer" type="CanvasLayer" parent="." unique_id=1210282091]
|
|
|
|
[node name="PointerTexture" type="TextureRect" parent="CanvasLayer" unique_id=99628184]
|
|
unique_name_in_owner = true
|
|
custom_minimum_size = Vector2(30, 30)
|
|
anchors_preset = 8
|
|
anchor_left = 0.5
|
|
anchor_top = 0.5
|
|
anchor_right = 0.5
|
|
anchor_bottom = 0.5
|
|
offset_left = -2.5
|
|
offset_top = -2.5
|
|
offset_right = 2.5
|
|
offset_bottom = 2.5
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
size_flags_horizontal = 4
|
|
size_flags_vertical = 4
|
|
texture = ExtResource("4_sbfo8")
|
|
expand_mode = 1
|
|
|
|
[node name="3dTutorial" type="MarginContainer" parent="CanvasLayer" unique_id=259323543]
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
theme_override_constants/margin_left = 15
|
|
theme_override_constants/margin_top = 15
|
|
theme_override_constants/margin_right = 15
|
|
theme_override_constants/margin_bottom = 15
|
|
|
|
[node name="MoveTutorial" type="Label" parent="CanvasLayer/3dTutorial" unique_id=1165378520]
|
|
unique_name_in_owner = true
|
|
visible = false
|
|
layout_mode = 2
|
|
size_flags_vertical = 0
|
|
text = "MOVE_WITH_RIGHT_CLICK_OR_WASD"
|
|
label_settings = SubResource("LabelSettings_fcmrk")
|
|
horizontal_alignment = 1
|
|
vertical_alignment = 1
|
|
|
|
[node name="InteractTutorial" type="Label" parent="CanvasLayer/3dTutorial" unique_id=1117243867]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
size_flags_vertical = 0
|
|
text = "INTERACT_WITH_LEFT_CLICK"
|
|
label_settings = SubResource("LabelSettings_fcmrk")
|
|
horizontal_alignment = 1
|
|
vertical_alignment = 1
|
|
|
|
[node name="CPUParticles3D" type="CPUParticles3D" parent="." unique_id=1470634574]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.66324395, 0)
|
|
amount = 5
|
|
mesh = SubResource("PlaneMesh_0oeag")
|
|
gravity = Vector3(0, -1, 0)
|
|
scale_amount_curve = SubResource("Curve_3yrqc")
|
|
color_ramp = SubResource("Gradient_r4vrj")
|