mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-22 16:53:46 +00:00
Door player detection
This commit is contained in:
parent
87438dff2b
commit
f7334c056b
14 changed files with 1631 additions and 1361 deletions
|
|
@ -1,17 +1,19 @@
|
|||
[gd_scene load_steps=6 format=3 uid="uid://du6hlcoq0iip4"]
|
||||
[gd_scene load_steps=7 format=3 uid="uid://du6hlcoq0iip4"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://qxh76ahgexqa" path="res://Scripts/Interactables/Switch3D.cs" id="1_papkq"]
|
||||
[ext_resource type="Texture2D" uid="uid://d24g1qb40t72l" path="res://Sprites/Button_Small.png" id="2_ldivl"]
|
||||
[ext_resource type="AudioStream" uid="uid://bjvklk7qmlivd" path="res://SFX/288963__littlerobotsoundfactory__click_electronic_14.wav" id="3_ldivl"]
|
||||
[ext_resource type="AudioStream" uid="uid://myr6n2c1u503" path="res://SFX/581602__samsterbirdies__beep-error.mp3" id="4_cjle7"]
|
||||
[ext_resource type="PackedScene" uid="uid://br2jnsx6v707w" path="res://3D/BlockbenchModels/ControlPad/Control_Pad.gltf" id="4_dfw4f"]
|
||||
|
||||
[sub_resource type="SphereShape3D" id="SphereShape3D_itd0i"]
|
||||
radius = 0.868968
|
||||
|
||||
[node name="ControlPad" type="Area3D" groups=["Interactable"]]
|
||||
[node name="ControlPad" type="Area3D" node_paths=PackedStringArray("Targets") groups=["Interactable"]]
|
||||
collision_layer = 32
|
||||
collision_mask = 0
|
||||
script = ExtResource("1_papkq")
|
||||
Targets = []
|
||||
metadata/_edit_group_ = true
|
||||
|
||||
[node name="Sprite3D" type="Sprite3D" parent="."]
|
||||
|
|
@ -26,10 +28,15 @@ hframes = 4
|
|||
shape = SubResource("SphereShape3D_itd0i")
|
||||
|
||||
[node name="ActivationSound" type="AudioStreamPlayer3D" parent="."]
|
||||
visible = false
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -0.15351868)
|
||||
stream = ExtResource("3_ldivl")
|
||||
bus = &"Effects"
|
||||
|
||||
[node name="DenySound" type="AudioStreamPlayer3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -0.15351868)
|
||||
stream = ExtResource("4_cjle7")
|
||||
bus = &"Effects"
|
||||
|
||||
[node name="blockbench_export" parent="." instance=ExtResource("4_dfw4f")]
|
||||
|
||||
[editable path="blockbench_export"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue