Added shadows to enemies
This commit is contained in:
@@ -81,8 +81,9 @@ collision_mask = 16
|
||||
shape = SubResource("CylinderShape3D_nwuwj")
|
||||
|
||||
[node name="Shadow" type="Sprite3D" parent="."]
|
||||
transform = Transform3D(0.825, 0, 0, 0, -3.60619e-08, 0.825, 0, -0.825, -3.60619e-08, -0.00469795, -2.65632, 0)
|
||||
transform = Transform3D(1.385, 0, 0, 0, -6.05403e-08, 1.385, 0, -1.385, -6.05403e-08, -0.00469795, -2.65632, 0)
|
||||
transparency = 0.1
|
||||
cast_shadow = 0
|
||||
modulate = Color(1, 1, 1, 0.669)
|
||||
texture_filter = 0
|
||||
texture = ExtResource("7_lsxy3")
|
||||
|
||||
@@ -85,8 +85,9 @@ collision_mask = 2068
|
||||
shape = SubResource("CylinderShape3D_nwuwj")
|
||||
|
||||
[node name="Shadow" type="Sprite3D" parent="."]
|
||||
transform = Transform3D(0.825, 0, 0, 0, -3.60619e-08, 0.825, 0, -0.825, -3.60619e-08, 0.94821, -1.76158, 0)
|
||||
transform = Transform3D(1.075, 0, 0, 0, -4.69897e-08, 1.075, 0, -1.075, -4.69897e-08, 0.94821, -1.76158, 0)
|
||||
transparency = 0.1
|
||||
cast_shadow = 0
|
||||
modulate = Color(1, 1, 1, 0.625)
|
||||
texture_filter = 0
|
||||
texture = ExtResource("7_xlatl")
|
||||
|
||||
@@ -86,5 +86,6 @@ shape = SubResource("CylinderShape3D_nwuwj")
|
||||
transform = Transform3D(0.825, 0, 0, 0, -3.60619e-08, 0.825, 0, -0.825, -3.60619e-08, -0.00469795, -1.76158, 0)
|
||||
transparency = 0.1
|
||||
cast_shadow = 0
|
||||
modulate = Color(1, 1, 1, 0.785)
|
||||
texture_filter = 0
|
||||
texture = ExtResource("7_fytn6")
|
||||
|
||||
@@ -54,6 +54,7 @@ transform = Transform3D(0.825, 0, 0, 0, -3.60619e-08, 0.825, 0, -0.825, -3.60619
|
||||
transparency = 0.1
|
||||
cast_shadow = 0
|
||||
offset = Vector2(13, 0)
|
||||
modulate = Color(1, 1, 1, 0.575)
|
||||
texture_filter = 0
|
||||
texture = ExtResource("7_p8o3h")
|
||||
|
||||
|
||||
@@ -86,5 +86,6 @@ shape = SubResource("CylinderShape3D_nwuwj")
|
||||
transform = Transform3D(0.825, 0, 0, 0, -3.60619e-08, 0.825, 0, -0.825, -3.60619e-08, -0.00018537, -2.2047, 0.0453106)
|
||||
transparency = 0.1
|
||||
cast_shadow = 0
|
||||
modulate = Color(1, 1, 1, 0.63)
|
||||
texture_filter = 0
|
||||
texture = ExtResource("7_kvk3a")
|
||||
|
||||
@@ -150,8 +150,9 @@ collision_mask = 2068
|
||||
shape = SubResource("CylinderShape3D_nwuwj")
|
||||
|
||||
[node name="Shadow" type="Sprite3D" parent="."]
|
||||
transform = Transform3D(0.825, 0, 0, 0, -3.60619e-08, 0.825, 0, -0.825, -3.60619e-08, -0.00337198, -2.13394, 0)
|
||||
transform = Transform3D(1.185, 0, 0, 0, -5.1798e-08, 1.185, 0, -1.185, -5.1798e-08, -0.00337198, -2.30884, 0)
|
||||
transparency = 0.1
|
||||
cast_shadow = 0
|
||||
modulate = Color(1, 1, 1, 0.663)
|
||||
texture_filter = 0
|
||||
texture = ExtResource("11_vbqit")
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=50 format=3 uid="uid://jds3hr41coal"]
|
||||
[gd_scene load_steps=51 format=3 uid="uid://jds3hr41coal"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dcqssoikr3pl7" path="res://src/npc/Npc.cs" id="1_f3624"]
|
||||
[ext_resource type="Resource" uid="uid://lao0opxww3ib" path="res://src/dialog/Dialogue.dialogue" id="2_3udpp"]
|
||||
@@ -37,6 +37,7 @@
|
||||
[ext_resource type="Texture2D" uid="uid://wf1fy2oq6pwu" path="res://src/npc/Ran/animations/Layer 33.png" id="36_6n1aa"]
|
||||
[ext_resource type="Texture2D" uid="uid://dm1jtlih2wgey" path="res://src/npc/Ran/animations/Layer 34.png" id="37_jmakl"]
|
||||
[ext_resource type="Texture2D" uid="uid://c0e8nly838i80" path="res://src/npc/Ran/animations/Layer 35.png" id="38_10y76"]
|
||||
[ext_resource type="Texture2D" uid="uid://dafpnwkwcukp4" path="res://src/vfx/shadow_test_1.png" id="39_bww12"]
|
||||
[ext_resource type="Texture2D" uid="uid://d3jn2tx8ifapd" path="res://src/npc/Ran/animations/Layer 36.png" id="39_vht5v"]
|
||||
|
||||
[sub_resource type="ViewportTexture" id="ViewportTexture_3udpp"]
|
||||
@@ -311,3 +312,11 @@ autoplay = "idle"
|
||||
[node name="AnimationTree" type="AnimationTree" parent="."]
|
||||
tree_root = SubResource("AnimationNodeStateMachine_3udpp")
|
||||
anim_player = NodePath("../AnimationPlayer")
|
||||
|
||||
[node name="Shadow" type="Sprite3D" parent="."]
|
||||
transform = Transform3D(3.455, 0, 0, 0, -1.51023e-07, 3.455, 0, -3.455, -1.51023e-07, 0.00393164, -1.50972, 0.0077811)
|
||||
transparency = 0.1
|
||||
cast_shadow = 0
|
||||
modulate = Color(1, 1, 1, 0.591)
|
||||
texture_filter = 0
|
||||
texture = ExtResource("39_bww12")
|
||||
|
||||
@@ -106,9 +106,10 @@ sprite_frames = SubResource("SpriteFrames_02w3f")
|
||||
autoplay = "default"
|
||||
|
||||
[node name="Shadow" type="Sprite3D" parent="AnimatedSprite3D"]
|
||||
transform = Transform3D(0.825, 0, 0, 0, -3.60619e-08, 0.825, 0, -0.825, -3.60619e-08, 0.013224, -1.44129, 0.0211143)
|
||||
transform = Transform3D(1.05, 0, 0, 0, -4.5897e-08, 1.05, 0, -1.05, -4.5897e-08, 0.013224, -1.44129, 0.0211143)
|
||||
transparency = 0.1
|
||||
cast_shadow = 0
|
||||
modulate = Color(1, 1, 1, 0.553)
|
||||
texture_filter = 0
|
||||
texture = ExtResource("7_gb32p")
|
||||
|
||||
|
||||
@@ -84,8 +84,9 @@ collision_mask = 2068
|
||||
shape = SubResource("CylinderShape3D_nwuwj")
|
||||
|
||||
[node name="Shadow" type="Sprite3D" parent="."]
|
||||
transform = Transform3D(0.825, 0, 0, 0, -3.60619e-08, 0.825, 0, -0.825, -3.60619e-08, 0, -2, 0)
|
||||
transform = Transform3D(0.98, 0, 0, 0, -4.28372e-08, 0.98, 0, -0.98, -4.28372e-08, 0, -2, 0)
|
||||
transparency = 0.1
|
||||
cast_shadow = 0
|
||||
modulate = Color(1, 1, 1, 0.635)
|
||||
texture_filter = 0
|
||||
texture = ExtResource("7_8crcx")
|
||||
|
||||
Reference in New Issue
Block a user