tileset_edit.tscn 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. [gd_scene load_steps=3 format=2]
  2. [ext_resource path="res://tileset/isotiles.png" type="Texture2D" id=1]
  3. [sub_resource type="OccluderPolygon2D" id=2]
  4. polygon = PackedVector2Array( 0, -100, -67, -68, -66, 0, -1, 33, 66, -2, 64, -67 )
  5. [node name="TilesetEdit" type="Node2D"]
  6. [node name="Base" type="Sprite2D" parent="."]
  7. texture = ExtResource( 1 )
  8. region_enabled = true
  9. region_rect = Rect2( 28, 75, 135, 105 )
  10. [node name="Base2" type="Sprite2D" parent="."]
  11. position = Vector2( 200, 0 )
  12. texture = ExtResource( 1 )
  13. region_enabled = true
  14. region_rect = Rect2( 221, 75, 135, 105 )
  15. [node name="Wall" type="Sprite2D" parent="."]
  16. position = Vector2( 400, 0 )
  17. texture = ExtResource( 1 )
  18. offset = Vector2( 0, -32 )
  19. region_enabled = true
  20. region_rect = Rect2( 28, 220, 140, 140 )
  21. [node name="StaticBody2D" type="StaticBody2D" parent="Wall"]
  22. [node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Wall/StaticBody2D"]
  23. polygon = PackedVector2Array( -64, 0, 0, 32, 64, 0, 0, -32 )
  24. [node name="LightOccluder2D" type="LightOccluder2D" parent="Wall"]
  25. visible = false
  26. occluder = SubResource( 2 )
  27. [node name="Column" type="Sprite2D" parent="."]
  28. position = Vector2( 600, 0 )
  29. texture = ExtResource( 1 )
  30. offset = Vector2( 0, -32 )
  31. region_enabled = true
  32. region_rect = Rect2( 259, 241, 55, 95 )
  33. [node name="StaticBody2D" type="StaticBody2D" parent="Column"]
  34. [node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Column/StaticBody2D"]
  35. position = Vector2( 2, 0 )
  36. polygon = PackedVector2Array( -27, 7, -14, 20, 16, 20, 28, 4, 24, -12, 10, -22, -10, -22, -24, -12 )
  37. [node name="Door1" type="Sprite2D" parent="."]
  38. position = Vector2( 800, 0 )
  39. texture = ExtResource( 1 )
  40. offset = Vector2( 0, -25 )
  41. region_enabled = true
  42. region_rect = Rect2( 54, 426, 85, 110 )
  43. [node name="StaticBody2D" type="StaticBody2D" parent="Door1"]
  44. [node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Door1/StaticBody2D"]
  45. polygon = PackedVector2Array( -24, 24, 40, -8, 24, -16, -40, 16 )