Smoke effect and animations revamp
This commit is contained in:
parent
d752dd17dc
commit
4c3e35d1fc
20 changed files with 106 additions and 29 deletions
|
|
@ -1,7 +1,7 @@
|
|||
extends WeaponState
|
||||
|
||||
func _enter() -> void:
|
||||
machine.animation_player.play(machine.animation_prefix +"idle")
|
||||
machine.play("idle")
|
||||
|
||||
func _exit() -> void:
|
||||
pass
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ extends WeaponState
|
|||
@export var emptyable: bool
|
||||
|
||||
func _enter() -> void:
|
||||
machine.animation_player.play(machine.animation_prefix + "intro")
|
||||
machine.play("intro")
|
||||
machine.animation_player.animation_finished.connect(on_animation_finished)
|
||||
|
||||
func _exit() -> void:
|
||||
|
|
|
|||
|
|
@ -93,8 +93,12 @@ curve = SubResource("Curve_wpp30")
|
|||
|
||||
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_hr7p8"]
|
||||
resource_local_to_scene = true
|
||||
emission_shape = 3
|
||||
emission_box_extents = Vector3(3.75, 0, 3.75)
|
||||
emission_shape = 6
|
||||
emission_ring_axis = Vector3(0, 1, 0)
|
||||
emission_ring_height = 0.0
|
||||
emission_ring_radius = 3.5
|
||||
emission_ring_inner_radius = 1.0
|
||||
emission_ring_cone_angle = 90.0
|
||||
direction = Vector3(0, 1, 0)
|
||||
spread = 0.0
|
||||
initial_velocity_min = 1.0
|
||||
|
|
@ -116,6 +120,7 @@ vertex_color_is_srgb = true
|
|||
albedo_texture = ExtResource("7_18xly")
|
||||
texture_filter = 0
|
||||
billboard_mode = 3
|
||||
billboard_keep_scale = true
|
||||
particles_anim_h_frames = 1
|
||||
particles_anim_v_frames = 1
|
||||
particles_anim_loop = false
|
||||
|
|
@ -131,7 +136,7 @@ colors = PackedColorArray(1, 1, 1, 1, 1, 0, 0, 1)
|
|||
gradient = SubResource("Gradient_wpp30")
|
||||
|
||||
[sub_resource type="Curve" id="Curve_bt4sy"]
|
||||
_data = [Vector2(0, 1), 0.0, 0.0, 0, 0, Vector2(0.7422681, 1), 0.0, 0.0, 0, 0, Vector2(1, 0), 0.0, 0.0, 0, 0]
|
||||
_data = [Vector2(0, 1), 0.0, 0.0, 0, 0, Vector2(0.47435898, 1), 0.0, 0.0, 0, 0, Vector2(1, 0), 0.0, 0.0, 0, 0]
|
||||
point_count = 3
|
||||
|
||||
[sub_resource type="CurveTexture" id="CurveTexture_m625o"]
|
||||
|
|
@ -155,6 +160,7 @@ vertex_color_is_srgb = true
|
|||
albedo_texture = ExtResource("7_18xly")
|
||||
texture_filter = 0
|
||||
billboard_mode = 3
|
||||
billboard_keep_scale = true
|
||||
particles_anim_h_frames = 1
|
||||
particles_anim_v_frames = 1
|
||||
particles_anim_loop = false
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue