44 lines
1.6 KiB
Plaintext
44 lines
1.6 KiB
Plaintext
[gd_scene load_steps=8 format=3 uid="uid://cmni0xrbbfcy5"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://cdv5n4t47hr8i" path="res://game/entities/weapons/abstract_direct_hit_projectile.tscn" id="1_3a8fg"]
|
|
[ext_resource type="Script" uid="uid://bdxq4aflhc8vd" path="res://game/entities/weapons/laser/abstract_laser_projectile.gd" id="2_je1a2"]
|
|
[ext_resource type="Script" uid="uid://c27v705giygv4" path="res://game/data/damage/energy_damage.gd" id="3_ylokk"]
|
|
[ext_resource type="Texture2D" uid="uid://dk3t14mrgjmma" path="res://particle_textures/energy_medium.tres" id="4_bytws"]
|
|
|
|
[sub_resource type="Resource" id="Resource_bytws"]
|
|
script = ExtResource("3_ylokk")
|
|
value = 2
|
|
metadata/_custom_type_script = "uid://c27v705giygv4"
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_ylokk"]
|
|
radius = 1.0
|
|
|
|
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_7dd03"]
|
|
resource_local_to_scene = true
|
|
particle_flag_disable_z = true
|
|
emission_shape = 3
|
|
emission_box_extents = Vector3(8, 0, 1)
|
|
angle_min = -179.99998
|
|
angle_max = 180.00002
|
|
inherit_velocity_ratio = 1.0
|
|
direction = Vector3(0, 0, 0)
|
|
spread = 0.0
|
|
gravity = Vector3(0, 0, 0)
|
|
|
|
[node name="AbstractLaserProjectile" instance=ExtResource("1_3a8fg")]
|
|
collision_layer = 0
|
|
collision_mask = 0
|
|
script = ExtResource("2_je1a2")
|
|
damage = SubResource("Resource_bytws")
|
|
speed = 500
|
|
|
|
[node name="CollisionShape2D" parent="." index="0"]
|
|
shape = SubResource("CircleShape2D_ylokk")
|
|
|
|
[node name="GPUParticles2D" type="GPUParticles2D" parent="." index="2"]
|
|
amount = 16
|
|
texture = ExtResource("4_bytws")
|
|
lifetime = 0.09999999999999999
|
|
fixed_fps = 20
|
|
process_material = SubResource("ParticleProcessMaterial_7dd03")
|