mirror of
https://github.com/JHDev2006/Super-Mario-Bros.-Remastered-Public.git
synced 2025-10-22 23:48:11 +00:00
added the game
This commit is contained in:
43
Scenes/Prefabs/Particles/BarrelDestructionParticle.tscn
Normal file
43
Scenes/Prefabs/Particles/BarrelDestructionParticle.tscn
Normal file
@@ -0,0 +1,43 @@
|
||||
[gd_scene load_steps=4 format=3 uid="uid://b87qi66dabwwc"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://cyw7kk1em8h16" path="res://Scenes/Parts/Particles/BlockDestructionParticles.tscn" id="1_5wce4"]
|
||||
[ext_resource type="Texture2D" uid="uid://ek2rv5igsr8y" path="res://Assets/Sprites/Particles/BarrelDestructionParticle.png" id="2_prr6m"]
|
||||
[ext_resource type="JSON" path="res://Assets/Sprites/Particles/BarrelDestructionParticle.json" id="3_ltr7a"]
|
||||
|
||||
[node name="BlockDestructionParticles" instance=ExtResource("1_5wce4")]
|
||||
|
||||
[node name="Sprite" parent="TL" index="0"]
|
||||
texture = ExtResource("2_prr6m")
|
||||
region_enabled = false
|
||||
region_rect = Rect2(0, 0, 8, 8)
|
||||
|
||||
[node name="ResourceSetterNew" parent="TL/Sprite" index="0"]
|
||||
resource_json = ExtResource("3_ltr7a")
|
||||
|
||||
[node name="Sprite" parent="TR" index="0"]
|
||||
texture = ExtResource("2_prr6m")
|
||||
flip_h = true
|
||||
region_enabled = false
|
||||
region_rect = Rect2(0, 0, 8, 8)
|
||||
|
||||
[node name="ResourceSetterNew" parent="TR/Sprite" index="0"]
|
||||
resource_json = ExtResource("3_ltr7a")
|
||||
|
||||
[node name="Sprite" parent="BL" index="0"]
|
||||
texture = ExtResource("2_prr6m")
|
||||
flip_v = true
|
||||
region_enabled = false
|
||||
region_rect = Rect2(8, 0, 8, 8)
|
||||
|
||||
[node name="ResourceSetterNew" parent="BL/Sprite" index="0"]
|
||||
resource_json = ExtResource("3_ltr7a")
|
||||
|
||||
[node name="Sprite" parent="BR" index="0"]
|
||||
texture = ExtResource("2_prr6m")
|
||||
flip_h = true
|
||||
flip_v = true
|
||||
region_enabled = false
|
||||
region_rect = Rect2(8, 0, 8, 8)
|
||||
|
||||
[node name="ResourceSetterNew" parent="BR/Sprite" index="0"]
|
||||
resource_json = ExtResource("3_ltr7a")
|
5
Scenes/Prefabs/Particles/BrickDestructionParticles.tscn
Normal file
5
Scenes/Prefabs/Particles/BrickDestructionParticles.tscn
Normal file
@@ -0,0 +1,5 @@
|
||||
[gd_scene load_steps=2 format=3 uid="uid://55lw62f6ol33"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://cyw7kk1em8h16" path="res://Scenes/Parts/Particles/BlockDestructionParticles.tscn" id="1_68g86"]
|
||||
|
||||
[node name="BlockDestructionParticles" instance=ExtResource("1_68g86")]
|
74
Scenes/Prefabs/Particles/BridgeDestructionParticle.tscn
Normal file
74
Scenes/Prefabs/Particles/BridgeDestructionParticle.tscn
Normal file
@@ -0,0 +1,74 @@
|
||||
[gd_scene load_steps=6 format=3 uid="uid://cwfjdgsyh35h6"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://cyw7kk1em8h16" path="res://Scenes/Parts/Particles/BlockDestructionParticles.tscn" id="1_25jih"]
|
||||
[ext_resource type="Texture2D" uid="uid://dndhnixtdoww2" path="res://Assets/Sprites/Particles/BridgeDestructionParticle.png" id="2_4osef"]
|
||||
[ext_resource type="Script" uid="uid://cq6f682453q6o" path="res://Scripts/Classes/Components/ResourceSetter.gd" id="3_asaem"]
|
||||
[ext_resource type="Script" uid="uid://cmvlgsjmsk0v5" path="res://Scripts/Classes/Resources/ThemedResource.gd" id="4_jna4k"]
|
||||
|
||||
[sub_resource type="Resource" id="Resource_2busm"]
|
||||
script = ExtResource("4_jna4k")
|
||||
Overworld = ExtResource("2_4osef")
|
||||
metadata/_custom_type_script = "uid://cmvlgsjmsk0v5"
|
||||
|
||||
[node name="BridgeDestructionParticle" instance=ExtResource("1_25jih")]
|
||||
region_rect = Rect2(0, 0, 16, 16)
|
||||
|
||||
[node name="Sprite" parent="TL" index="0"]
|
||||
texture = ExtResource("2_4osef")
|
||||
region_enabled = false
|
||||
|
||||
[node name="ResourceSetterNew" parent="TL/Sprite" index="0"]
|
||||
property_name = ""
|
||||
resource_json = null
|
||||
|
||||
[node name="ResourceSetter" type="Node" parent="TL/Sprite" index="1" node_paths=PackedStringArray("node_to_affect")]
|
||||
script = ExtResource("3_asaem")
|
||||
node_to_affect = NodePath("..")
|
||||
property_name = "texture"
|
||||
themed_resource = SubResource("Resource_2busm")
|
||||
metadata/_custom_type_script = "uid://cq6f682453q6o"
|
||||
|
||||
[node name="Sprite" parent="TR" index="0"]
|
||||
texture = ExtResource("2_4osef")
|
||||
region_enabled = false
|
||||
|
||||
[node name="ResourceSetterNew" parent="TR/Sprite" index="0"]
|
||||
property_name = ""
|
||||
resource_json = null
|
||||
|
||||
[node name="ResourceSetter" type="Node" parent="TR/Sprite" index="1" node_paths=PackedStringArray("node_to_affect")]
|
||||
script = ExtResource("3_asaem")
|
||||
node_to_affect = NodePath("..")
|
||||
property_name = "texture"
|
||||
themed_resource = SubResource("Resource_2busm")
|
||||
metadata/_custom_type_script = "uid://cq6f682453q6o"
|
||||
|
||||
[node name="Sprite" parent="BL" index="0"]
|
||||
texture = ExtResource("2_4osef")
|
||||
region_enabled = false
|
||||
|
||||
[node name="ResourceSetterNew" parent="BL/Sprite" index="0"]
|
||||
property_name = ""
|
||||
resource_json = null
|
||||
|
||||
[node name="ResourceSetter" type="Node" parent="BL/Sprite" index="1" node_paths=PackedStringArray("node_to_affect")]
|
||||
script = ExtResource("3_asaem")
|
||||
node_to_affect = NodePath("..")
|
||||
property_name = "texture"
|
||||
themed_resource = SubResource("Resource_2busm")
|
||||
metadata/_custom_type_script = "uid://cq6f682453q6o"
|
||||
|
||||
[node name="Sprite" parent="BR" index="0"]
|
||||
texture = ExtResource("2_4osef")
|
||||
region_enabled = false
|
||||
|
||||
[node name="ResourceSetterNew" parent="BR/Sprite" index="0"]
|
||||
property_name = ""
|
||||
resource_json = null
|
||||
|
||||
[node name="ResourceSetter" type="Node" parent="BR/Sprite" index="1" node_paths=PackedStringArray("node_to_affect")]
|
||||
script = ExtResource("3_asaem")
|
||||
node_to_affect = NodePath("..")
|
||||
property_name = "texture"
|
||||
themed_resource = SubResource("Resource_2busm")
|
||||
metadata/_custom_type_script = "uid://cq6f682453q6o"
|
24
Scenes/Prefabs/Particles/BubbleParticle.tscn
Normal file
24
Scenes/Prefabs/Particles/BubbleParticle.tscn
Normal file
@@ -0,0 +1,24 @@
|
||||
[gd_scene load_steps=4 format=3 uid="uid://bwjae1h1airtr"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://denfttv4kn7f6" path="res://Scripts/Parts/BubbleParticle.gd" id="1_kkawp"]
|
||||
[ext_resource type="Texture2D" uid="uid://b7h6b0yqyi2kh" path="res://Assets/Sprites/Particles/Bubble.png" id="2_ky4x1"]
|
||||
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_2b1vy"]
|
||||
radius = 2.0
|
||||
|
||||
[node name="BubbleParticle" type="Node2D"]
|
||||
visibility_layer = 2
|
||||
script = ExtResource("1_kkawp")
|
||||
|
||||
[node name="Sprite" type="Sprite2D" parent="."]
|
||||
texture = ExtResource("2_ky4x1")
|
||||
|
||||
[node name="WaterDetection" type="Area2D" parent="."]
|
||||
position = Vector2(0, -8)
|
||||
collision_layer = 0
|
||||
collision_mask = 64
|
||||
|
||||
[node name="Shape" type="CollisionShape2D" parent="WaterDetection"]
|
||||
shape = SubResource("CircleShape2D_2b1vy")
|
||||
|
||||
[connection signal="body_exited" from="WaterDetection" to="." method="on_body_exited"]
|
32
Scenes/Prefabs/Particles/CoinSparkle.tscn
Executable file
32
Scenes/Prefabs/Particles/CoinSparkle.tscn
Executable file
@@ -0,0 +1,32 @@
|
||||
[gd_scene load_steps=3 format=3 uid="uid://b1ytbn4cu7msu"]
|
||||
|
||||
[sub_resource type="CanvasItemMaterial" id="CanvasItemMaterial_0guw6"]
|
||||
particles_animation = true
|
||||
particles_anim_h_frames = 8
|
||||
particles_anim_v_frames = 1
|
||||
particles_anim_loop = false
|
||||
|
||||
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_wdqt2"]
|
||||
particle_flag_disable_z = true
|
||||
emission_shape = 1
|
||||
emission_sphere_radius = 16.0
|
||||
gravity = Vector3(0, 0, 0)
|
||||
anim_speed_min = 2.0
|
||||
anim_speed_max = 2.0
|
||||
|
||||
[node name="CoinSparkle" type="GPUParticles2D"]
|
||||
material = SubResource("CanvasItemMaterial_0guw6")
|
||||
emitting = false
|
||||
amount = 3
|
||||
lifetime = 0.5
|
||||
one_shot = true
|
||||
explosiveness = 0.7
|
||||
interpolate = false
|
||||
fract_delta = false
|
||||
process_material = SubResource("ParticleProcessMaterial_wdqt2")
|
||||
|
||||
[node name="Timer" type="Timer" parent="."]
|
||||
autostart = true
|
||||
|
||||
[connection signal="ready" from="." to="." method="set_emitting" binds= [true]]
|
||||
[connection signal="timeout" from="Timer" to="." method="queue_free"]
|
17
Scenes/Prefabs/Particles/DecoBlockDestructionParticles.tscn
Normal file
17
Scenes/Prefabs/Particles/DecoBlockDestructionParticles.tscn
Normal file
@@ -0,0 +1,17 @@
|
||||
[gd_scene load_steps=2 format=3 uid="uid://b4cf70v1da8cb"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://cyw7kk1em8h16" path="res://Scenes/Parts/Particles/BlockDestructionParticles.tscn" id="1_tooep"]
|
||||
|
||||
[node name="BlockDestructionParticles" instance=ExtResource("1_tooep")]
|
||||
|
||||
[node name="Sprite" parent="TL" index="0"]
|
||||
region_rect = Rect2(32, 160, 16, 16)
|
||||
|
||||
[node name="Sprite" parent="TR" index="0"]
|
||||
region_rect = Rect2(32, 160, 16, 16)
|
||||
|
||||
[node name="Sprite" parent="BL" index="0"]
|
||||
region_rect = Rect2(32, 160, 16, 16)
|
||||
|
||||
[node name="Sprite" parent="BR" index="0"]
|
||||
region_rect = Rect2(32, 160, 16, 16)
|
35
Scenes/Prefabs/Particles/DryBonesDestructionParticles.tscn
Normal file
35
Scenes/Prefabs/Particles/DryBonesDestructionParticles.tscn
Normal file
@@ -0,0 +1,35 @@
|
||||
[gd_scene load_steps=4 format=3 uid="uid://bhs5ly6bbaahk"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://cyw7kk1em8h16" path="res://Scenes/Parts/Particles/BlockDestructionParticles.tscn" id="1_wkb5x"]
|
||||
[ext_resource type="Texture2D" uid="uid://6gt1kugyj6sb" path="res://Assets/Sprites/Particles/DryBonesDestructionParticles.png" id="2_x32ly"]
|
||||
[ext_resource type="JSON" path="res://Assets/Sprites/Particles/DryBonesDestructionParticles.json" id="3_78pcs"]
|
||||
|
||||
[node name="BlockDestructionParticles" instance=ExtResource("1_wkb5x")]
|
||||
|
||||
[node name="Sprite" parent="TL" index="0"]
|
||||
texture = ExtResource("2_x32ly")
|
||||
region_rect = Rect2(0, 0, 16, 16)
|
||||
|
||||
[node name="ResourceSetterNew" parent="TL/Sprite" index="0"]
|
||||
resource_json = ExtResource("3_78pcs")
|
||||
|
||||
[node name="Sprite" parent="TR" index="0"]
|
||||
texture = ExtResource("2_x32ly")
|
||||
region_rect = Rect2(32, 0, 16, 16)
|
||||
|
||||
[node name="ResourceSetterNew" parent="TR/Sprite" index="0"]
|
||||
resource_json = ExtResource("3_78pcs")
|
||||
|
||||
[node name="Sprite" parent="BL" index="0"]
|
||||
texture = ExtResource("2_x32ly")
|
||||
region_rect = Rect2(32, 0, 16, 16)
|
||||
|
||||
[node name="ResourceSetterNew" parent="BL/Sprite" index="0"]
|
||||
resource_json = ExtResource("3_78pcs")
|
||||
|
||||
[node name="Sprite" parent="BR" index="0"]
|
||||
texture = ExtResource("2_x32ly")
|
||||
region_rect = Rect2(16, 0, 16, 16)
|
||||
|
||||
[node name="ResourceSetterNew" parent="BR/Sprite" index="0"]
|
||||
resource_json = ExtResource("3_78pcs")
|
17
Scenes/Prefabs/Particles/EmptyBlockDestructionParticles.tscn
Normal file
17
Scenes/Prefabs/Particles/EmptyBlockDestructionParticles.tscn
Normal file
@@ -0,0 +1,17 @@
|
||||
[gd_scene load_steps=2 format=3 uid="uid://bxxjd0qf60t5q"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://cyw7kk1em8h16" path="res://Scenes/Parts/Particles/BlockDestructionParticles.tscn" id="1_ka7dr"]
|
||||
|
||||
[node name="BlockDestructionParticles" instance=ExtResource("1_ka7dr")]
|
||||
|
||||
[node name="Sprite" parent="TL" index="0"]
|
||||
region_rect = Rect2(16, 160, 16, 16)
|
||||
|
||||
[node name="Sprite" parent="TR" index="0"]
|
||||
region_rect = Rect2(16, 160, 16, 16)
|
||||
|
||||
[node name="Sprite" parent="BL" index="0"]
|
||||
region_rect = Rect2(16, 160, 16, 16)
|
||||
|
||||
[node name="Sprite" parent="BR" index="0"]
|
||||
region_rect = Rect2(16, 160, 16, 16)
|
70
Scenes/Prefabs/Particles/FireballExplosion.tscn
Normal file
70
Scenes/Prefabs/Particles/FireballExplosion.tscn
Normal file
@@ -0,0 +1,70 @@
|
||||
[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"]
|
9
Scenes/Prefabs/Particles/Firework.tscn
Normal file
9
Scenes/Prefabs/Particles/Firework.tscn
Normal file
@@ -0,0 +1,9 @@
|
||||
[gd_scene load_steps=3 format=3 uid="uid://r7wy30fay4nx"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://c0tn1w5hd5uol" path="res://Scenes/Prefabs/Particles/FireballExplosion.tscn" id="1_13yx6"]
|
||||
[ext_resource type="JSON" path="res://Assets/Sprites/Particles/Firework.json" id="2_r062j"]
|
||||
|
||||
[node name="FireballExplosion" instance=ExtResource("1_13yx6")]
|
||||
|
||||
[node name="ResourceSetter" parent="." index="1"]
|
||||
resource_json = ExtResource("2_r062j")
|
69
Scenes/Prefabs/Particles/LakituCloudBurst.tscn
Normal file
69
Scenes/Prefabs/Particles/LakituCloudBurst.tscn
Normal file
@@ -0,0 +1,69 @@
|
||||
[gd_scene load_steps=10 format=3 uid="uid://dybfmrawthall"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://boongcly3e2cl" path="res://Assets/Sprites/Particles/LakituCloudBurst.png" id="1_3jvpp"]
|
||||
[ext_resource type="Script" uid="uid://cbal8ms2oe1ik" path="res://Scripts/Classes/Components/ResourceSetterNew.gd" id="2_cic8a"]
|
||||
[ext_resource type="JSON" path="res://Assets/Sprites/Particles/LakituCloudBurst.json" id="3_3da8h"]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_cic8a"]
|
||||
atlas = ExtResource("1_3jvpp")
|
||||
region = Rect2(0, 0, 16, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_3da8h"]
|
||||
atlas = ExtResource("1_3jvpp")
|
||||
region = Rect2(16, 0, 16, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_i741o"]
|
||||
atlas = ExtResource("1_3jvpp")
|
||||
region = Rect2(32, 0, 16, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_qrd6q"]
|
||||
atlas = ExtResource("1_3jvpp")
|
||||
region = Rect2(24, 5, 1, 1)
|
||||
|
||||
[sub_resource type="SpriteFrames" id="SpriteFrames_xs1ui"]
|
||||
animations = [{
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_cic8a")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_3da8h")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_i741o")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_qrd6q")
|
||||
}],
|
||||
"loop": false,
|
||||
"name": &"default",
|
||||
"speed": 10.0
|
||||
}]
|
||||
|
||||
[sub_resource type="GDScript" id="GDScript_3jvpp"]
|
||||
script/source = "extends AnimatedSprite2D
|
||||
|
||||
func _ready() -> void:
|
||||
pass
|
||||
"
|
||||
|
||||
[node name="LakituCloudBurst" type="AnimatedSprite2D"]
|
||||
z_index = 5
|
||||
sprite_frames = SubResource("SpriteFrames_xs1ui")
|
||||
autoplay = "default"
|
||||
frame = 3
|
||||
frame_progress = 1.0
|
||||
script = SubResource("GDScript_3jvpp")
|
||||
|
||||
[node name="Timer" type="Timer" parent="."]
|
||||
wait_time = 10.0
|
||||
autostart = true
|
||||
|
||||
[node name="ResourceSetterNew" type="Node" parent="." node_paths=PackedStringArray("node_to_affect")]
|
||||
script = ExtResource("2_cic8a")
|
||||
node_to_affect = NodePath("..")
|
||||
property_name = "sprite_frames"
|
||||
resource_json = ExtResource("3_3da8h")
|
||||
metadata/_custom_type_script = "uid://cbal8ms2oe1ik"
|
||||
|
||||
[connection signal="timeout" from="Timer" to="." method="queue_free"]
|
@@ -0,0 +1,34 @@
|
||||
[gd_scene load_steps=3 format=3 uid="uid://dt58tjrnarms0"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://cyw7kk1em8h16" path="res://Scenes/Parts/Particles/BlockDestructionParticles.tscn" id="1_hlf47"]
|
||||
[ext_resource type="JSON" path="res://Assets/Sprites/Particles/QuestionBlockDestructionParticles.json" id="2_mhwc7"]
|
||||
|
||||
[node name="BlockDestructionParticles" instance=ExtResource("1_hlf47")]
|
||||
|
||||
[node name="Sprite" parent="TL" index="0"]
|
||||
texture = null
|
||||
region_enabled = false
|
||||
|
||||
[node name="ResourceSetterNew" parent="TL/Sprite" index="0"]
|
||||
resource_json = ExtResource("2_mhwc7")
|
||||
|
||||
[node name="Sprite" parent="TR" index="0"]
|
||||
texture = null
|
||||
region_enabled = false
|
||||
|
||||
[node name="ResourceSetterNew" parent="TR/Sprite" index="0"]
|
||||
resource_json = ExtResource("2_mhwc7")
|
||||
|
||||
[node name="Sprite" parent="BL" index="0"]
|
||||
texture = null
|
||||
region_enabled = false
|
||||
|
||||
[node name="ResourceSetterNew" parent="BL/Sprite" index="0"]
|
||||
resource_json = ExtResource("2_mhwc7")
|
||||
|
||||
[node name="Sprite" parent="BR" index="0"]
|
||||
texture = null
|
||||
region_enabled = false
|
||||
|
||||
[node name="ResourceSetterNew" parent="BR/Sprite" index="0"]
|
||||
resource_json = ExtResource("2_mhwc7")
|
59
Scenes/Prefabs/Particles/SmokeParticle.tscn
Executable file
59
Scenes/Prefabs/Particles/SmokeParticle.tscn
Executable file
@@ -0,0 +1,59 @@
|
||||
[gd_scene load_steps=8 format=3 uid="uid://d08nv4qtfouv1"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://byy3k1pdrp77" path="res://Assets/Sprites/Particles/Smoke.png" id="1_tpri6"]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_x2ehg"]
|
||||
atlas = ExtResource("1_tpri6")
|
||||
region = Rect2(0, 0, 16, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_g3yun"]
|
||||
atlas = ExtResource("1_tpri6")
|
||||
region = Rect2(16, 0, 16, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_ig72b"]
|
||||
atlas = ExtResource("1_tpri6")
|
||||
region = Rect2(32, 0, 16, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_tvxpm"]
|
||||
atlas = ExtResource("1_tpri6")
|
||||
region = Rect2(48, 0, 16, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_xke1f"]
|
||||
atlas = ExtResource("1_tpri6")
|
||||
region = Rect2(64, 0, 16, 16)
|
||||
|
||||
[sub_resource type="SpriteFrames" id="SpriteFrames_6nxch"]
|
||||
animations = [{
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_x2ehg")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_g3yun")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_ig72b")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_tvxpm")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_xke1f")
|
||||
}],
|
||||
"loop": false,
|
||||
"name": &"default",
|
||||
"speed": 15.0
|
||||
}]
|
||||
|
||||
[node name="SmokeParticle" type="AnimatedSprite2D"]
|
||||
sprite_frames = SubResource("SpriteFrames_6nxch")
|
||||
autoplay = "default"
|
||||
frame = 4
|
||||
frame_progress = 1.0
|
||||
offset = Vector2(0, -8)
|
||||
|
||||
[node name="Timer" type="Timer" parent="."]
|
||||
one_shot = true
|
||||
autostart = true
|
||||
|
||||
[connection signal="timeout" from="Timer" to="." method="queue_free"]
|
30
Scenes/Prefabs/Particles/SpikeBallDestructionParticles.tscn
Normal file
30
Scenes/Prefabs/Particles/SpikeBallDestructionParticles.tscn
Normal file
@@ -0,0 +1,30 @@
|
||||
[gd_scene load_steps=3 format=3 uid="uid://bk0arhpyyila6"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://cyw7kk1em8h16" path="res://Scenes/Parts/Particles/BlockDestructionParticles.tscn" id="1_0otqm"]
|
||||
[ext_resource type="JSON" path="res://Assets/Sprites/Particles/SpikeBallDestructionParticles.json" id="2_u0wx7"]
|
||||
|
||||
[node name="BlockDestructionParticles" instance=ExtResource("1_0otqm")]
|
||||
|
||||
[node name="Sprite" parent="TL" index="0"]
|
||||
region_enabled = false
|
||||
|
||||
[node name="ResourceSetterNew" parent="TL/Sprite" index="0"]
|
||||
resource_json = ExtResource("2_u0wx7")
|
||||
|
||||
[node name="Sprite" parent="TR" index="0"]
|
||||
region_enabled = false
|
||||
|
||||
[node name="ResourceSetterNew" parent="TR/Sprite" index="0"]
|
||||
resource_json = ExtResource("2_u0wx7")
|
||||
|
||||
[node name="Sprite" parent="BL" index="0"]
|
||||
region_enabled = false
|
||||
|
||||
[node name="ResourceSetterNew" parent="BL/Sprite" index="0"]
|
||||
resource_json = ExtResource("2_u0wx7")
|
||||
|
||||
[node name="Sprite" parent="BR" index="0"]
|
||||
region_enabled = false
|
||||
|
||||
[node name="ResourceSetterNew" parent="BR/Sprite" index="0"]
|
||||
resource_json = ExtResource("2_u0wx7")
|
30
Scenes/Prefabs/Particles/TurnBlockDestructionParticles.tscn
Normal file
30
Scenes/Prefabs/Particles/TurnBlockDestructionParticles.tscn
Normal file
@@ -0,0 +1,30 @@
|
||||
[gd_scene load_steps=3 format=3 uid="uid://fqeqexyd7j0j"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://cyw7kk1em8h16" path="res://Scenes/Parts/Particles/BlockDestructionParticles.tscn" id="1_yiy81"]
|
||||
[ext_resource type="JSON" path="res://Assets/Sprites/Particles/FlipBlockDestructionParticles.json" id="2_8wiln"]
|
||||
|
||||
[node name="BlockDestructionParticles" instance=ExtResource("1_yiy81")]
|
||||
|
||||
[node name="Sprite" parent="TL" index="0"]
|
||||
region_enabled = false
|
||||
|
||||
[node name="ResourceSetterNew" parent="TL/Sprite" index="0"]
|
||||
resource_json = ExtResource("2_8wiln")
|
||||
|
||||
[node name="Sprite" parent="TR" index="0"]
|
||||
region_enabled = false
|
||||
|
||||
[node name="ResourceSetterNew" parent="TR/Sprite" index="0"]
|
||||
resource_json = ExtResource("2_8wiln")
|
||||
|
||||
[node name="Sprite" parent="BL" index="0"]
|
||||
region_enabled = false
|
||||
|
||||
[node name="ResourceSetterNew" parent="BL/Sprite" index="0"]
|
||||
resource_json = ExtResource("2_8wiln")
|
||||
|
||||
[node name="Sprite" parent="BR" index="0"]
|
||||
region_enabled = false
|
||||
|
||||
[node name="ResourceSetterNew" parent="BR/Sprite" index="0"]
|
||||
resource_json = ExtResource("2_8wiln")
|
Reference in New Issue
Block a user