[gd_scene format=3 uid="uid://bxdnehietcpkj"] [ext_resource type="Script" uid="uid://dhfun46prq3uk" path="res://scripts/game.gd" id="1_gee14"] [ext_resource type="Script" uid="uid://crf3d7dpjvlsl" path="res://scripts/player_camera.gd" id="1_lnu2h"] [ext_resource type="Script" uid="uid://66iq60cxqomg" path="res://scripts/player.gd" id="1_yqjtg"] [ext_resource type="Texture2D" uid="uid://b6krbvbco0jt6" path="res://textures/shadow.png" id="4_lbhrr"] [ext_resource type="PackedScene" uid="uid://cnii80nh1mxr2" path="res://scenes/living/dreamer_body.tscn" id="4_p57ef"] [ext_resource type="PackedScene" uid="uid://djvj11avwyffr" path="res://scenes/world_environments/caves1.tscn" id="4_trtic"] [sub_resource type="CameraAttributesPractical" id="CameraAttributesPractical_yqjtg"] auto_exposure_scale = 0.3 [sub_resource type="SphereShape3D" id="SphereShape3D_kvuet"] radius = 0.001 [sub_resource type="BoxShape3D" id="BoxShape3D_0tnpc"] size = Vector3(1.2, 1, 1.3) [sub_resource type="CapsuleShape3D" id="CapsuleShape3D_yqjtg"] radius = 0.15 height = 1.0 [node name="Game" type="Node3D" unique_id=1358608749] script = ExtResource("1_gee14") [node name="WorldEnvironment" parent="." unique_id=972144381 instance=ExtResource("4_trtic")] [node name="Entities" type="Node3D" parent="." unique_id=227401299] [node name="CameraZones" type="Node3D" parent="." unique_id=1225967945] [node name="PlayerCamera" type="Camera3D" parent="." unique_id=1101523944] transform = Transform3D(0.70710677, -0.40557978, 0.579228, 0, 0.819152, 0.57357645, -0.70710677, -0.40557978, 0.579228, 4, 6.5, 0) attributes = SubResource("CameraAttributesPractical_yqjtg") fov = 65.0 script = ExtResource("1_lnu2h") [node name="Area" type="Area3D" parent="PlayerCamera" unique_id=400816746] collision_layer = 256 collision_mask = 0 [node name="CollisionShape3D" type="CollisionShape3D" parent="PlayerCamera/Area" unique_id=1525913675] shape = SubResource("SphereShape3D_kvuet") [node name="Player" type="CharacterBody3D" parent="." unique_id=1201448850] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 3, -4) script = ExtResource("1_yqjtg") [node name="HitCollision" type="Area3D" parent="Player" unique_id=1708789602] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.1500001, 0) collision_layer = 0 collision_mask = 2 [node name="Shape" type="CollisionShape3D" parent="Player/HitCollision" unique_id=653786925] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.6, 0, 0) shape = SubResource("BoxShape3D_0tnpc") [node name="DreamerBody" parent="Player" unique_id=723408850 instance=ExtResource("4_p57ef")] [node name="Shadow" type="Sprite3D" parent="Player" unique_id=495232250] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -2, 0) modulate = Color(1, 1, 1, 0.5764706) pixel_size = 0.03 axis = 1 texture_filter = 0 texture = ExtResource("4_lbhrr") [node name="Collision" type="CollisionShape3D" parent="Player" unique_id=1487040988] shape = SubResource("CapsuleShape3D_yqjtg") [node name="Floorcast" type="RayCast3D" parent="Player" unique_id=991770843] target_position = Vector3(0, -16, 0) [node name="Label3D" type="Label3D" parent="Player" unique_id=119675212] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0) billboard = 2 no_depth_test = true text = "test" [node name="UI" type="CanvasLayer" parent="." unique_id=201561869] [node name="Hotbar" type="HBoxContainer" parent="UI" unique_id=1186915077] anchors_preset = 2 anchor_top = 1.0 anchor_bottom = 1.0 offset_top = -64.0 offset_right = 512.0 grow_vertical = 0 [node name="Items" type="HBoxContainer" parent="UI/Hotbar" unique_id=1114341919] layout_mode = 2 [node name="Bars" type="VBoxContainer" parent="UI/Hotbar" unique_id=555590510] layout_mode = 2 [node name="Health" type="HBoxContainer" parent="UI/Hotbar/Bars" unique_id=517829452] custom_minimum_size = Vector2(256, 32) layout_mode = 2 [node name="Bar" type="ProgressBar" parent="UI/Hotbar/Bars/Health" unique_id=979273960] custom_minimum_size = Vector2(0, 32) layout_mode = 2 size_flags_horizontal = 3 value = 50.0 [node name="Stamina" type="HBoxContainer" parent="UI/Hotbar/Bars" unique_id=1972898781] custom_minimum_size = Vector2(256, 32) layout_mode = 2 [node name="ProgressBar" type="ProgressBar" parent="UI/Hotbar/Bars/Stamina" unique_id=1170118064] custom_minimum_size = Vector2(0, 32) layout_mode = 2 size_flags_horizontal = 3 show_percentage = false indeterminate = true editor_preview_indeterminate = false