godot-mota/scenes/Door.tscn

22 lines
689 B
Plaintext

[gd_scene load_steps=5 format=2]
[ext_resource path="res://images/mota.png" type="Texture" id=1]
[ext_resource path="res://scripts/DoorSprite.gd" type="Script" id=2]
[ext_resource path="res://scripts/DoorStaticBody2D.gd" type="Script" id=3]
[sub_resource type="RectangleShape2D" id=1]
extents = Vector2( 16, 16 )
[node name="DoorSprite" type="Sprite"]
position = Vector2( 304, 208 )
texture = ExtResource( 1 )
region_enabled = true
region_rect = Rect2( 192, 480, 32, 32 )
script = ExtResource( 2 )
[node name="StaticBody2D" type="StaticBody2D" parent="."]
script = ExtResource( 3 )
[node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D"]
shape = SubResource( 1 )