[gd_scene load_steps=27 format=2] [ext_resource path="res://RectangleBoss.gd" type="Script" id=1] [ext_resource path="res://Laser.tscn" type="PackedScene" id=2] [ext_resource path="res://art/bad/rectangle/rectangle_inside.png" type="Texture" id=3] [ext_resource path="res://art/bad/rectangle/rectangle_inside_wince.png" type="Texture" id=4] [ext_resource path="res://art/bad/rectangle/rectangle_inside_fear.png" type="Texture" id=5] [ext_resource path="res://art/bad/rectangle/rectangle_inside_blank.png" type="Texture" id=6] [ext_resource path="res://art/bad/rectangle/rectangle_inside_blink.png" type="Texture" id=7] [ext_resource path="res://art/bad/rectangle/rectangle_outside.png" type="Texture" id=8] [ext_resource path="res://art/bad/rectangle/rectangle_outside_cracked1.png" type="Texture" id=9] [ext_resource path="res://art/bad/rectangle/rectangle_outside_cracked2.png" type="Texture" id=10] [ext_resource path="res://art/bad/rectangle/rectangle_outside_cracked3.png" type="Texture" id=11] [ext_resource path="res://art/bad/rectangle/rectangle_outside_cracked4.png" type="Texture" id=12] [ext_resource path="res://art/bad/rectangle/rectangle_outside_cracked5.png" type="Texture" id=13] [ext_resource path="res://art/bad/rectangle/rectangle_outside_cracked6.png" type="Texture" id=14] [ext_resource path="res://art/bad/rectangle/rectangle_outside_cracked7.png" type="Texture" id=15] [ext_resource path="res://art/bad/rectangle/rectangle_outside_cracked8.png" type="Texture" id=16] [ext_resource path="res://art/bad/rectangle/rectangle_outside_cracked9.png" type="Texture" id=17] [ext_resource path="res://art/bad/rectangle/rectangle_outside_cracked10.png" type="Texture" id=18] [ext_resource path="res://art/bad/rectangle/rectangle_outside_cracked11.png" type="Texture" id=19] [ext_resource path="res://art/bad/rectangle/rectangle_outside_cracked12.png" type="Texture" id=20] [ext_resource path="res://art/bad/rectangle/rectangle_outside_cracked13.png" type="Texture" id=21] [ext_resource path="res://art/bad/rectangle/rectangle_outside_cracked14.png" type="Texture" id=22] [sub_resource type="SpriteFrames" id=1] animations = [ { "frames": [ ExtResource( 3 ), ExtResource( 4 ), ExtResource( 5 ), ExtResource( 6 ), ExtResource( 7 ) ], "loop": true, "name": "default", "speed": 5.0 } ] [sub_resource type="RectangleShape2D" id=2] custom_solver_bias = 0.0 extents = Vector2( 414.127, 469.45 ) [sub_resource type="SpriteFrames" id=3] animations = [ { "frames": [ ExtResource( 8 ), ExtResource( 9 ), ExtResource( 10 ), ExtResource( 11 ), ExtResource( 12 ), ExtResource( 13 ), ExtResource( 14 ), ExtResource( 15 ), ExtResource( 16 ), ExtResource( 17 ), ExtResource( 18 ), ExtResource( 19 ), ExtResource( 20 ), ExtResource( 21 ), ExtResource( 22 ) ], "loop": true, "name": "default", "speed": 5.0 } ] [sub_resource type="RectangleShape2D" id=4] custom_solver_bias = 0.0 extents = Vector2( 404.313, 217.774 ) [node name="RectangleBoss" type="Area2D" index="0"] position = Vector2( 336.401, -1.22772 ) scale = Vector2( 0.25, 0.25 ) input_pickable = true gravity_vec = Vector2( 0, 1 ) gravity = 98.0 linear_damp = 0.1 angular_damp = 1.0 collision_layer = 2 collision_mask = 0 audio_bus_override = false audio_bus_name = "Master" script = ExtResource( 1 ) _sections_unfolded = [ "Collision", "Transform" ] Laser = ExtResource( 2 ) [node name="Inside" type="Area2D" parent="." index="0"] input_pickable = true gravity_vec = Vector2( 0, 1 ) gravity = 98.0 linear_damp = 0.1 angular_damp = 1.0 audio_bus_override = false audio_bus_name = "Master" [node name="InsideBadSprite" type="AnimatedSprite" parent="Inside" index="0"] position = Vector2( 3392, 1182 ) frames = SubResource( 1 ) animation = "default" _sections_unfolded = [ "Transform" ] [node name="Inside Collision" type="CollisionShape2D" parent="Inside" index="1"] position = Vector2( 3501.19, 1181.02 ) scale = Vector2( 1, 1.00835 ) shape = SubResource( 2 ) [node name="Line2D" type="Line2D" parent="." index="1"] points = PoolVector2Array( ) width = 10.0 default_color = Color( 0.4, 0.5, 1, 1 ) texture_mode = 31 sharp_limit = 2.0 round_precision = 8 [node name="BigBadSprite" type="AnimatedSprite" parent="." index="2"] position = Vector2( 3392, 1182 ) frames = SubResource( 3 ) animation = "default" _sections_unfolded = [ "Transform" ] [node name="OutsideTopCollision" type="CollisionShape2D" parent="." index="3"] position = Vector2( 3427.85, 491.096 ) shape = SubResource( 4 ) [node name="OutsideBottomCollision" type="CollisionShape2D" parent="." index="4"] position = Vector2( 3427.85, 1866.16 ) shape = SubResource( 4 ) [connection signal="area_entered" from="Inside" to="." method="_on_Inside_area_entered"] [connection signal="body_entered" from="Inside" to="." method="_on_Inside_body_entered"]