[gd_scene load_steps=5 format=3 uid="uid://dx1urm7nttkqk"]

[ext_resource type="Script" uid="uid://bbkajn7n68f8a" path="res://Scripts/Activables/LevelTeleporter.cs" id="1_x8wue"]
[ext_resource type="SpriteFrames" uid="uid://w4jlaryen3we" path="res://Resources/Sprites/teleporter.tres" id="2_6iciv"]

[sub_resource type="CircleShape2D" id="CircleShape2D_kwj8m"]
radius = 4.12311

[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_we5sc"]
particle_flag_disable_z = true
emission_shape = 2
emission_sphere_radius = 8.85
orbit_velocity_min = -0.2
orbit_velocity_max = 0.2
gravity = Vector3(0, -98, 0)
color = Color(0.207843, 0.360784, 1, 1)

[node name="LevelTeleporter" type="Area2D"]
collision_mask = 2
script = ExtResource("1_x8wue")

[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("CircleShape2D_kwj8m")

[node name="ParticleSprite" type="AnimatedSprite2D" parent="."]
visible = false
position = Vector2(0, -9)
sprite_frames = ExtResource("2_6iciv")
animation = &"Teleporting"

[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
sprite_frames = ExtResource("2_6iciv")
animation = &"Default"
frame_progress = 0.462812

[node name="Particles" type="GPUParticles2D" parent="."]
z_index = 2
emitting = false
amount = 50
lifetime = 0.8
process_material = SubResource("ParticleProcessMaterial_we5sc")

[connection signal="area_entered" from="." to="." method="_on_area_entered"]
