tile_scene.tscn 704 B

1234567891011121314151617181920212223
  1. [gd_scene load_steps=3 format=3 uid="uid://c5m3rogpaglk1"]
  2. [ext_resource type="Texture2D" uid="uid://bdomqql6y50po" path="res://brickfloor.png" id="1"]
  3. [sub_resource type="RectangleShape2D" id="1"]
  4. size = Vector2(48, 48)
  5. [node name="TileScene" type="Node2D"]
  6. [node name="Wall" type="Sprite2D" 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="Sprite2D" parent="."]
  14. position = Vector2(72, 24)
  15. texture = ExtResource("1")
  16. region_rect = Rect2(48, 0, 48, 48)