[gd_scene load_steps=9 format=3 uid="uid://mjt8xj8k28vi"] [ext_resource type="PackedScene" uid="uid://def1alrel4ioo" path="res://game/entities/weapons/laser/abstract_laser_weapon.tscn" id="1_wwqbk"] [ext_resource type="Script" uid="uid://bckua73myf5v7" path="res://game/entities/weapons/laser/enemy_laser_weapon.gd" id="2_preya"] [ext_resource type="Texture2D" uid="uid://6hh66k8s4a1e" path="res://images/ships/weapons.png" id="4_a3m6t"] [sub_resource type="AtlasTexture" id="AtlasTexture_dggsl"] atlas = ExtResource("4_a3m6t") region = Rect2(128, 80, 32, 16) [sub_resource type="AtlasTexture" id="AtlasTexture_gbu7x"] atlas = ExtResource("4_a3m6t") region = Rect2(160, 80, 32, 16) [sub_resource type="AtlasTexture" id="AtlasTexture_2prsi"] atlas = ExtResource("4_a3m6t") region = Rect2(192, 80, 32, 16) [sub_resource type="AtlasTexture" id="AtlasTexture_jgejx"] atlas = ExtResource("4_a3m6t") region = Rect2(224, 80, 32, 16) [sub_resource type="SpriteFrames" id="SpriteFrames_ga5wd"] animations = [{ "frames": [{ "duration": 1.0, "texture": SubResource("AtlasTexture_dggsl") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_gbu7x") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_2prsi") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_jgejx") }], "loop": true, "name": &"shot", "speed": 10.0 }] [node name="EnemyLaserWeapon" instance=ExtResource("1_wwqbk")] script = ExtResource("2_preya") [node name="AnimatedSprite2D" parent="." index="1"] position = Vector2(-3, 0) sprite_frames = SubResource("SpriteFrames_ga5wd") animation = &"shot" [node name="Muzzle" parent="." index="3"] position = Vector2(-5, 0) [node name="RayCast2D" parent="." index="4"] target_position = Vector2(-1000, 0) collision_mask = 2