[gd_scene load_steps=6 format=2] [ext_resource path="res://Laser.gd" type="Script" id=1] [ext_resource path="res://art/laser/laser1.png" type="Texture" id=2] [ext_resource path="res://art/laser/laser2.png" type="Texture" id=3] [sub_resource type="CapsuleShape2D" id=1] custom_solver_bias = 0.0 radius = 5.39465 height = 0.325962 [sub_resource type="SpriteFrames" id=2] animations = [ { "frames": [ ExtResource( 2 ), ExtResource( 3 ) ], "loop": true, "name": "default", "speed": 20.0 } ] [node name="Laser" type="Area2D" index="0"] input_pickable = true gravity_vec = Vector2( 0, 1 ) gravity = 98.0 linear_damp = 0.1 angular_damp = 1.0 collision_layer = 7 collision_mask = 7 audio_bus_override = false audio_bus_name = "Master" script = ExtResource( 1 ) _sections_unfolded = [ "Collision", "Z Index" ] SPEED = 1200 DAMAGE = 10 [node name="CollisionShape2D" type="CollisionShape2D" parent="." index="0"] position = Vector2( 28, -5 ) rotation = 1.5708 shape = SubResource( 1 ) _sections_unfolded = [ "Transform", "Z Index" ] __meta__ = { "_edit_group_": true } [node name="AnimatedSprite" type="AnimatedSprite" parent="." index="1"] position = Vector2( -1.90735e-06, 0 ) scale = Vector2( 0.1, 0.2 ) frames = SubResource( 2 ) animation = "default" _sections_unfolded = [ "Material", "Transform", "Visibility" ]