| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970 |
- [gd_scene load_steps=11 format=3 uid="uid://c0tn1w5hd5uol"]
- [ext_resource type="Texture2D" uid="uid://brjkrkihadwnj" path="res://Assets/Sprites/Particles/FireballExplosion.png" id="1_04em8"]
- [ext_resource type="Script" uid="uid://cbal8ms2oe1ik" path="res://Scripts/Classes/Components/ResourceSetterNew.gd" id="2_5vou3"]
- [ext_resource type="Script" uid="uid://caq1qiwmy0mox" path="res://Scripts/Parts/BetterAnimatedSprite.gd" id="2_unul6"]
- [ext_resource type="JSON" path="res://Assets/Sprites/Particles/FireballExplosion.json" id="3_unul6"]
- [sub_resource type="AtlasTexture" id="AtlasTexture_uh5i8"]
- atlas = ExtResource("1_04em8")
- region = Rect2(0, 0, 18, 18)
- [sub_resource type="AtlasTexture" id="AtlasTexture_5vou3"]
- atlas = ExtResource("1_04em8")
- region = Rect2(18, 0, 18, 18)
- [sub_resource type="AtlasTexture" id="AtlasTexture_unul6"]
- atlas = ExtResource("1_04em8")
- region = Rect2(36, 0, 18, 18)
- [sub_resource type="AtlasTexture" id="AtlasTexture_u8mnd"]
- atlas = ExtResource("1_04em8")
- region = Rect2(54, 0, 18, 18)
- [sub_resource type="AtlasTexture" id="AtlasTexture_62o2b"]
- atlas = ExtResource("1_04em8")
- region = Rect2(0, 0, 1, 1)
- [sub_resource type="SpriteFrames" id="SpriteFrames_cu1uy"]
- animations = [{
- "frames": [{
- "duration": 1.0,
- "texture": SubResource("AtlasTexture_uh5i8")
- }, {
- "duration": 1.0,
- "texture": SubResource("AtlasTexture_5vou3")
- }, {
- "duration": 1.0,
- "texture": SubResource("AtlasTexture_unul6")
- }, {
- "duration": 1.0,
- "texture": SubResource("AtlasTexture_u8mnd")
- }, {
- "duration": 1.0,
- "texture": SubResource("AtlasTexture_62o2b")
- }],
- "loop": false,
- "name": &"default",
- "speed": 30.0
- }]
- [node name="FireballExplosion" type="AnimatedSprite2D"]
- sprite_frames = SubResource("SpriteFrames_cu1uy")
- autoplay = "default"
- frame = 4
- frame_progress = 1.0
- script = ExtResource("2_unul6")
- do_offset = false
- metadata/_custom_type_script = "uid://caq1qiwmy0mox"
- [node name="Timer" type="Timer" parent="."]
- autostart = true
- [node name="ResourceSetter" type="Node" parent="." node_paths=PackedStringArray("node_to_affect")]
- script = ExtResource("2_5vou3")
- node_to_affect = NodePath("..")
- property_name = "sprite_frames"
- resource_json = ExtResource("3_unul6")
- metadata/_custom_type_script = "uid://cbal8ms2oe1ik"
- [connection signal="timeout" from="Timer" to="." method="queue_free"]
|