mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-01 11:15:33 +00:00
93 lines
4.1 KiB
Text
93 lines
4.1 KiB
Text
[gd_scene load_steps=15 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"]
|
|
[ext_resource type="Script" uid="uid://cn3o414nvdd58" path="res://Scripts/Components/FSM/3DPlayer/IsoPlayerStateMachine.cs" id="1_vsywg"]
|
|
[ext_resource type="Script" uid="uid://y35vqx1ifo52" path="res://Scripts/Components/FSM/3DPlayer/Init.cs" id="2_3oyrx"]
|
|
[ext_resource type="Script" uid="uid://d3ydlcdm8m3tg" path="res://Scripts/Components/FSM/3DPlayer/Active.cs" id="3_cc7e7"]
|
|
[ext_resource type="Script" uid="uid://c5brx3ail1tlh" path="res://Scripts/Components/FSM/3DPlayer/IsoMovementModule.cs" id="5_fg04g"]
|
|
[ext_resource type="Script" uid="uid://eop2ue3otxcs" path="res://Scripts/Components/FSM/3DPlayer/IsoPlayerStorageModule.cs" id="6_habpy"]
|
|
[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"]
|
|
|
|
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_fg04g"]
|
|
radius = 0.349554
|
|
height = 0.811048
|
|
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_cc7e7"]
|
|
transparency = 1
|
|
depth_draw_mode = 2
|
|
shading_mode = 0
|
|
albedo_color = Color(0, 0, 0, 0.235294)
|
|
|
|
[sub_resource type="QuadMesh" id="QuadMesh_fg04g"]
|
|
material = SubResource("StandardMaterial3D_cc7e7")
|
|
|
|
[sub_resource type="CylinderShape3D" id="CylinderShape3D_habpy"]
|
|
height = 0.679688
|
|
|
|
[node name="IsoPlayerFsm" type="CharacterBody3D" node_paths=PackedStringArray("PlayerFSM")]
|
|
collision_layer = 2
|
|
script = ExtResource("1_cc7e7")
|
|
PlayerFSM = NodePath("StateMachine")
|
|
|
|
[node name="StateMachine" type="Node" parent="."]
|
|
script = ExtResource("1_vsywg")
|
|
|
|
[node name="Init" type="Node" parent="StateMachine"]
|
|
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")]
|
|
|
|
[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)
|
|
pixel_size = 0.05
|
|
texture_filter = 0
|
|
texture = ExtResource("1_vex34")
|
|
hframes = 3
|
|
vframes = 4
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.101789, 0)
|
|
visible = false
|
|
shape = SubResource("CapsuleShape3D_fg04g")
|
|
|
|
[node name="MovementModule" type="Node" parent="." node_paths=PackedStringArray("PlayerStorage", "_inputProvider")]
|
|
script = ExtResource("5_fg04g")
|
|
PlayerStorage = NodePath("../Storage")
|
|
_inputProvider = NodePath("../InputProvider")
|
|
Speed = 6
|
|
StrafeSpeed = 4
|
|
Acceleration = 150.0
|
|
Deceleration = 25.0
|
|
Gravity = -50.0
|
|
FallSpeed = 100.0
|
|
|
|
[node name="Storage" type="Node" parent="." node_paths=PackedStringArray("Root")]
|
|
script = ExtResource("6_habpy")
|
|
Root = NodePath("..")
|
|
|
|
[node name="InputProvider" type="Node" parent="."]
|
|
script = ExtResource("7_4cdxq")
|
|
|
|
[node name="Shadow" type="MeshInstance3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, 0, -0.29, 0)
|
|
mesh = SubResource("QuadMesh_fg04g")
|
|
|
|
[node name="ShadowModule" type="Node" parent="." node_paths=PackedStringArray("Shadow")]
|
|
script = ExtResource("9_fg04g")
|
|
ShadowPath = NodePath("../Shadow")
|
|
Shadow = NodePath("../Shadow")
|
|
CollisionMask = 1
|
|
|
|
[node name="InteractionController" type="Area3D" parent="."]
|
|
collision_layer = 2
|
|
collision_mask = 0
|
|
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")
|