Skip to content

Commit

Permalink
Burn it to the ground
Browse files Browse the repository at this point in the history
  • Loading branch information
konsumlamm committed Apr 18, 2024
1 parent 5400c75 commit 4404e2b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 71 deletions.
1 change: 0 additions & 1 deletion src/scenes/projectiles/fireball.tscn
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ KNOCKBACK_STRENGTH = 30.0
position = Vector2(-5, 1)
animation = &"fireball"
autoplay = "fireball"
frame_progress = 0.855749

[node name="CollisionShape2D" parent="." index="1"]
shape = SubResource("CircleShape2D_ss7tq")
73 changes: 3 additions & 70 deletions src/scenes/projectiles/firelike.tscn
Original file line number Diff line number Diff line change
@@ -1,86 +1,19 @@
[gd_scene load_steps=13 format=3 uid="uid://cxklgqt46ms17"]
[gd_scene load_steps=3 format=3 uid="uid://cxklgqt46ms17"]

[ext_resource type="PackedScene" uid="uid://dyqpiguafbprl" path="res://scenes/projectiles/projectile.tscn" id="1_1lx00"]
[ext_resource type="Texture2D" uid="uid://u8udjt605pon" path="res://assets/fireball.png" id="3_7k5d0"]

[sub_resource type="AtlasTexture" id="AtlasTexture_gv43n"]
atlas = ExtResource("3_7k5d0")
region = Rect2(0, 0, 16, 16)

[sub_resource type="AtlasTexture" id="AtlasTexture_ykk1t"]
atlas = ExtResource("3_7k5d0")
region = Rect2(16, 0, 16, 16)

[sub_resource type="AtlasTexture" id="AtlasTexture_fwjjc"]
atlas = ExtResource("3_7k5d0")
region = Rect2(32, 0, 16, 16)

[sub_resource type="AtlasTexture" id="AtlasTexture_lepxl"]
atlas = ExtResource("3_7k5d0")
region = Rect2(48, 0, 16, 16)

[sub_resource type="AtlasTexture" id="AtlasTexture_jniwo"]
atlas = ExtResource("3_7k5d0")
region = Rect2(64, 0, 16, 16)

[sub_resource type="AtlasTexture" id="AtlasTexture_hj2y2"]
atlas = ExtResource("3_7k5d0")
region = Rect2(80, 0, 16, 16)

[sub_resource type="AtlasTexture" id="AtlasTexture_xxtex"]
atlas = ExtResource("3_7k5d0")
region = Rect2(96, 0, 16, 16)

[sub_resource type="AtlasTexture" id="AtlasTexture_vhdlf"]
atlas = ExtResource("3_7k5d0")
region = Rect2(112, 0, 16, 16)

[sub_resource type="SpriteFrames" id="SpriteFrames_pbbgu"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_gv43n")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_ykk1t")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_fwjjc")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_lepxl")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_jniwo")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_hj2y2")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_xxtex")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_vhdlf")
}],
"loop": false,
"name": &"default",
"speed": 5.0
}]

[sub_resource type="CircleShape2D" id="CircleShape2D_jbsl1"]
resource_local_to_scene = true
radius = 3.0

[node name="Firelike" instance=ExtResource("1_1lx00")]
scale = Vector2(2, 2)
collision_mask = 80
speed = 50.0

[node name="AnimatedSprite2D" parent="." index="0"]
position = Vector2(-5, 1)
sprite_frames = SubResource("SpriteFrames_pbbgu")
animation = &"default"
autoplay = ""
animation = &"fireball"
autoplay = "fireball"

[node name="CollisionShape2D" parent="." index="1"]
shape = SubResource("CircleShape2D_jbsl1")

0 comments on commit 4404e2b

Please sign in to comment.