added sounds to ui and game, prepared interaction with character
This commit is contained in:
parent
b5ace17da9
commit
21d7cf417a
42 changed files with 450 additions and 155 deletions
|
|
@ -1,9 +1,10 @@
|
|||
[gd_scene load_steps=4 format=3 uid="uid://dibg4wpthwdov"]
|
||||
[gd_scene load_steps=5 format=3 uid="uid://dibg4wpthwdov"]
|
||||
|
||||
[ext_resource type="Script" path="res://entities/healing_station/healing_station.gd" id="1_7biqd"]
|
||||
[ext_resource type="ArrayMesh" uid="uid://dotngcuyvdg1v" path="res://assets/models/environment/kenney_nature-kit/bed.obj" id="2_m00qm"]
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_qkiex"]
|
||||
size = Vector3(3.6, 2.5, 2.6)
|
||||
size = Vector3(0.358923, 0.296997, 0.806982)
|
||||
|
||||
[sub_resource type="CylinderShape3D" id="CylinderShape3D_3nvn0"]
|
||||
height = 1.0
|
||||
|
|
@ -12,21 +13,22 @@ radius = 1.1
|
|||
[node name="HealingStation" type="Node3D"]
|
||||
script = ExtResource("1_7biqd")
|
||||
|
||||
[node name="Mesh" type="Node3D" parent="."]
|
||||
[node name="Bed" type="MeshInstance3D" parent="."]
|
||||
mesh = ExtResource("2_m00qm")
|
||||
|
||||
[node name="Collision" type="StaticBody3D" parent="."]
|
||||
collision_layer = 2
|
||||
collision_mask = 5
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Collision"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.25, 0)
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.0159729, 0.148499, -0.0114014)
|
||||
shape = SubResource("BoxShape3D_qkiex")
|
||||
|
||||
[node name="InteractableArea" type="Area3D" parent="."]
|
||||
collision_layer = 8
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="InteractableArea"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.6, 0.5, 0)
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.5, 0)
|
||||
shape = SubResource("CylinderShape3D_3nvn0")
|
||||
|
||||
[connection signal="body_entered" from="InteractableArea" to="." method="_on_area_3d_body_entered"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue