This commit is contained in:
2026-01-31 23:24:13 +02:00
parent be0c819c8b
commit 12c1360ae7
58 changed files with 1902 additions and 238 deletions
+64
View File
@@ -0,0 +1,64 @@
[gd_scene load_steps=9 format=3 uid="uid://cr6shokga0dy6"]
[ext_resource type="Script" uid="uid://ln2lt16fi47q" path="res://Scripts/Projectiles/Projectile.cs" id="1_llqe1"]
[ext_resource type="Texture2D" uid="uid://m77l7ej5ojn0" path="res://Assets/Sprites/Projectiles/flame_attack.png" id="2_xuxqo"]
[sub_resource type="CircleShape2D" id="CircleShape2D_llqe1"]
radius = 8.062258
[sub_resource type="AtlasTexture" id="AtlasTexture_r2qu7"]
atlas = ExtResource("2_xuxqo")
region = Rect2(0, 0, 16, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_fgux0"]
atlas = ExtResource("2_xuxqo")
region = Rect2(16, 0, 16, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_fb7vg"]
atlas = ExtResource("2_xuxqo")
region = Rect2(32, 0, 16, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_y5q4i"]
atlas = ExtResource("2_xuxqo")
region = Rect2(48, 0, 16, 32)
[sub_resource type="SpriteFrames" id="SpriteFrames_0qapt"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_r2qu7")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_fgux0")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_fb7vg")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_y5q4i")
}],
"loop": true,
"name": &"default",
"speed": 5.0
}]
[node name="Fireball" type="Node2D" node_paths=PackedStringArray("_hurtBox")]
texture_filter = 1
script = ExtResource("1_llqe1")
_superEffective = Array[int]([1])
_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")
offset = Vector2(0, -8)