breadwinner/maps/dev_map.tscn4763014726.tmp
Balogh Krisztián eb197412dd minor optimization and bit more mechanics
title says all.
still need to do the connection between the player.gd and its components
breathing sounds weird becausae for some reason it stops playing the audiostream when it shouldnt???????????????? im really confused
2026-07-29 13:52:14 +02:00

119 lines
5.4 KiB
Text

[gd_scene format=3 uid="uid://chykk2a3opu0d"]
[ext_resource type="PackedScene" uid="uid://kqq30y24c6kd" path="res://scenes/player/player.tscn" id="1_s8b7j"]
[ext_resource type="AudioStream" uid="uid://db0yck6trekrs" path="res://assets/sounds/ambiance/pc-fan-paulstretched.mp3" id="2_phkhq"]
[ext_resource type="Script" uid="uid://y8x4svl5kej2" path="res://addons/spatial_audio_3d/spatial_audio_3d.gd" id="4_yb1w3"]
[sub_resource type="WorldBoundaryShape3D" id="WorldBoundaryShape3D_g4v7s"]
[sub_resource type="PlaneMesh" id="PlaneMesh_g4v7s"]
[sub_resource type="BoxShape3D" id="BoxShape3D_g4v7s"]
[sub_resource type="BoxMesh" id="BoxMesh_g4v7s"]
[sub_resource type="BoxShape3D" id="BoxShape3D_yf5fn"]
[sub_resource type="BoxMesh" id="BoxMesh_yf5fn"]
[sub_resource type="BoxShape3D" id="BoxShape3D_57qmd"]
size = Vector3(20.447998, 11.038544, 1)
[node name="DevMap" type="Node3D" unique_id=471389571]
[node name="Plane" type="StaticBody3D" parent="." unique_id=1943923809]
collision_layer = 17
collision_mask = 17
[node name="CollisionShape3D" type="CollisionShape3D" parent="Plane" unique_id=2072732464]
shape = SubResource("WorldBoundaryShape3D_g4v7s")
[node name="MeshInstance3D" type="MeshInstance3D" parent="Plane" unique_id=810695750]
transform = Transform3D(9.905844, 0, 0, 0, 1, 0, 0, 0, 9.900972, 0, 0, 0)
mesh = SubResource("PlaneMesh_g4v7s")
[node name="TestObject" type="RigidBody3D" parent="." unique_id=1889494210]
transform = Transform3D(0.9224609, 0.38609046, 0, -0.38609046, 0.9224609, 0, 0, 0, 1, 1.1603341, 0.9219521, -1.1464608)
collision_layer = 17
collision_mask = 17
[node name="CollisionShape3D" type="CollisionShape3D" parent="TestObject" unique_id=507616212]
shape = SubResource("BoxShape3D_g4v7s")
[node name="MeshInstance3D" type="MeshInstance3D" parent="TestObject" unique_id=1356474788]
mesh = SubResource("BoxMesh_g4v7s")
[node name="TestObjectGrabbable" type="RigidBody3D" parent="." unique_id=162241126 groups=["grabbable"]]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.776662, -3.2358055)
collision_layer = 17
collision_mask = 17
[node name="CollisionShape3D" type="CollisionShape3D" parent="TestObjectGrabbable" unique_id=2049402651]
shape = SubResource("BoxShape3D_yf5fn")
[node name="MeshInstance3D" type="MeshInstance3D" parent="TestObjectGrabbable" unique_id=1899834557]
mesh = SubResource("BoxMesh_yf5fn")
[node name="TestObjectEquippable" type="RigidBody3D" parent="." unique_id=1086000939]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.874709, 1.0290127, -3.1515453)
collision_layer = 17
collision_mask = 17
[node name="CollisionShape3D" type="CollisionShape3D" parent="TestObjectEquippable" unique_id=740741417]
shape = SubResource("BoxShape3D_yf5fn")
[node name="MeshInstance3D" type="MeshInstance3D" parent="TestObjectEquippable" unique_id=1967579265]
mesh = SubResource("BoxMesh_yf5fn")
[node name="Player" parent="." unique_id=423228143 instance=ExtResource("1_s8b7j")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.77974355, 1.137004)
UI_MOVEMENT_SENSITIVITY = 1.0
[node name="OmniLight3D" type="OmniLight3D" parent="." unique_id=1317582521]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.2949467, -3.755646)
[node name="SpatialAudio3D" type="AudioStreamPlayer3D" parent="." unique_id=351573539]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 15.887349, 4.01754, -1.2293816)
stream = ExtResource("2_phkhq")
autoplay = true
max_distance = 1927.53
script = ExtResource("4_yb1w3")
occlusion_fadetime = 0.0
bass_proximity = 0
max_raycast_distance = 30
roomsize_multiplicator = 2.0
prox_reduction = 16.0
debug = true
metadata/_custom_type_script = "uid://y8x4svl5kej2"
[node name="StaticBody3D" type="StaticBody3D" parent="." unique_id=1656249102]
transform = Transform3D(1, 0, -1.7484555e-07, 0, 1, 0, 1.7484555e-07, 0, 1, 10.053528, 0, 9.284716)
[node name="CollisionShape3D" type="CollisionShape3D" parent="StaticBody3D" unique_id=1173755237]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -9.723999, 5.019272, 0)
shape = SubResource("BoxShape3D_57qmd")
[node name="StaticBody3D2" type="StaticBody3D" parent="." unique_id=23077148]
transform = Transform3D(-4.371138e-08, 0, -1, 0, 1, 0, 1, 0, -4.371138e-08, 10.053528, 0, 8.284716)
[node name="CollisionShape3D" type="CollisionShape3D" parent="StaticBody3D2" unique_id=1774765140]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -9.723999, 5.019272, 0)
shape = SubResource("BoxShape3D_57qmd")
[node name="StaticBody3D3" type="StaticBody3D" parent="." unique_id=2124365943]
transform = Transform3D(-1, 0, 8.742278e-08, 0, 1, 0, -8.742278e-08, 0, -1, -8.946472, 0, -10.715284)
[node name="CollisionShape3D" type="CollisionShape3D" parent="StaticBody3D3" unique_id=652377662]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -9.723999, 5.019272, 0)
shape = SubResource("BoxShape3D_57qmd")
[node name="StaticBody3D4" type="StaticBody3D" parent="." unique_id=942386107]
transform = Transform3D(1.3113416e-07, 0, 1, 0, 1, 0, -1, 0, 1.3113416e-07, -8.946472, 0, -10.715284)
[node name="CollisionShape3D" type="CollisionShape3D" parent="StaticBody3D4" unique_id=1055230632]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -9.723999, 5.019272, 0)
shape = SubResource("BoxShape3D_57qmd")
[node name="CollisionShape3D2" type="CollisionShape3D" parent="StaticBody3D4" unique_id=967910627]
transform = Transform3D(1, 1.3113416e-07, -1.3113416e-07, -1.3113416e-07, -4.371139e-08, -1, -1.3113416e-07, 1, -4.371137e-08, -9.723998, 10.984082, 10)
shape = SubResource("BoxShape3D_57qmd")