Files
kurovadis/objects/projectiles/pound_bullet.tscn
T
2025-06-24 12:17:20 -06:00

44 lines
1.3 KiB
Plaintext

[gd_scene load_steps=7 format=3 uid="uid://5uiinhmeyov0"]
[ext_resource type="Script" uid="uid://bjevl3d4tu3e8" path="res://objects/projectiles/pound_bullet.gd" id="1_3ik7t"]
[ext_resource type="Texture2D" uid="uid://d4eg0ukm83711" path="res://objects/projectiles/pound.png" id="1_x3ryp"]
[sub_resource type="AtlasTexture" id="AtlasTexture_3ik7t"]
atlas = ExtResource("1_x3ryp")
region = Rect2(0, 0, 48, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_g7yrk"]
atlas = ExtResource("1_x3ryp")
region = Rect2(48, 0, 48, 64)
[sub_resource type="SpriteFrames" id="SpriteFrames_i8330"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_3ik7t")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_g7yrk")
}],
"loop": false,
"name": &"default",
"speed": 36.0
}]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_3ik7t"]
size = Vector2(22, 7)
[node name="PoundBullet" type="AnimatedSprite2D"]
sprite_frames = SubResource("SpriteFrames_i8330")
autoplay = "default"
offset = Vector2(0, -9)
script = ExtResource("1_3ik7t")
[node name="Attackbox" type="Area2D" parent="."]
[node name="CollisionShape2D" type="CollisionShape2D" parent="Attackbox"]
position = Vector2(-2, 3.5)
shape = SubResource("RectangleShape2D_3ik7t")
[connection signal="animation_finished" from="." to="." method="_on_animation_finished"]