Reworked lightning effect
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://1o2ta17yc5bp" path="res://game/entities/weapons/abstract_weapon.tscn" id="1_rpud7"]
|
||||
[ext_resource type="Script" uid="uid://ctv408wdwvttc" path="res://game/entities/weapons/tesla/abstract_tesla_weapon.gd" id="2_08si3"]
|
||||
[ext_resource type="Texture2D" uid="uid://c6aixtu6lbfud" path="res://particle_textures/energy_small.tres" id="5_dhfvk"]
|
||||
[ext_resource type="Texture2D" uid="uid://dk3t14mrgjmma" path="res://particle_textures/energy_medium.tres" id="4_2dxgo"]
|
||||
[ext_resource type="Texture2D" uid="uid://6hh66k8s4a1e" path="res://images/weapons.png" id="7_ub67s"]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_ucdpq"]
|
||||
@@ -133,6 +133,8 @@ animations = [{
|
||||
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_ifsj2"]
|
||||
lifetime_randomness = 0.5
|
||||
particle_flag_disable_z = true
|
||||
emission_shape = 1
|
||||
emission_sphere_radius = 6.03
|
||||
angle_min = -179.99998
|
||||
angle_max = 180.00002
|
||||
inherit_velocity_ratio = 0.5
|
||||
@@ -152,8 +154,8 @@ animation = &"player_idle"
|
||||
|
||||
[node name="GPUParticles2D" type="GPUParticles2D" parent="." index="1"]
|
||||
amount = 16
|
||||
texture = ExtResource("5_dhfvk")
|
||||
lifetime = 0.1
|
||||
texture = ExtResource("4_2dxgo")
|
||||
lifetime = 0.2
|
||||
fixed_fps = 10
|
||||
process_material = SubResource("ParticleProcessMaterial_ifsj2")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user