Added PlasmaProjectile particles
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
[gd_scene load_steps=26 format=3 uid="uid://dyebeblayioji"]
|
||||
[gd_scene load_steps=25 format=3 uid="uid://dyebeblayioji"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://1o2ta17yc5bp" path="res://game/entities/weapons/abstract_weapon.tscn" id="1_rpud7"]
|
||||
[ext_resource type="PackedScene" uid="uid://bi64687wtxi4d" path="res://game/entities/weapons/tesla/tesla_projectile.tscn" id="2_1rrdy"]
|
||||
[ext_resource type="Script" uid="uid://ctv408wdwvttc" path="res://game/entities/weapons/tesla/tesla_weapon.gd" id="2_08si3"]
|
||||
[ext_resource type="Texture2D" uid="uid://dedca1d30igae" path="res://particle_textures/energy.tres" id="5_dhfvk"]
|
||||
[ext_resource type="Texture2D" uid="uid://6hh66k8s4a1e" path="res://images/weapons.png" id="7_ub67s"]
|
||||
|
||||
[sub_resource type="PlaceholderTexture2D" id="PlaceholderTexture2D_dra6h"]
|
||||
@@ -133,18 +134,11 @@ animations = [{
|
||||
"speed": 10.0
|
||||
}]
|
||||
|
||||
[sub_resource type="Gradient" id="Gradient_ub67s"]
|
||||
colors = PackedColorArray(0.4509804, 0.9372549, 0.96862745, 1, 0.25490198, 0.6509804, 0.9647059, 1)
|
||||
|
||||
[sub_resource type="GradientTexture1D" id="GradientTexture1D_ucdpq"]
|
||||
gradient = SubResource("Gradient_ub67s")
|
||||
width = 2
|
||||
|
||||
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_ifsj2"]
|
||||
lifetime_randomness = 0.5
|
||||
particle_flag_disable_z = true
|
||||
angle_min = 1.0728835e-05
|
||||
angle_max = 360.00003
|
||||
angle_min = -179.99998
|
||||
angle_max = 180.00002
|
||||
inherit_velocity_ratio = 0.5
|
||||
spread = 180.0
|
||||
initial_velocity_min = 15.0
|
||||
@@ -165,7 +159,7 @@ animation = &"player_idle"
|
||||
|
||||
[node name="GPUParticles2D" type="GPUParticles2D" parent="." index="2"]
|
||||
amount = 16
|
||||
texture = SubResource("GradientTexture1D_ucdpq")
|
||||
texture = ExtResource("5_dhfvk")
|
||||
lifetime = 0.1
|
||||
fixed_fps = 10
|
||||
process_material = SubResource("ParticleProcessMaterial_ifsj2")
|
||||
|
||||
Reference in New Issue
Block a user