particles
parent
340e50d770
commit
898eaf659a
|
@ -15,5 +15,5 @@ void fragment(){
|
|||
|
||||
[resource]
|
||||
shader = SubResource( 3 )
|
||||
shader_param/active = true
|
||||
shader_param/color = Color( 1, 1, 1, 0 )
|
||||
shader_param/active = false
|
||||
shader_param/color = Color( 1, 1, 1, 1 )
|
||||
|
|
|
@ -15,7 +15,7 @@ script = ExtResource( 2 )
|
|||
use_parent_material = true
|
||||
frames = ExtResource( 1 )
|
||||
animation = "idle"
|
||||
frame = 1
|
||||
frame = 2
|
||||
playing = true
|
||||
centered = false
|
||||
|
||||
|
|
|
@ -92,6 +92,15 @@ position = Vector2( 509, 100 )
|
|||
[node name="Rat" parent="View/Enemies" instance=ExtResource( 17 )]
|
||||
position = Vector2( 93, 72 )
|
||||
|
||||
[node name="CPUParticles2D" type="CPUParticles2D" parent="View"]
|
||||
position = Vector2( 160, 90 )
|
||||
amount = 6
|
||||
lifetime = 3.0
|
||||
emission_shape = 2
|
||||
emission_rect_extents = Vector2( 160, 60 )
|
||||
gravity = Vector2( 0, -9 )
|
||||
color = Color( 0.133333, 0.133333, 0.137255, 1 )
|
||||
|
||||
[node name="UIWrapper" type="CanvasLayer" parent="."]
|
||||
layer = 3
|
||||
|
||||
|
|
Loading…
Reference in New Issue