mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-19 02:53:46 +00:00
Mapping and shadows
This commit is contained in:
parent
a324f2e347
commit
8ab7735d17
21 changed files with 2003 additions and 210 deletions
|
|
@ -1,4 +1,4 @@
|
|||
[gd_scene load_steps=10 format=3 uid="uid://rimplblbptcd"]
|
||||
[gd_scene load_steps=13 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"]
|
||||
|
|
@ -8,9 +8,20 @@
|
|||
[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"]
|
||||
|
||||
[sub_resource type="SphereShape3D" id="SphereShape3D_vex34"]
|
||||
radius = 0.260804
|
||||
[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")
|
||||
|
||||
[node name="IsoPlayerFsm" type="CharacterBody3D" node_paths=PackedStringArray("PlayerFSM")]
|
||||
collision_layer = 2
|
||||
|
|
@ -25,7 +36,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")]
|
||||
_moduleNodes = [NodePath("../../InputProvider"), NodePath("../../MovementModule"), NodePath("../../ShadowModule")]
|
||||
|
||||
[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)
|
||||
|
|
@ -36,7 +47,8 @@ hframes = 3
|
|||
vframes = 4
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
||||
shape = SubResource("SphereShape3D_vex34")
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.101789, 0)
|
||||
shape = SubResource("CapsuleShape3D_fg04g")
|
||||
|
||||
[node name="MovementModule" type="Node" parent="." node_paths=PackedStringArray("PlayerStorage", "_inputProvider")]
|
||||
script = ExtResource("5_fg04g")
|
||||
|
|
@ -55,3 +67,13 @@ 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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue