Files

67 lines
1.9 KiB
Plaintext

[gd_scene load_steps=9 format=3 uid="uid://wucwxtp1w12q"]
[ext_resource type="Script" uid="uid://ln2lt16fi47q" path="res://Scripts/Projectiles/Projectile.cs" id="1_yxym4"]
[ext_resource type="Texture2D" uid="uid://dxon2g2sn48jq" path="res://Assets/Sprites/Projectiles/blueflame.png" id="2_yxym4"]
[sub_resource type="CircleShape2D" id="CircleShape2D_llqe1"]
radius = 8.062258
[sub_resource type="AtlasTexture" id="AtlasTexture_opdl0"]
atlas = ExtResource("2_yxym4")
region = Rect2(0, 0, 16, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_baewk"]
atlas = ExtResource("2_yxym4")
region = Rect2(16, 0, 16, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_laj71"]
atlas = ExtResource("2_yxym4")
region = Rect2(32, 0, 16, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_e8kgl"]
atlas = ExtResource("2_yxym4")
region = Rect2(48, 0, 16, 32)
[sub_resource type="SpriteFrames" id="SpriteFrames_0qapt"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_opdl0")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_baewk")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_laj71")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_e8kgl")
}],
"loop": true,
"name": &"default",
"speed": 5.0
}]
[node name="Fireball" type="Node2D" node_paths=PackedStringArray("_hurtBox")]
texture_filter = 1
scale = Vector2(0.75, 0.75)
script = ExtResource("1_yxym4")
_superEffective = Array[int]([2])
_baseDamage = 25.0
_speed = 250.0
_hurtBox = NodePath("Hurtbox")
[node name="Hurtbox" type="Area2D" parent="."]
collision_layer = 0
collision_mask = 4
[node name="CollisionShape2D" type="CollisionShape2D" parent="Hurtbox"]
shape = SubResource("CircleShape2D_llqe1")
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
self_modulate = Color(1.8247963, 1.8247963, 1.8247963, 1)
rotation = -1.5707964
sprite_frames = SubResource("SpriteFrames_0qapt")
autoplay = "default"
offset = Vector2(0, -8)