299 lines
7.0 KiB
Plaintext
299 lines
7.0 KiB
Plaintext
[gd_scene load_steps=9 format=2]
|
|
|
|
[ext_resource path="res://Bad.tscn" type="PackedScene" id=1]
|
|
[ext_resource path="res://RectangleReturn.gd" type="Script" id=2]
|
|
[ext_resource path="res://art/bad/rectangle/rectangle_inside.png" type="Texture" id=3]
|
|
[ext_resource path="res://BadLaser.tscn" type="PackedScene" id=4]
|
|
[ext_resource path="res://art/bad/rectangle/return_arm.png" type="Texture" id=5]
|
|
|
|
[sub_resource type="SpriteFrames" id=3]
|
|
|
|
animations = [ {
|
|
"frames": [ ExtResource( 3 ) ],
|
|
"loop": true,
|
|
"name": "default",
|
|
"speed": 5.0
|
|
} ]
|
|
|
|
[sub_resource type="RectangleShape2D" id=1]
|
|
|
|
custom_solver_bias = 0.0
|
|
extents = Vector2( 43.4086, 153.113 )
|
|
|
|
[sub_resource type="RectangleShape2D" id=2]
|
|
|
|
custom_solver_bias = 0.0
|
|
extents = Vector2( 42.0251, 121.071 )
|
|
|
|
[node name="RectangleReturn" index="0" instance=ExtResource( 1 )]
|
|
|
|
position = Vector2( 509.277, -22.7974 )
|
|
script = ExtResource( 2 )
|
|
|
|
[node name="MainSprite" parent="." index="2"]
|
|
|
|
position = Vector2( 371.998, 340.999 )
|
|
scale = Vector2( 0.2, 0.2 )
|
|
z_index = 1
|
|
frames = SubResource( 3 )
|
|
_sections_unfolded = [ "Transform", "Z Index" ]
|
|
|
|
[node name="RightArm" type="Area2D" parent="." index="3"]
|
|
|
|
position = Vector2( 284.999, 102 )
|
|
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"
|
|
_sections_unfolded = [ "Transform" ]
|
|
|
|
[node name="PinJoint2D" type="PinJoint2D" parent="RightArm" index="0"]
|
|
|
|
position = Vector2( 10.5514, 239.666 )
|
|
node_a = NodePath("../Forearm")
|
|
node_b = NodePath("../UpperArm")
|
|
bias = 0.0
|
|
disable_collision = true
|
|
softness = 0.0
|
|
|
|
[node name="Laser" type="RigidBody2D" parent="RightArm" index="1"]
|
|
|
|
input_pickable = false
|
|
collision_layer = 1
|
|
collision_mask = 1
|
|
mode = 2
|
|
mass = 1.0
|
|
friction = 1.0
|
|
bounce = 0.0
|
|
gravity_scale = 0.0
|
|
custom_integrator = false
|
|
continuous_cd = 0
|
|
contacts_reported = 0
|
|
contact_monitor = false
|
|
sleeping = false
|
|
can_sleep = true
|
|
linear_velocity = Vector2( 0, 0 )
|
|
linear_damp = -1.0
|
|
angular_velocity = 0.0
|
|
angular_damp = -1.0
|
|
|
|
[node name="BadLaser" parent="RightArm/Laser" index="0" instance=ExtResource( 4 )]
|
|
|
|
position = Vector2( 0.575623, 2.26275 )
|
|
SPEED = 0
|
|
|
|
[node name="Forearm" type="RigidBody2D" parent="RightArm" index="2"]
|
|
|
|
editor/display_folded = true
|
|
rotation = -1.2897
|
|
scale = Vector2( 0.7, 0.7 )
|
|
z_index = -2
|
|
input_pickable = false
|
|
collision_layer = 1
|
|
collision_mask = 1
|
|
mode = 1
|
|
mass = 1.0
|
|
friction = 1.0
|
|
bounce = 0.0
|
|
gravity_scale = 0.0
|
|
custom_integrator = false
|
|
continuous_cd = 0
|
|
contacts_reported = 0
|
|
contact_monitor = false
|
|
sleeping = false
|
|
can_sleep = true
|
|
linear_velocity = Vector2( 0, 0 )
|
|
linear_damp = -1.0
|
|
angular_velocity = 0.0
|
|
angular_damp = -1.0
|
|
_sections_unfolded = [ "Transform", "Z Index" ]
|
|
|
|
[node name="Sprite" type="Sprite" parent="RightArm/Forearm" index="0"]
|
|
|
|
position = Vector2( 2.44351, 136.022 )
|
|
scale = Vector2( 0.25, 0.25 )
|
|
texture = ExtResource( 5 )
|
|
_sections_unfolded = [ "Transform" ]
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="RightArm/Forearm" index="1"]
|
|
|
|
position = Vector2( 4, 95 )
|
|
shape = SubResource( 1 )
|
|
|
|
[node name="UpperArm" type="RigidBody2D" parent="RightArm" index="3"]
|
|
|
|
editor/display_folded = true
|
|
position = Vector2( 135.789, 104.27 )
|
|
rotation = -2.72455
|
|
scale = Vector2( 0.8, 0.8 )
|
|
input_pickable = false
|
|
collision_layer = 1
|
|
collision_mask = 1
|
|
mode = 0
|
|
mass = 1.0
|
|
friction = 1.0
|
|
bounce = 0.0
|
|
gravity_scale = 0.0
|
|
custom_integrator = false
|
|
continuous_cd = 0
|
|
contacts_reported = 0
|
|
contact_monitor = false
|
|
sleeping = false
|
|
can_sleep = true
|
|
linear_velocity = Vector2( 0, 0 )
|
|
linear_damp = -1.0
|
|
angular_velocity = 0.0
|
|
angular_damp = -1.0
|
|
_sections_unfolded = [ "Transform", "Z Index" ]
|
|
__meta__ = {
|
|
"_edit_group_": true
|
|
}
|
|
|
|
[node name="Sprite" type="Sprite" parent="RightArm/UpperArm" index="0"]
|
|
|
|
scale = Vector2( 0.26, 0.26 )
|
|
texture = ExtResource( 5 )
|
|
_sections_unfolded = [ "Transform" ]
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="RightArm/UpperArm" index="1"]
|
|
|
|
position = Vector2( 0, -1 )
|
|
shape = SubResource( 2 )
|
|
|
|
[node name="LeftArm" type="Area2D" parent="." index="4"]
|
|
|
|
editor/display_folded = true
|
|
position = Vector2( 178.999, 429.998 )
|
|
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"
|
|
_sections_unfolded = [ "Transform" ]
|
|
|
|
[node name="PinJoint2D" type="PinJoint2D" parent="LeftArm" index="0"]
|
|
|
|
position = Vector2( 10.5514, 239.666 )
|
|
node_a = NodePath("../Forearm")
|
|
node_b = NodePath("../UpperArm")
|
|
bias = 0.0
|
|
disable_collision = true
|
|
softness = 0.0
|
|
|
|
[node name="Laser" type="RigidBody2D" parent="LeftArm" index="1"]
|
|
|
|
position = Vector2( 108, 123.999 )
|
|
input_pickable = false
|
|
collision_layer = 1
|
|
collision_mask = 1
|
|
mode = 2
|
|
mass = 1.0
|
|
friction = 1.0
|
|
bounce = 0.0
|
|
gravity_scale = 0.0
|
|
custom_integrator = false
|
|
continuous_cd = 0
|
|
contacts_reported = 0
|
|
contact_monitor = false
|
|
sleeping = false
|
|
can_sleep = true
|
|
linear_velocity = Vector2( 0, 0 )
|
|
linear_damp = -1.0
|
|
angular_velocity = 0.0
|
|
angular_damp = -1.0
|
|
|
|
[node name="BadLaser" parent="LeftArm/Laser" index="0" instance=ExtResource( 4 )]
|
|
|
|
position = Vector2( 0.575623, 2.26275 )
|
|
SPEED = 0
|
|
|
|
[node name="Forearm" type="RigidBody2D" parent="LeftArm" index="2"]
|
|
|
|
editor/display_folded = true
|
|
position = Vector2( 109, 125 )
|
|
rotation = -1.74696
|
|
scale = Vector2( 0.7, 0.7 )
|
|
z_index = -2
|
|
input_pickable = false
|
|
collision_layer = 1
|
|
collision_mask = 1
|
|
mode = 1
|
|
mass = 1.0
|
|
friction = 1.0
|
|
bounce = 0.0
|
|
gravity_scale = 0.0
|
|
custom_integrator = false
|
|
continuous_cd = 0
|
|
contacts_reported = 0
|
|
contact_monitor = false
|
|
sleeping = false
|
|
can_sleep = true
|
|
linear_velocity = Vector2( 0, 0 )
|
|
linear_damp = -1.0
|
|
angular_velocity = 0.0
|
|
angular_damp = -1.0
|
|
_sections_unfolded = [ "Transform", "Z Index" ]
|
|
|
|
[node name="Sprite" type="Sprite" parent="LeftArm/Forearm" index="0"]
|
|
|
|
position = Vector2( 2.44351, 136.022 )
|
|
scale = Vector2( 0.25, 0.25 )
|
|
texture = ExtResource( 5 )
|
|
_sections_unfolded = [ "Transform" ]
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="LeftArm/Forearm" index="1"]
|
|
|
|
position = Vector2( 4, 95 )
|
|
shape = SubResource( 1 )
|
|
|
|
[node name="UpperArm" type="RigidBody2D" parent="LeftArm" index="3"]
|
|
|
|
editor/display_folded = true
|
|
position = Vector2( 239.789, 33.2706 )
|
|
rotation = -6.68894
|
|
scale = Vector2( 0.8, 0.8 )
|
|
input_pickable = false
|
|
collision_layer = 1
|
|
collision_mask = 1
|
|
mode = 0
|
|
mass = 1.0
|
|
friction = 1.0
|
|
bounce = 0.0
|
|
gravity_scale = 0.0
|
|
custom_integrator = false
|
|
continuous_cd = 0
|
|
contacts_reported = 0
|
|
contact_monitor = false
|
|
sleeping = false
|
|
can_sleep = true
|
|
linear_velocity = Vector2( 0, 0 )
|
|
linear_damp = -1.0
|
|
angular_velocity = 0.0
|
|
angular_damp = -1.0
|
|
_sections_unfolded = [ "Transform", "Z Index" ]
|
|
__meta__ = {
|
|
"_edit_group_": true
|
|
}
|
|
|
|
[node name="Sprite" type="Sprite" parent="LeftArm/UpperArm" index="0"]
|
|
|
|
scale = Vector2( 0.26, 0.26 )
|
|
texture = ExtResource( 5 )
|
|
_sections_unfolded = [ "Transform" ]
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="LeftArm/UpperArm" index="1"]
|
|
|
|
position = Vector2( 0, -1 )
|
|
shape = SubResource( 2 )
|
|
|
|
[connection signal="dead" from="RightArm/Laser/BadLaser" to="." method="_on_RightBadLaser_dead"]
|
|
|
|
[connection signal="dead" from="LeftArm/Laser/BadLaser" to="." method="_on_LeftBadLaser_dead"]
|
|
|
|
|