[gd_scene load_steps=5 format=2] [ext_resource path="res://Data/Scripts/Pusher.gd" type="Script" id=1] [ext_resource path="res://Data/Objects/PulseArrow.tscn" type="PackedScene" id=2] [sub_resource type="ParticlesMaterial" id=1] resource_local_to_scene = true emission_shape = 2 emission_box_extents = Vector3( 40, 1, 1 ) flag_disable_z = true direction = Vector3( 0, -1, 0 ) spread = 0.0 gravity = Vector3( 0, 0, 0 ) initial_velocity = 80.0 orbit_velocity = 0.0 orbit_velocity_random = 0.0 angle = 45.0 angle_random = 0.25 scale = 1.5 scale_random = 0.5 color = Color( 0.239216, 0.478431, 0.988235, 1 ) [sub_resource type="RectangleShape2D" id=2] extents = Vector2( 40, 40 ) [node name="Pusher" type="Node2D"] script = ExtResource( 1 ) [node name="Body" type="Position2D" parent="."] [node name="PulseArrow1" parent="Body" instance=ExtResource( 2 )] position = Vector2( -18, -18.0497 ) scale = Vector2( 0.1, 0.1 ) pulse_color = Color( 1, 1, 1, 1 ) [node name="PulseArrow2" parent="Body" instance=ExtResource( 2 )] position = Vector2( -18, -4.04972 ) scale = Vector2( 0.1, 0.1 ) pulse_color = Color( 1, 1, 1, 1 ) [node name="PulseArrow3" parent="Body" instance=ExtResource( 2 )] position = Vector2( -18, 9.95028 ) scale = Vector2( 0.1, 0.1 ) pulse_color = Color( 1, 1, 1, 1 ) [node name="PulseArrow6" parent="Body" instance=ExtResource( 2 )] position = Vector2( 18, -18.0497 ) scale = Vector2( 0.1, 0.1 ) pulse_color = Color( 1, 1, 1, 1 ) [node name="PulseArrow5" parent="Body" instance=ExtResource( 2 )] position = Vector2( 18, -4.04972 ) scale = Vector2( 0.1, 0.1 ) pulse_color = Color( 1, 1, 1, 1 ) [node name="PulseArrow4" parent="Body" instance=ExtResource( 2 )] position = Vector2( 18, 9.95028 ) scale = Vector2( 0.1, 0.1 ) pulse_color = Color( 1, 1, 1, 1 ) [node name="Particles" type="Particles2D" parent="Body"] position = Vector2( 0, 40.5267 ) amount = 20 process_material = SubResource( 1 ) [node name="Area2D" type="Area2D" parent="Body"] visible = false [node name="CollisionShape2D" type="CollisionShape2D" parent="Body/Area2D"] shape = SubResource( 2 ) [connection signal="body_entered" from="Body/Area2D" to="." method="_on_Area2D_body_entered"] [connection signal="body_exited" from="Body/Area2D" to="." method="_on_Area2D_body_exited"]