[gd_scene load_steps=6 format=2] [ext_resource path="res://bullets/scenes/Laser.tscn" type="PackedScene" id=1] [ext_resource path="res://sprites/smallparticle.png" type="Texture" id=2] [sub_resource type="CanvasItemMaterial" id=17] [sub_resource type="SpriteFrames" id=18] animations = [ { "frames": [ ExtResource( 2 ) ], "loop": true, "name": "default", "speed": 5.0 } ] [sub_resource type="RectangleShape2D" id=16] resource_local_to_scene = true extents = Vector2( 1, 1 ) [node name="Flak" instance=ExtResource( 1 )] mass = 30.0 linear_velocity = Vector2( 15, 0 ) spreadmaxneg = -40 spreadmaxpos = 40 scalingrand = true maxscalingrand = 3 initial_velocity = 50 scale_glow = false [node name="Laser" parent="." index="0"] self_modulate = Color( 1, 1, 1, 0.811765 ) material = SubResource( 17 ) frames = SubResource( 18 ) [node name="Collision" parent="." index="1"] position = Vector2( 0, 0 ) shape = SubResource( 16 ) [node name="VisibilityNotifier2D" parent="." index="2"] visible = false [node name="Timer2" parent="." index="5"] wait_time = 2.0 one_shot = true autostart = true [connection signal="timeout" from="Timer2" to="." method="queue_free"]