tile_scene.tscn 655 B

123456789101112131415161718192021222324
  1. [gd_scene load_steps=3 format=2]
  2. [ext_resource path="res://brickfloor.png" type="Texture" id=1]
  3. [sub_resource type="RectangleShape2D" id=1]
  4. extents = Vector2( 24, 24 )
  5. [node name="TileScene" type="Node2D"]
  6. [node name="Wall" type="Sprite" parent="."]
  7. position = Vector2( 24, 24 )
  8. texture = ExtResource( 1 )
  9. region_rect = Rect2( 0, 0, 48, 48 )
  10. [node name="StaticBody2D" type="StaticBody2D" parent="Wall"]
  11. [node name="CollisionShape2D" type="CollisionShape2D" parent="Wall/StaticBody2D"]
  12. shape = SubResource( 1 )
  13. [node name="Floor" type="Sprite" parent="."]
  14. position = Vector2( 72, 24 )
  15. texture = ExtResource( 1 )
  16. region_rect = Rect2( 48, 0, 48, 48 )