fix lance particles being different color

pull/6/head
John Montagu, the 4th Earl of Sandvich 2023-09-03 17:47:17 -07:00
parent 385ed4ffdb
commit 60cd7cdbc0
Signed by: sandvich
GPG Key ID: 9A39BE37E602B22D
1 changed files with 20 additions and 6 deletions

View File

@ -35,7 +35,7 @@ orbit_velocity_max = 0.0
scale_min = 2.0
scale_max = 2.0
scale_curve = SubResource("CurveTexture_383y7")
color = Color(1, 0, 1, 1)
color = Color(0.560784, 0.145098, 0.180392, 1)
[sub_resource type="Animation" id="Animation_b7327"]
length = 0.001
@ -184,33 +184,46 @@ _data = {
[sub_resource type="RectangleShape2D" id="RectangleShape2D_rrgwb"]
size = Vector2(10, 34)
[node name="DocLance" type="Node2D"]
[node name="DocLance" type="Node2D" node_paths=PackedStringArray("Hitbox", "AnimationPlayer", "ParryParticles", "StateMachine", "Anchor", "HandAnchor")]
y_sort_enabled = true
texture_filter = 3
script = ExtResource("1_1oyma")
Hitbox = NodePath("Hitbox")
AnimationPlayer = NodePath("AnimationPlayer")
AttackTime = 0.2
AttackAnimationDuration = 0.75
ParryParticles = NodePath("Anchor/Node2D/Sprite2D/ParryParticles")
NPCAnticipateTime = 0.3
StateMachine = NodePath("State")
Anchor = NodePath("Anchor")
Damage = 20.0
UseTime = 0.55
Knockback = 64.0
ShouldHideIdle = true
HandAnchor = NodePath("Anchor/Node2D/Sprite2D/Hand")
ItemName = "VSM-93"
Description = "\"Violence. Speed. Momentum.\""
[node name="State" type="Node" parent="."]
[node name="State" type="Node" parent="." node_paths=PackedStringArray("InitialState")]
script = ExtResource("2_c41ov")
InitialState = NodePath("Idle")
UsedItemStates = Array[NodePath]([NodePath("Attack")])
DeusedItemStates = Array[NodePath]([NodePath("Idle")])
[node name="Idle" type="Node" parent="State"]
[node name="Idle" type="Node" parent="State" node_paths=PackedStringArray("UseState", "Sword")]
script = ExtResource("3_sxffm")
UseState = NodePath("../Anticipate")
Sword = NodePath("../..")
[node name="Anticipate" type="Node" parent="State"]
[node name="Anticipate" type="Node" parent="State" node_paths=PackedStringArray("Sword", "AttackState")]
script = ExtResource("4_t7af2")
Sword = NodePath("../..")
AttackState = NodePath("../Attack")
[node name="Attack" type="Node" parent="State"]
[node name="Attack" type="Node" parent="State" node_paths=PackedStringArray("Sword", "IdleState")]
script = ExtResource("5_i5v42")
Sword = NodePath("../..")
IdleState = NodePath("../Idle")
[node name="Anchor" type="Node2D" parent="."]
y_sort_enabled = true
@ -229,6 +242,7 @@ texture = ExtResource("6_7t87o")
modulate = Color(1.2, 1.2, 1.2, 1)
position = Vector2(0, -3)
rotation = 0.785398
emitting = false
amount = 16
process_material = ExtResource("8_y2qyn")
texture = ExtResource("8_gufhv")