mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-21 03:23:47 +00:00
Grazing particles and sound
This commit is contained in:
parent
66fbda2b2b
commit
847d33ad4e
14 changed files with 246 additions and 134 deletions
|
|
@ -10,14 +10,9 @@ BulletScene = ExtResource("1_8m7mi")
|
|||
BulletSprite = ExtResource("2_p44mg")
|
||||
BulletSize = 0.08
|
||||
BulletSpeed = 2.5
|
||||
Direction = Vector2(1, 0)
|
||||
BulletDamage = 20.0
|
||||
MaxDamage = 1.0
|
||||
Knockback = 1.0
|
||||
LifeTime = 20.0
|
||||
Owner = 2
|
||||
DamageType = 0
|
||||
GrazeValue = 0.2
|
||||
Attributes = 98
|
||||
TimeModifiers = null
|
||||
TimeModifiers = []
|
||||
metadata/_custom_type_script = "uid://dslyrfcej3g2n"
|
||||
|
|
|
|||
|
|
@ -1,22 +1,17 @@
|
|||
[gd_resource type="Resource" script_class="BulletResource" load_steps=4 format=3 uid="uid://qrqsywgiij7i"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://c133312rx63ps" path="res://Scenes/Weapons/base_enemy_bullet_3D_small.tscn" id="1_pm333"]
|
||||
[ext_resource type="PackedScene" uid="uid://d28e1t2c0lwbp" path="res://Scenes/Weapons/base_enemy_bullet_3D.tscn" id="1_wf025"]
|
||||
[ext_resource type="Script" uid="uid://dslyrfcej3g2n" path="res://Scripts/Resources/BulletResource.cs" id="2_4bl80"]
|
||||
[ext_resource type="Texture2D" uid="uid://bdyd0bht18n47" path="res://Sprites/EnemyProjectile.png" id="2_e1tuw"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("2_4bl80")
|
||||
BulletScene = ExtResource("1_pm333")
|
||||
BulletScene = ExtResource("1_wf025")
|
||||
BulletSprite = ExtResource("2_e1tuw")
|
||||
BulletSize = 0.08
|
||||
BulletSpeed = 2.5
|
||||
Direction = Vector2(1, 0)
|
||||
BulletDamage = 8.0
|
||||
MaxDamage = 1.0
|
||||
Knockback = 1.0
|
||||
LifeTime = 10.0
|
||||
Owner = 2
|
||||
DamageType = 0
|
||||
GrazeValue = 1.0
|
||||
Attributes = 290
|
||||
TimeModifiers = []
|
||||
|
|
|
|||
|
|
@ -7,18 +7,8 @@
|
|||
script = ExtResource("1_o3tyw")
|
||||
BulletScene = ExtResource("1_vsj6i")
|
||||
BulletSpeed = 60.0
|
||||
Direction = Vector2(1, 0)
|
||||
BulletDamage = 12.0
|
||||
MaxDamage = 1.0
|
||||
Knockback = 1.0
|
||||
LifeTime = 10.0
|
||||
DestroyOnCollision = true
|
||||
Owner = 2
|
||||
DamageType = 0
|
||||
RotateSprite = false
|
||||
Controllable = false
|
||||
Freezable = true
|
||||
Grazeable = true
|
||||
GrazeValue = 1.0
|
||||
Attributes = 290
|
||||
TimeModifiers = []
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ resource_local_to_scene = true
|
|||
render_priority = 0
|
||||
shader = ExtResource("1_s52cn")
|
||||
shader_parameter/tex = SubResource("AtlasTexture_h5qtm")
|
||||
shader_parameter/blink_color = Color(0.954799, 0.00675169, 0, 1)
|
||||
shader_parameter/blink_color = Color(0.9529412, 0.007843138, 0, 1)
|
||||
shader_parameter/blink_intensity = 0.0
|
||||
shader_parameter/teleport_progress = 0.0
|
||||
shader_parameter/scanline_density = 0.0
|
||||
|
|
|
|||
7
Resources/Particles/graze_particle.tres
Normal file
7
Resources/Particles/graze_particle.tres
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
[gd_resource type="ParticleProcessMaterial" format=3 uid="uid://k221i4n2f67e"]
|
||||
|
||||
[resource]
|
||||
particle_flag_disable_z = true
|
||||
spread = 180.0
|
||||
initial_velocity_max = 73.59
|
||||
gravity = Vector3(0, 0, 0)
|
||||
10
Resources/Particles/graze_particle_3D.tres
Normal file
10
Resources/Particles/graze_particle_3D.tres
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
[gd_resource type="ParticleProcessMaterial" format=3 uid="uid://ogkwkokxevat"]
|
||||
|
||||
[resource]
|
||||
angle_min = -294.4
|
||||
angle_max = 124.10001
|
||||
spread = 180.0
|
||||
initial_velocity_min = 4.0
|
||||
initial_velocity_max = 4.0
|
||||
gravity = Vector3(0, 0, 0)
|
||||
color = Color(0.45030138, 0.73216647, 1.3569999, 1)
|
||||
Loading…
Add table
Add a link
Reference in a new issue