mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-01 10:15:45 +00:00
Added buffer stencils indicators
This commit is contained in:
parent
8dbfa2ef7a
commit
a996585547
2 changed files with 66 additions and 3 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
[gd_scene load_steps=34 format=3 uid="uid://bh3vxmqflijgj"]
|
[gd_scene load_steps=39 format=3 uid="uid://bh3vxmqflijgj"]
|
||||||
|
|
||||||
[ext_resource type="Script" uid="uid://dwregubt4iila" path="res://Scripts/Components/FSM/Enemy/3D/EnemyProxy3D.cs" id="1_a3crc"]
|
[ext_resource type="Script" uid="uid://dwregubt4iila" path="res://Scripts/Components/FSM/Enemy/3D/EnemyProxy3D.cs" id="1_a3crc"]
|
||||||
[ext_resource type="Resource" uid="uid://ccym6mcq4fbul" path="res://Resources/Enemies/Fairy_Guard_3D.tres" id="2_jgarc"]
|
[ext_resource type="Resource" uid="uid://ccym6mcq4fbul" path="res://Resources/Enemies/Fairy_Guard_3D.tres" id="2_jgarc"]
|
||||||
|
|
@ -26,6 +26,7 @@
|
||||||
[ext_resource type="Script" uid="uid://dvln1783wvvuw" path="res://Scripts/Components/Actors/ShadowProvider.cs" id="19_4fnoq"]
|
[ext_resource type="Script" uid="uid://dvln1783wvvuw" path="res://Scripts/Components/Actors/ShadowProvider.cs" id="19_4fnoq"]
|
||||||
[ext_resource type="Script" uid="uid://qrdor3gk6x37" path="res://Scripts/Components/FSM/Enemy/3D/GravityProvider.cs" id="25_qg061"]
|
[ext_resource type="Script" uid="uid://qrdor3gk6x37" path="res://Scripts/Components/FSM/Enemy/3D/GravityProvider.cs" id="25_qg061"]
|
||||||
[ext_resource type="Script" uid="uid://khph8rethll7" path="res://Scripts/Components/Actors/3D/EnemySoundModule3D.cs" id="26_ojvcb"]
|
[ext_resource type="Script" uid="uid://khph8rethll7" path="res://Scripts/Components/Actors/3D/EnemySoundModule3D.cs" id="26_ojvcb"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://bf37ce6jskdel" path="res://Sprites/SmallHitbox.png" id="27_bh48e"]
|
||||||
|
|
||||||
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_jgarc"]
|
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_jgarc"]
|
||||||
radius = 0.343
|
radius = 0.343
|
||||||
|
|
@ -62,6 +63,39 @@ albedo_color = Color(0, 0, 0, 0.235294)
|
||||||
[sub_resource type="QuadMesh" id="QuadMesh_05pdu"]
|
[sub_resource type="QuadMesh" id="QuadMesh_05pdu"]
|
||||||
material = SubResource("StandardMaterial3D_cc7e7")
|
material = SubResource("StandardMaterial3D_cc7e7")
|
||||||
|
|
||||||
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_j6bpw"]
|
||||||
|
render_priority = 1
|
||||||
|
transparency = 1
|
||||||
|
no_depth_test = true
|
||||||
|
shading_mode = 0
|
||||||
|
albedo_color = Color(0.86049104, 0.15461949, 0.15461949, 1)
|
||||||
|
stencil_mode = 3
|
||||||
|
stencil_flags = 1
|
||||||
|
stencil_compare = 5
|
||||||
|
metadata/_stencil_owned = true
|
||||||
|
|
||||||
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_2ut2v"]
|
||||||
|
next_pass = SubResource("StandardMaterial3D_j6bpw")
|
||||||
|
transparency = 1
|
||||||
|
stencil_mode = 2
|
||||||
|
stencil_flags = 2
|
||||||
|
stencil_color = Color(0.86049104, 0.15461949, 0.15461949, 1)
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_igu66"]
|
||||||
|
atlas = ExtResource("27_bh48e")
|
||||||
|
region = Rect2(0, 0, 4, 4)
|
||||||
|
|
||||||
|
[sub_resource type="SpriteFrames" id="SpriteFrames_t121s"]
|
||||||
|
animations = [{
|
||||||
|
"frames": [{
|
||||||
|
"duration": 1.0,
|
||||||
|
"texture": SubResource("AtlasTexture_igu66")
|
||||||
|
}],
|
||||||
|
"loop": true,
|
||||||
|
"name": &"default",
|
||||||
|
"speed": 5.0
|
||||||
|
}]
|
||||||
|
|
||||||
[node name="Enemy" type="CharacterBody3D" node_paths=PackedStringArray("EnemyFSM")]
|
[node name="Enemy" type="CharacterBody3D" node_paths=PackedStringArray("EnemyFSM")]
|
||||||
collision_layer = 64
|
collision_layer = 64
|
||||||
collision_mask = 17
|
collision_mask = 17
|
||||||
|
|
@ -224,6 +258,16 @@ bus = &"Effects"
|
||||||
unit_size = 30.0
|
unit_size = 30.0
|
||||||
bus = &"Effects"
|
bus = &"Effects"
|
||||||
|
|
||||||
|
[node name="Hitbox" type="AnimatedSprite3D" parent="."]
|
||||||
|
transform = Transform3D(0.707107, -0.5, 0.5, 0, 0.707107, 0.707107, -0.707107, -0.5, 0.5, 0, 0, 0)
|
||||||
|
material_overlay = SubResource("StandardMaterial3D_2ut2v")
|
||||||
|
ignore_occlusion_culling = true
|
||||||
|
pixel_size = 0.05
|
||||||
|
double_sided = false
|
||||||
|
texture_filter = 0
|
||||||
|
render_priority = -1
|
||||||
|
sprite_frames = SubResource("SpriteFrames_t121s")
|
||||||
|
|
||||||
[connection signal="body_entered" from="PlayerDetectionProvider" to="PlayerDetectionProvider" method="_on_body_entered"]
|
[connection signal="body_entered" from="PlayerDetectionProvider" to="PlayerDetectionProvider" method="_on_body_entered"]
|
||||||
[connection signal="body_exited" from="PlayerDetectionProvider" to="PlayerDetectionProvider" method="_on_body_exited"]
|
[connection signal="body_exited" from="PlayerDetectionProvider" to="PlayerDetectionProvider" method="_on_body_exited"]
|
||||||
[connection signal="velocity_computed" from="NavigationAgent3D" to="NavigationProvider" method="_on_navigation_agent_3d_velocity_computed"]
|
[connection signal="velocity_computed" from="NavigationAgent3D" to="NavigationProvider" method="_on_navigation_agent_3d_velocity_computed"]
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
[gd_scene load_steps=70 format=3 uid="uid://rimplblbptcd"]
|
[gd_scene load_steps=72 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="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="Texture2D" uid="uid://ddwhrlrgj6i00" path="res://Sprites/Actors/Cirno.png" id="1_vex34"]
|
||||||
|
|
@ -162,6 +162,24 @@ animations = [{
|
||||||
"speed": 5.0
|
"speed": 5.0
|
||||||
}]
|
}]
|
||||||
|
|
||||||
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_j6bpw"]
|
||||||
|
render_priority = 1
|
||||||
|
transparency = 1
|
||||||
|
no_depth_test = true
|
||||||
|
shading_mode = 0
|
||||||
|
albedo_color = Color(0.22817059, 0.6032333, 0.65736604, 1)
|
||||||
|
stencil_mode = 3
|
||||||
|
stencil_flags = 1
|
||||||
|
stencil_compare = 5
|
||||||
|
metadata/_stencil_owned = true
|
||||||
|
|
||||||
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_10kkd"]
|
||||||
|
next_pass = SubResource("StandardMaterial3D_j6bpw")
|
||||||
|
transparency = 1
|
||||||
|
stencil_mode = 2
|
||||||
|
stencil_flags = 2
|
||||||
|
stencil_color = Color(0.22817059, 0.6032333, 0.65736604, 1)
|
||||||
|
|
||||||
[sub_resource type="AtlasTexture" id="AtlasTexture_igu66"]
|
[sub_resource type="AtlasTexture" id="AtlasTexture_igu66"]
|
||||||
atlas = ExtResource("32_chmen")
|
atlas = ExtResource("32_chmen")
|
||||||
region = Rect2(0, 0, 4, 4)
|
region = Rect2(0, 0, 4, 4)
|
||||||
|
|
@ -425,9 +443,10 @@ sprite_frames = SubResource("SpriteFrames_nwocn")
|
||||||
|
|
||||||
[node name="Hitbox" type="AnimatedSprite3D" parent="StrafeSpriteProvider"]
|
[node name="Hitbox" type="AnimatedSprite3D" parent="StrafeSpriteProvider"]
|
||||||
transform = Transform3D(0.707107, -0.5, 0.5, 0, 0.707107, 0.707107, -0.707107, -0.5, 0.5, 0, 0, 0)
|
transform = Transform3D(0.707107, -0.5, 0.5, 0, 0.707107, 0.707107, -0.707107, -0.5, 0.5, 0, 0, 0)
|
||||||
|
material_overlay = SubResource("StandardMaterial3D_10kkd")
|
||||||
|
ignore_occlusion_culling = true
|
||||||
pixel_size = 0.05
|
pixel_size = 0.05
|
||||||
double_sided = false
|
double_sided = false
|
||||||
no_depth_test = true
|
|
||||||
texture_filter = 0
|
texture_filter = 0
|
||||||
render_priority = 1
|
render_priority = 1
|
||||||
sprite_frames = SubResource("SpriteFrames_nk07c")
|
sprite_frames = SubResource("SpriteFrames_nk07c")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue