[gd_scene load_steps=11 format=3 uid="uid://byk5q0ddm54hi"] [ext_resource type="Script" path="res://scripts/enemies/bowserjr.gd" id="1_0ucqp"] [ext_resource type="Texture2D" uid="uid://ddl5f3lldrp2n" path="res://assets/enemies.png" id="1_q71vc"] [sub_resource type="AtlasTexture" id="AtlasTexture_jv53y"] atlas = ExtResource("1_q71vc") region = Rect2(122, 211, 32, 32) [sub_resource type="AtlasTexture" id="AtlasTexture_1tyng"] atlas = ExtResource("1_q71vc") region = Rect2(82, 211, 32, 32) [sub_resource type="AtlasTexture" id="AtlasTexture_q2270"] atlas = ExtResource("1_q71vc") region = Rect2(2, 211, 32, 32) [sub_resource type="AtlasTexture" id="AtlasTexture_3jf1h"] atlas = ExtResource("1_q71vc") region = Rect2(42, 211, 32, 32) [sub_resource type="SpriteFrames" id="SpriteFrames_xw3te"] animations = [{ "frames": [{ "duration": 1.0, "texture": SubResource("AtlasTexture_jv53y") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_1tyng") }], "loop": true, "name": &"default", "speed": 5.0 }, { "frames": [{ "duration": 1.0, "texture": SubResource("AtlasTexture_q2270") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_3jf1h") }], "loop": true, "name": &"open_mouth", "speed": 5.0 }] [sub_resource type="CircleShape2D" id="CircleShape2D_tvg0d"] radius = 16.0 [sub_resource type="Animation" id="Animation_pjtcx"] resource_name = "default" length = 6.0 loop_mode = 1 tracks/0/type = "method" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath(".") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/keys = { "times": PackedFloat32Array(3, 5.9), "transitions": PackedFloat32Array(1, 1), "values": [{ "args": [], "method": &"shoot" }, { "args": [], "method": &"jump" }] } tracks/1/type = "method" tracks/1/imported = false tracks/1/enabled = true tracks/1/path = NodePath(".") tracks/1/interp = 1 tracks/1/loop_wrap = true tracks/1/keys = { "times": PackedFloat32Array(6), "transitions": PackedFloat32Array(1), "values": [{ "args": [], "method": &"shoot" }] } [sub_resource type="AnimationLibrary" id="AnimationLibrary_y7g55"] _data = { "default": SubResource("Animation_pjtcx") } [node name="bowserjr" type="RigidBody2D"] collision_layer = 128 gravity_scale = 0.6 script = ExtResource("1_0ucqp") [node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."] position = Vector2(16, -16) sprite_frames = SubResource("SpriteFrames_xw3te") animation = &"open_mouth" autoplay = "default" [node name="CollisionShape2D" type="CollisionShape2D" parent="."] position = Vector2(16, -16) shape = SubResource("CircleShape2D_tvg0d") [node name="ShootSpawner" type="Node2D" parent="."] position = Vector2(0, -22) [node name="AnimationPlayer" type="AnimationPlayer" parent="."] libraries = { "": SubResource("AnimationLibrary_y7g55") } autoplay = "default" [node name="Timer" type="Timer" parent="."] wait_time = 0.5 one_shot = true [connection signal="timeout" from="Timer" to="." method="_on_timer_timeout"]