blob: 7c9ee7f4751c235e12bb34fcb3b2568198b7359d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
[gd_scene load_steps=5 format=3 uid="uid://cv64e7fpdi2a2"]
[ext_resource type="Script" path="res://Scenes/Components/Teleport.gd" id="1_ygag4"]
[ext_resource type="Texture2D" uid="uid://bxl3lqlm22eem" path="res://Assets/Stages/core_outdoor.png" id="2_xm2l1"]
[sub_resource type="CircleShape2D" id="CircleShape2D_62iqj"]
radius = 8.0
[sub_resource type="CircleShape2D" id="CircleShape2D_jkjyl"]
radius = 8.0
[node name="Teleport" type="Node2D"]
script = ExtResource("1_ygag4")
[node name="Enter" type="Area2D" parent="."]
collision_mask = 2
[node name="CollisionShape2D" type="CollisionShape2D" parent="Enter"]
shape = SubResource("CircleShape2D_62iqj")
[node name="Leave" type="Area2D" parent="."]
collision_mask = 2
[node name="CollisionShape2D" type="CollisionShape2D" parent="Leave"]
shape = SubResource("CircleShape2D_jkjyl")
[node name="Sprite2D" type="Sprite2D" parent="."]
texture_filter = 1
texture = ExtResource("2_xm2l1")
region_enabled = true
region_rect = Rect2(448.349, 464.431, 15, 16)
[connection signal="body_entered" from="Enter" to="." method="_on_body_entered"]
|