godot-plateformer/_props/_prefabs/door.tscn

20 lines
686 B
Plaintext
Raw Normal View History

[gd_scene load_steps=4 format=3 uid="uid://5ia817pm76x1"]
[ext_resource type="Script" uid="uid://byntg0bbp8nar" path="res://_props/_prefabs/door.gd" id="1_gt1uq"]
[ext_resource type="Texture2D" uid="uid://c673bap4b12fx" path="res://icon.svg" id="2_f05xd"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_g1m3x"]
size = Vector2(20, 128)
[node name="Door" type="AnimatableBody2D"]
2026-01-02 18:37:09 +08:00
collision_layer = 4
collision_mask = 0
script = ExtResource("1_gt1uq")
[node name="Sprite2D" type="Sprite2D" parent="."]
scale = Vector2(0.16, 1)
texture = ExtResource("2_f05xd")
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("RectangleShape2D_g1m3x")