mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-22 08:33:47 +00:00
Interaction manager and hud
This commit is contained in:
parent
b1afc7af1c
commit
5271b84923
20 changed files with 539 additions and 29 deletions
|
|
@ -1,4 +1,4 @@
|
|||
[gd_scene load_steps=15 format=3 uid="uid://rimplblbptcd"]
|
||||
[gd_scene load_steps=19 format=3 uid="uid://rimplblbptcd"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://88smibkin17p" path="res://Scripts/Components/FSM/3DPlayer/IsoPlayerFSMProxy.cs" id="1_cc7e7"]
|
||||
[ext_resource type="Texture2D" uid="uid://ddwhrlrgj6i00" path="res://Sprites/Actors/Cirno.png" id="1_vex34"]
|
||||
|
|
@ -10,6 +10,9 @@
|
|||
[ext_resource type="Script" uid="uid://dq338w2lw5phl" path="res://Scripts/Components/Actors/KeyboardInputProvider.cs" id="7_4cdxq"]
|
||||
[ext_resource type="Script" uid="uid://c8ar11sg0su2h" path="res://Scripts/Components/FSM/3DPlayer/ShadowModule.cs" id="9_fg04g"]
|
||||
[ext_resource type="Script" uid="uid://bm73kgly8gv2i" path="res://Scripts/Components/FSM/3DPlayer/IsoInteractionController.cs" id="10_habpy"]
|
||||
[ext_resource type="Script" uid="uid://d1ixvdcii6uy7" path="res://Scripts/Components/FSM/3DPlayer/SelectorController.cs" id="11_4cdxq"]
|
||||
[ext_resource type="Script" uid="uid://vne180ohyucn" path="res://Scripts/Components/FSM/3DPlayer/IsoActivationProvider.cs" id="11_4exx2"]
|
||||
[ext_resource type="AudioStream" uid="uid://myr6n2c1u503" path="res://SFX/581602__samsterbirdies__beep-error.mp3" id="13_2ffwi"]
|
||||
|
||||
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_fg04g"]
|
||||
radius = 0.349554
|
||||
|
|
@ -27,6 +30,10 @@ material = SubResource("StandardMaterial3D_cc7e7")
|
|||
[sub_resource type="CylinderShape3D" id="CylinderShape3D_habpy"]
|
||||
height = 0.679688
|
||||
|
||||
[sub_resource type="CylinderShape3D" id="CylinderShape3D_6d8x8"]
|
||||
height = 1.0415
|
||||
radius = 1.5708
|
||||
|
||||
[node name="IsoPlayerFsm" type="CharacterBody3D" node_paths=PackedStringArray("PlayerFSM")]
|
||||
collision_layer = 2
|
||||
script = ExtResource("1_cc7e7")
|
||||
|
|
@ -40,7 +47,7 @@ script = ExtResource("2_3oyrx")
|
|||
|
||||
[node name="Active" type="Node" parent="StateMachine" node_paths=PackedStringArray("_moduleNodes")]
|
||||
script = ExtResource("3_cc7e7")
|
||||
_moduleNodes = [NodePath("../../InputProvider"), NodePath("../../MovementModule"), NodePath("../../ShadowModule"), NodePath("../../InteractionController")]
|
||||
_moduleNodes = [NodePath("../../InputProvider"), NodePath("../../MovementModule"), NodePath("../../ShadowModule"), NodePath("../../InteractionController"), NodePath("../../ActivationProvider")]
|
||||
|
||||
[node name="Sprite" type="Sprite3D" parent="."]
|
||||
transform = Transform3D(0.707107, -0.5, 0.5, 0, 0.707107, 0.707107, -0.707107, -0.5, 0.5, 0, 0, 0)
|
||||
|
|
@ -91,3 +98,22 @@ script = ExtResource("10_habpy")
|
|||
[node name="CollisionShape3D" type="CollisionShape3D" parent="InteractionController"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.0410156, 0)
|
||||
shape = SubResource("CylinderShape3D_habpy")
|
||||
|
||||
[node name="ActivationProvider" type="Area3D" parent="." node_paths=PackedStringArray("_inputProvider", "_selectorController", "_errorSound")]
|
||||
collision_layer = 0
|
||||
collision_mask = 32
|
||||
script = ExtResource("11_4exx2")
|
||||
_inputProvider = NodePath("../InputProvider")
|
||||
_selectorController = NodePath("SelectorController")
|
||||
_errorSound = NodePath("AudioStreamPlayer")
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="ActivationProvider"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.224854, 0)
|
||||
shape = SubResource("CylinderShape3D_6d8x8")
|
||||
|
||||
[node name="SelectorController" type="Node" parent="ActivationProvider"]
|
||||
script = ExtResource("11_4cdxq")
|
||||
|
||||
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="ActivationProvider"]
|
||||
stream = ExtResource("13_2ffwi")
|
||||
bus = &"Effects"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue