[gd_scene load_steps=7 format=3 uid="uid://bvri0nv1jrigf"] [ext_resource type="PackedScene" uid="uid://crtdkysmnkith" path="res://components/Abstracts/BulletBase.tscn" id="1_3u4op"] [ext_resource type="Shader" path="res://shaders/Laser.gdshader" id="2_h6cxi"] [ext_resource type="Script" path="res://scripts/Contents/Bullets/Laser.gd" id="2_yy5sr"] [sub_resource type="SpriteFrames" id="SpriteFrames_yip5k"] [sub_resource type="ShaderMaterial" id="ShaderMaterial_5n8cv"] shader = ExtResource("2_h6cxi") shader_parameter/color = Color(0.654902, 1, 1, 1) shader_parameter/laser_width = 0.01 shader_parameter/soft_edge = 0.5 [sub_resource type="CapsuleShape2D" id="CapsuleShape2D_y85id"] height = 300.0 [node name="Laser" instance=ExtResource("1_3u4op")] script = ExtResource("2_yy5sr") fields = { 0: 10, 1: 15, 2: 1 } lifeTime = 1000.0 [node name="texture" parent="." index="0"] rotation = 1.5708 sprite_frames = SubResource("SpriteFrames_yip5k") [node name="rect" type="ColorRect" parent="texture" index="0"] material = SubResource("ShaderMaterial_5n8cv") offset_left = -10.0 offset_top = -300.0 offset_right = 10.0 [node name="hitbox" parent="." index="1"] position = Vector2(150, 0) rotation = 1.5708 shape = SubResource("CapsuleShape2D_y85id")