1
0
Fork 0
1bit-godot-course/metroidvania/Levels/Door.tscn

24 lines
634 B
Plaintext
Raw Normal View History

2021-05-20 21:14:20 +00:00
[gd_scene load_steps=4 format=2]
[ext_resource path="res://Assets/World/Door.png" type="Texture" id=1]
[ext_resource path="res://Levels/Door.gd" type="Script" id=2]
[sub_resource type="RectangleShape2D" id=1]
extents = Vector2( 8, 16 )
[node name="Door" type="Area2D" groups=[
"Door",
]]
collision_layer = 0
script = ExtResource( 2 )
[node name="Collider" type="CollisionShape2D" parent="."]
2021-05-22 06:44:00 +00:00
position = Vector2( 16, 0 )
2021-05-20 21:14:20 +00:00
shape = SubResource( 1 )
[node name="Sprite" type="Sprite" parent="."]
2021-05-22 06:44:00 +00:00
position = Vector2( 10, 0 )
2021-05-20 21:14:20 +00:00
texture = ExtResource( 1 )
[connection signal="body_entered" from="." to="." method="_on_Door_body_entered"]