fix shield
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=8 format=3 uid="uid://dhhnr3xkxbxlu"]
|
||||
[gd_scene load_steps=7 format=3 uid="uid://dhhnr3xkxbxlu"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://b6lfgkrbmr8ee" path="res://player.gd" id="1_4flbx"]
|
||||
[ext_resource type="AudioStream" uid="uid://b4g7622b8mxeg" path="res://assets/sfx/damage_taken.wav" id="2_i3pqv"]
|
||||
@@ -16,17 +16,6 @@ animations = [{
|
||||
"speed": 5.0
|
||||
}]
|
||||
|
||||
[sub_resource type="SpriteFrames" id="SpriteFrames_sweqy"]
|
||||
animations = [{
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("4_hqtel")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"default",
|
||||
"speed": 5.0
|
||||
}]
|
||||
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_i3pqv"]
|
||||
|
||||
[node name="Player" type="CharacterBody2D"]
|
||||
@@ -45,10 +34,9 @@ unique_name_in_owner = true
|
||||
scale = Vector2(0.1, 0.1)
|
||||
sprite_frames = SubResource("SpriteFrames_onrkg")
|
||||
|
||||
[node name="Shield" type="AnimatedSprite2D" parent="."]
|
||||
[node name="Shield" type="Sprite2D" parent="."]
|
||||
scale = Vector2(0.3, 0.3)
|
||||
sprite_frames = SubResource("SpriteFrames_sweqy")
|
||||
frame_progress = 0.8800269
|
||||
texture = ExtResource("4_hqtel")
|
||||
|
||||
[node name="Hurtbox" type="CollisionShape2D" parent="."]
|
||||
scale = Vector2(2.5, 2.5)
|
||||
|
||||
Reference in New Issue
Block a user