level 4 a bowser

This commit is contained in:
Jonas Braus
2024-08-03 22:13:40 +02:00
parent 30b0a527b4
commit a9c2f587da
24 changed files with 8249 additions and 5 deletions
+95
View File
@@ -0,0 +1,95 @@
[gd_scene load_steps=9 format=3 uid="uid://b4rid627344t4"]
[ext_resource type="Texture2D" uid="uid://ddl5f3lldrp2n" path="res://assets/enemies.png" id="1_gwkcq"]
[ext_resource type="Script" path="res://scripts/enemies/fire_wand.gd" id="1_lapua"]
[sub_resource type="AtlasTexture" id="AtlasTexture_yd1fw"]
atlas = ExtResource("1_gwkcq")
region = Rect2(26, 150, 8, 8)
[sub_resource type="AtlasTexture" id="AtlasTexture_owi6g"]
atlas = ExtResource("1_gwkcq")
region = Rect2(41, 150, 8, 8)
[sub_resource type="AtlasTexture" id="AtlasTexture_e5nv8"]
atlas = ExtResource("1_gwkcq")
region = Rect2(26, 165, 8, 8)
[sub_resource type="AtlasTexture" id="AtlasTexture_5oy1g"]
atlas = ExtResource("1_gwkcq")
region = Rect2(41, 165, 8, 8)
[sub_resource type="SpriteFrames" id="SpriteFrames_6y4se"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_yd1fw")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_owi6g")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_e5nv8")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_5oy1g")
}],
"loop": true,
"name": &"default",
"speed": 5.0
}]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_2qrrp"]
size = Vector2(58, 8)
[node name="fire_wand" type="Area2D"]
collision_mask = 2
script = ExtResource("1_lapua")
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
sprite_frames = SubResource("SpriteFrames_6y4se")
autoplay = "default"
frame = 1
frame_progress = 0.284379
[node name="AnimatedSprite2D3" type="AnimatedSprite2D" parent="."]
position = Vector2(10, 0)
sprite_frames = SubResource("SpriteFrames_6y4se")
autoplay = "default"
frame_progress = 0.428306
[node name="AnimatedSprite2D2" type="AnimatedSprite2D" parent="."]
position = Vector2(20, 0)
sprite_frames = SubResource("SpriteFrames_6y4se")
autoplay = "default"
frame = 1
frame_progress = 0.284379
[node name="AnimatedSprite2D4" type="AnimatedSprite2D" parent="."]
position = Vector2(30, 0)
sprite_frames = SubResource("SpriteFrames_6y4se")
autoplay = "default"
frame_progress = 0.428306
[node name="AnimatedSprite2D5" type="AnimatedSprite2D" parent="."]
position = Vector2(40, 0)
sprite_frames = SubResource("SpriteFrames_6y4se")
autoplay = "default"
frame = 1
frame_progress = 0.284379
[node name="AnimatedSprite2D6" type="AnimatedSprite2D" parent="."]
position = Vector2(50, 0)
sprite_frames = SubResource("SpriteFrames_6y4se")
autoplay = "default"
frame_progress = 0.428306
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2(25, 0)
shape = SubResource("RectangleShape2D_2qrrp")
[node name="Timer" type="Timer" parent="."]
one_shot = true
[connection signal="body_entered" from="." to="." method="_on_body_entered"]
[connection signal="timeout" from="Timer" to="." method="_on_timer_timeout"]