tileset_edit.tscn 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. [gd_scene load_steps=2 format=2]
  2. [ext_resource path="res://isotiles.png" type="Texture" id=1]
  3. [node name="Node2D" type="Node2D"]
  4. [node name="base" type="Sprite" parent="." index="0"]
  5. position = Vector2( 150.049, 61.1264 )
  6. texture = ExtResource( 1 )
  7. centered = false
  8. offset = Vector2( -66, -42 )
  9. region_enabled = true
  10. region_rect = Rect2( 28, 92, 132, 84 )
  11. _sections_unfolded = [ "Offset", "Region" ]
  12. [node name="base2" type="Sprite" parent="." index="1"]
  13. position = Vector2( 257.013, 124.86 )
  14. texture = ExtResource( 1 )
  15. centered = false
  16. offset = Vector2( -66, -42 )
  17. region_enabled = true
  18. region_rect = Rect2( 220, 92, 132, 84 )
  19. _sections_unfolded = [ "Offset", "Region" ]
  20. [node name="wall" type="Sprite" parent="." index="2"]
  21. position = Vector2( 421.311, 137.805 )
  22. texture = ExtResource( 1 )
  23. centered = false
  24. offset = Vector2( -69.3109, -99.8051 )
  25. region_enabled = true
  26. region_rect = Rect2( 28, 220, 132, 136 )
  27. _sections_unfolded = [ "Offset", "Region" ]
  28. [node name="StaticBody2D" type="StaticBody2D" parent="wall" index="0"]
  29. input_pickable = false
  30. collision_layer = 1
  31. collision_mask = 1
  32. constant_linear_velocity = Vector2( 0, 0 )
  33. constant_angular_velocity = 0.0
  34. friction = 1.0
  35. bounce = 0.0
  36. _sections_unfolded = [ "Transform" ]
  37. [node name="collision" type="CollisionPolygon2D" parent="wall/StaticBody2D" index="0"]
  38. build_mode = 0
  39. polygon = PoolVector2Array( -68, 2, -4, 34, 60, 2, -4, -30 )
  40. [node name="column" type="Sprite" parent="." index="3"]
  41. position = Vector2( 359.563, 266.446 )
  42. texture = ExtResource( 1 )
  43. centered = false
  44. offset = Vector2( -69.5632, -100.446 )
  45. region_enabled = true
  46. region_rect = Rect2( 220, 220, 132, 136 )
  47. _sections_unfolded = [ "Offset", "Region" ]
  48. [node name="StaticBody" type="StaticBody2D" parent="column" index="0"]
  49. input_pickable = false
  50. collision_layer = 1
  51. collision_mask = 1
  52. constant_linear_velocity = Vector2( 0, 0 )
  53. constant_angular_velocity = 0.0
  54. friction = 1.0
  55. bounce = 0.0
  56. _sections_unfolded = [ "Transform" ]
  57. [node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="column/StaticBody" index="0"]
  58. build_mode = 0
  59. polygon = PoolVector2Array( -20, -6, -4, 10, 4, 10, 28, -6, 12, -22, -4, -22 )
  60. [node name="door1" type="Sprite" parent="." index="4"]
  61. position = Vector2( -24.1548, 142.216 )
  62. texture = ExtResource( 1 )
  63. centered = false
  64. offset = Vector2( -50.3623, -90.8164 )
  65. region_enabled = true
  66. region_rect = Rect2( 24, 408, 132, 136 )
  67. _sections_unfolded = [ "Offset", "Region" ]
  68. [node name="StaticBody2D" type="StaticBody2D" parent="door1" index="0"]
  69. input_pickable = false
  70. collision_layer = 1
  71. collision_mask = 1
  72. constant_linear_velocity = Vector2( 0, 0 )
  73. constant_angular_velocity = 0.0
  74. friction = 1.0
  75. bounce = 0.0
  76. _sections_unfolded = [ "Transform" ]
  77. [node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="door1/StaticBody2D" index="0"]
  78. build_mode = 0
  79. polygon = PoolVector2Array( -5.90501, 31.3748, 66.095, -0.62516, 50.095, -8.62516, -21.905, 23.3748 )