Obstacle.tscn 372 B

1234567891011121314
  1. [gd_scene load_steps=3 format=2]
  2. [ext_resource path="res://obstacle.png" type="Texture" id=1]
  3. [sub_resource type="RectangleShape2D" id=1]
  4. extents = Vector2( 16, 16 )
  5. [node name="Obstacle" type="Area2D"]
  6. [node name="Sprite" type="Sprite" parent="."]
  7. texture = ExtResource( 1 )
  8. [node name="CollisionShape2D" type="CollisionShape2D" parent="."]
  9. shape = SubResource( 1 )