[gd_scene load_steps=9 format=2]

[ext_resource path="res://src/Hazards/Stomp.gd" type="Script" id=1]
[ext_resource path="res://assets/Tiles/stomp.png" type="Texture" id=2]

[sub_resource type="RectangleShape2D" id=1]
extents = Vector2( 7, 7 )

[sub_resource type="Gradient" id=3]
colors = PoolColorArray( 1, 1, 1, 0.168627, 1, 1, 1, 0 )

[sub_resource type="GradientTexture" id=4]
gradient = SubResource( 3 )

[sub_resource type="Curve" id=5]
_data = [ Vector2( 0, 1 ), 0.0, 0.0, 0, 0, Vector2( 1, 0.30388 ), 0.0, 0.0, 0, 0 ]

[sub_resource type="CurveTexture" id=6]
curve = SubResource( 5 )

[sub_resource type="ParticlesMaterial" id=2]
flag_disable_z = true
gravity = Vector3( 0, 0, 0 )
orbit_velocity = 0.0
orbit_velocity_random = 0.0
scale_curve = SubResource( 6 )
color_ramp = SubResource( 4 )

[node name="Stomp" type="Node2D"]
light_mask = 8
script = ExtResource( 1 )

[node name="Sprite" type="Sprite" parent="."]
texture = ExtResource( 2 )

[node name="DeathZone" type="Area2D" parent="Sprite"]
position = Vector2( 0, 2 )
collision_layer = 4

[node name="CollisionShape2D" type="CollisionShape2D" parent="Sprite/DeathZone"]
position = Vector2( 0, -2 )
shape = SubResource( 1 )

[node name="Particles2D" type="Particles2D" parent="Sprite"]
show_behind_parent = true
light_mask = 0
amount = 12
lifetime = 0.2
local_coords = false
process_material = SubResource( 2 )
texture = ExtResource( 2 )

[node name="Tween" type="Tween" parent="."]
repeat = true
playback_process_mode = 0
playback/repeat = true
[connection signal="body_entered" from="Sprite/DeathZone" to="." method="_on_DeathZone_body_entered"]
