Added shield damage taken indicator to colliding with enemies; added
shaders to experiment with (disabled)
This commit is contained in:
parent
bfe71e4908
commit
3bd16da435
8 changed files with 387 additions and 4 deletions
51
explosion.tscn
Normal file
51
explosion.tscn
Normal file
|
|
@ -0,0 +1,51 @@
|
|||
[gd_scene load_steps=5 format=3 uid="uid://4jvu41vu2557"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://h04wm5a27u0" path="res://Mini Pixel Pack 3/Effects/Explosion (16 x 16).png" id="1_q7epf"]
|
||||
|
||||
[sub_resource type="Animation" id="Animation_vxas0"]
|
||||
resource_name = "explosion-one-shot"
|
||||
length = 0.5
|
||||
step = 0.1
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath(".:frame")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0, 0.2, 0.3, 0.4, 0.5),
|
||||
"transitions": PackedFloat32Array(1, 1, 1, 1, 1),
|
||||
"update": 1,
|
||||
"values": [0, 1, 3, 4, 5]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_j4sxf"]
|
||||
length = 0.001
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath(".:frame")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [0]
|
||||
}
|
||||
|
||||
[sub_resource type="AnimationLibrary" id="AnimationLibrary_m5xho"]
|
||||
_data = {
|
||||
&"RESET": SubResource("Animation_j4sxf"),
|
||||
&"explosion-one-shot": SubResource("Animation_vxas0")
|
||||
}
|
||||
|
||||
[node name="Explosion" type="Sprite2D"]
|
||||
texture = ExtResource("1_q7epf")
|
||||
hframes = 6
|
||||
|
||||
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
|
||||
libraries = {
|
||||
&"": SubResource("AnimationLibrary_m5xho")
|
||||
}
|
||||
autoplay = "explosion-one-shot"
|
||||
Loading…
Add table
Add a link
Reference in a new issue