44 lines
1.6 KiB
Plaintext
44 lines
1.6 KiB
Plaintext
[gd_scene load_steps=8 format=3 uid="uid://cgvb0hjrl5h4s"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://cdv5n4t47hr8i" path="res://game/entities/weapons/direct_hit__projectile.tscn" id="1_x58hw"]
|
|
[ext_resource type="Script" uid="uid://bu5sjoh4hwkhn" path="res://game/entities/weapons/plasma/plasma_projectile.gd" id="2_0deih"]
|
|
[ext_resource type="Script" uid="uid://c27v705giygv4" path="res://game/health_system/damage/energy_damage.gd" id="3_dlvdm"]
|
|
[ext_resource type="Texture2D" uid="uid://dedca1d30igae" path="res://particle_textures/energy.tres" id="4_5enq5"]
|
|
|
|
[sub_resource type="Resource" id="Resource_5enq5"]
|
|
script = ExtResource("3_dlvdm")
|
|
value = 20
|
|
metadata/_custom_type_script = "uid://c27v705giygv4"
|
|
|
|
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_5enq5"]
|
|
radius = 1.0
|
|
height = 4.0
|
|
|
|
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_etxcw"]
|
|
lifetime_randomness = 0.5
|
|
particle_flag_disable_z = true
|
|
emission_shape = 1
|
|
emission_sphere_radius = 2.0
|
|
angle_min = -179.99998
|
|
angle_max = 180.00002
|
|
inherit_velocity_ratio = 0.5
|
|
gravity = Vector3(0, 0, 0)
|
|
|
|
[node name="PlasmaProjectile" instance=ExtResource("1_x58hw")]
|
|
collision_layer = 0
|
|
collision_mask = 0
|
|
script = ExtResource("2_0deih")
|
|
damage = SubResource("Resource_5enq5")
|
|
speed = 450
|
|
|
|
[node name="CollisionShape2D" parent="." index="0"]
|
|
shape = SubResource("CapsuleShape2D_5enq5")
|
|
debug_color = Color(0.98039216, 0, 0.39215687, 1)
|
|
|
|
[node name="GPUParticles2D" type="GPUParticles2D" parent="." index="2"]
|
|
amount = 64
|
|
texture = ExtResource("4_5enq5")
|
|
lifetime = 0.2
|
|
preprocess = 0.1
|
|
process_material = SubResource("ParticleProcessMaterial_etxcw")
|