2018-11-13 19:31:59 -05:00
|
|
|
[gd_scene load_steps=28 format=2]
|
2018-05-27 19:22:11 -04:00
|
|
|
|
|
|
|
[ext_resource path="res://RectangleBoss.gd" type="Script" id=1]
|
2018-05-29 00:08:30 -04:00
|
|
|
[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]
|
2018-11-13 19:31:59 -05:00
|
|
|
[ext_resource path="res://boss_long_minor_key.ogg" type="AudioStream" id=23]
|
2018-05-27 19:22:11 -04:00
|
|
|
|
|
|
|
[sub_resource type="SpriteFrames" id=1]
|
|
|
|
|
|
|
|
animations = [ {
|
2018-05-29 00:08:30 -04:00
|
|
|
"frames": [ ExtResource( 3 ), ExtResource( 4 ), ExtResource( 5 ), ExtResource( 6 ), ExtResource( 7 ) ],
|
2018-05-27 19:22:11 -04:00
|
|
|
"loop": true,
|
|
|
|
"name": "default",
|
|
|
|
"speed": 5.0
|
|
|
|
} ]
|
|
|
|
|
2018-06-03 11:11:27 -04:00
|
|
|
[sub_resource type="RectangleShape2D" id=2]
|
2018-05-27 19:22:11 -04:00
|
|
|
|
|
|
|
custom_solver_bias = 0.0
|
|
|
|
extents = Vector2( 414.127, 469.45 )
|
|
|
|
|
2018-06-03 11:11:27 -04:00
|
|
|
[sub_resource type="SpriteFrames" id=3]
|
2018-05-27 19:22:11 -04:00
|
|
|
|
|
|
|
animations = [ {
|
2018-05-29 00:08:30 -04:00
|
|
|
"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 ) ],
|
2018-05-27 19:22:11 -04:00
|
|
|
"loop": true,
|
|
|
|
"name": "default",
|
|
|
|
"speed": 5.0
|
|
|
|
} ]
|
|
|
|
|
2018-06-03 11:11:27 -04:00
|
|
|
[sub_resource type="RectangleShape2D" id=4]
|
2018-05-27 19:22:11 -04:00
|
|
|
|
|
|
|
custom_solver_bias = 0.0
|
|
|
|
extents = Vector2( 404.313, 217.774 )
|
|
|
|
|
2018-11-13 20:53:07 -05:00
|
|
|
[node name="RectangleBoss" type="Area2D" groups=[
|
2018-11-12 23:17:53 -05:00
|
|
|
"enemies",
|
|
|
|
]]
|
2018-05-27 19:22:11 -04:00
|
|
|
|
|
|
|
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
|
2018-06-03 11:11:27 -04:00
|
|
|
collision_layer = 2
|
|
|
|
collision_mask = 0
|
2018-05-27 19:22:11 -04:00
|
|
|
audio_bus_override = false
|
|
|
|
audio_bus_name = "Master"
|
|
|
|
script = ExtResource( 1 )
|
2018-06-03 11:11:27 -04:00
|
|
|
_sections_unfolded = [ "Collision", "Transform" ]
|
2018-05-29 00:08:30 -04:00
|
|
|
Laser = ExtResource( 2 )
|
2018-05-27 19:22:11 -04:00
|
|
|
|
|
|
|
[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 )
|
2018-06-03 11:11:27 -04:00
|
|
|
shape = SubResource( 2 )
|
2018-05-27 19:22:11 -04:00
|
|
|
|
|
|
|
[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 )
|
2018-06-03 11:11:27 -04:00
|
|
|
frames = SubResource( 3 )
|
2018-05-27 19:22:11 -04:00
|
|
|
animation = "default"
|
|
|
|
_sections_unfolded = [ "Transform" ]
|
|
|
|
|
|
|
|
[node name="OutsideTopCollision" type="CollisionShape2D" parent="." index="3"]
|
|
|
|
|
|
|
|
position = Vector2( 3427.85, 491.096 )
|
2018-06-03 11:11:27 -04:00
|
|
|
shape = SubResource( 4 )
|
2018-05-27 19:22:11 -04:00
|
|
|
|
|
|
|
[node name="OutsideBottomCollision" type="CollisionShape2D" parent="." index="4"]
|
|
|
|
|
|
|
|
position = Vector2( 3427.85, 1866.16 )
|
2018-06-03 11:11:27 -04:00
|
|
|
shape = SubResource( 4 )
|
2018-05-27 19:22:11 -04:00
|
|
|
|
2018-11-13 19:31:59 -05:00
|
|
|
[node name="BossMusic" type="AudioStreamPlayer" parent="." index="5"]
|
|
|
|
|
|
|
|
stream = ExtResource( 23 )
|
|
|
|
volume_db = 4.0
|
|
|
|
autoplay = true
|
|
|
|
mix_target = 0
|
|
|
|
bus = "Master"
|
|
|
|
|
2018-05-27 19:22:11 -04:00
|
|
|
[connection signal="area_entered" from="Inside" to="." method="_on_Inside_area_entered"]
|
|
|
|
|
|
|
|
[connection signal="body_entered" from="Inside" to="." method="_on_Inside_body_entered"]
|
|
|
|
|
|
|
|
|