Added something I think
This commit is contained in:
1 parent
a5ce3103f4
commit
ac0f7f1d08
18 files changed
+499
-24
No files matched your search
+25
-5
@@ -2,19 +2,39 @@
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://d0tvtt4eu8jmt" path="res://art/block/portal.png" id="1_eumkw"]
|
||||
[ext_resource type="Script" uid="uid://bjbxktiuqlh1f" path="res://teleporter.gd" id="1_tuehi"]
|
||||
[ext_resource type="Texture2D" uid="uid://55ihxa2emnep" path="res://art/block/portal2.png" id="3_ahrse"]
|
||||
[ext_resource type="Texture2D" uid="uid://d4a5x8gwhl2wc" path="res://art/block/portal3.png" id="4_cpfq8"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_eumkw"]
|
||||
size = Vector2(16, 16)
|
||||
[sub_resource type="SpriteFrames" id="SpriteFrames_tuehi"]
|
||||
animations = [{
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("1_eumkw")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("3_ahrse")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("4_cpfq8")
|
||||
}],
|
||||
"loop": 1,
|
||||
"name": &"default",
|
||||
"speed": 5.0
|
||||
}]
|
||||
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_7k7bx"]
|
||||
radius = 14.0
|
||||
|
||||
[node name="Teleporter" type="Node2D" unique_id=1201409437]
|
||||
script = ExtResource("1_tuehi")
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="." unique_id=1680278216]
|
||||
texture = ExtResource("1_eumkw")
|
||||
[node name="Sprite2D" type="AnimatedSprite2D" parent="." unique_id=395479262]
|
||||
sprite_frames = SubResource("SpriteFrames_tuehi")
|
||||
autoplay = "default"
|
||||
|
||||
[node name="Area2D" type="Area2D" parent="Sprite2D" unique_id=2050186824]
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Sprite2D/Area2D" unique_id=1560168165]
|
||||
shape = SubResource("RectangleShape2D_eumkw")
|
||||
shape = SubResource("CircleShape2D_7k7bx")
|
||||
|
||||
[connection signal="body_entered" from="Sprite2D/Area2D" to="." method="_on_contact"]
|
||||
Reference in new issue
Block a user