Fronter/Bad1.tscn

76 lines
1.7 KiB
Plaintext
Raw Permalink Normal View History

[gd_scene load_steps=7 format=2]
[ext_resource path="res://Bad1.gd" type="Script" id=1]
[ext_resource path="res://Laser.tscn" type="PackedScene" id=2]
[ext_resource path="res://art/bad/bad1/bad1.png" type="Texture" id=3]
[ext_resource path="res://art/bad/bad1/bad1_hit.png" type="Texture" id=4]
[sub_resource type="SpriteFrames" id=1]
animations = [ {
"frames": [ ExtResource( 3 ), ExtResource( 4 ) ],
"loop": true,
"name": "default",
"speed": 5.0
} ]
[sub_resource type="CircleShape2D" id=2]
custom_solver_bias = 0.0
radius = 171.26
[node name="Bad1" type="Area2D" groups=[
"enemies",
]]
position = Vector2( 947.34, 293.528 )
scale = Vector2( 0.15, 0.15 )
z_index = -1
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", "Z Index" ]
SPEED = 50
Laser = ExtResource( 2 )
[node name="BlinkTimer" type="Timer" parent="." index="0"]
process_mode = 1
wait_time = 1.0
one_shot = false
autostart = false
[node name="AnimatedSprite" type="AnimatedSprite" parent="." index="1"]
frames = SubResource( 1 )
animation = "default"
[node name="CollisionShape2D" type="CollisionShape2D" parent="." index="2"]
shape = SubResource( 2 )
[node name="Line2D" type="Line2D" parent="." index="3"]
position = Vector2( 9.15527e-05, 33.3334 )
points = PoolVector2Array( -157, -273, 143, -273 )
width = 12.0
default_color = Color( 0, 1, 0.0390625, 1 )
texture_mode = 31
joint_mode = 2
begin_cap_mode = 2
end_cap_mode = 2
sharp_limit = 2.0
round_precision = 8
_sections_unfolded = [ "Capping" ]
[connection signal="body_entered" from="." to="." method="_on_Bad1_body_entered"]