tileset.tres 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244
  1. [gd_resource type="TileSet" load_steps=14 format=2]
  2. [ext_resource path="res://tiles_demo.png" type="Texture" id=1]
  3. [sub_resource type="ConvexPolygonShape2D" id=1]
  4. custom_solver_bias = 0.0
  5. points = PoolVector2Array( 32, -24, 32, 32, -32, 32, -32, -24 )
  6. [sub_resource type="ConvexPolygonShape2D" id=2]
  7. custom_solver_bias = 0.0
  8. points = PoolVector2Array( -32, -24, 24, -24, 24, 32, -32, 32 )
  9. [sub_resource type="ConvexPolygonShape2D" id=3]
  10. custom_solver_bias = 0.0
  11. points = PoolVector2Array( 32, -32, 32, 32, -32, 32, -32, -32 )
  12. [sub_resource type="ConvexPolygonShape2D" id=4]
  13. custom_solver_bias = 0.0
  14. points = PoolVector2Array( -32, -56, 32, 8, 32, 64, -32, 64 )
  15. [sub_resource type="ConvexPolygonShape2D" id=5]
  16. custom_solver_bias = 0.0
  17. points = PoolVector2Array( -32, -32, 24, -32, 24, 32, -32, 32 )
  18. [sub_resource type="ConvexPolygonShape2D" id=6]
  19. custom_solver_bias = 0.0
  20. points = PoolVector2Array( 32, -24, 32, 24, -32, 24, -32, -24 )
  21. [sub_resource type="ConvexPolygonShape2D" id=7]
  22. custom_solver_bias = 0.0
  23. points = PoolVector2Array( 24, -24, 24, 24, -32, 24, -32, -24 )
  24. [sub_resource type="ConvexPolygonShape2D" id=8]
  25. custom_solver_bias = 0.0
  26. points = PoolVector2Array( -32, -32, 24, -32, 24, 32, -32, 32 )
  27. [sub_resource type="ConvexPolygonShape2D" id=9]
  28. custom_solver_bias = 0.0
  29. points = PoolVector2Array( -64, -32, -8, -32, -8, 32, -64, 32 )
  30. [sub_resource type="ConvexPolygonShape2D" id=10]
  31. custom_solver_bias = 0.0
  32. points = PoolVector2Array( -32, -32, 24, -32, 32, -24, 32, 32, -32, 32 )
  33. [sub_resource type="ConvexPolygonShape2D" id=11]
  34. custom_solver_bias = 0.0
  35. points = PoolVector2Array( -32, -24, 32, -24, 32, 32, -32, 32 )
  36. [sub_resource type="ConvexPolygonShape2D" id=12]
  37. custom_solver_bias = 0.0
  38. points = PoolVector2Array( -32, -24, 32, -24, 32, 32, -32, 32 )
  39. [resource]
  40. 0/name = "floor"
  41. 0/texture = ExtResource( 1 )
  42. 0/tex_offset = Vector2( 0, 0 )
  43. 0/modulate = Color( 1, 1, 1, 1 )
  44. 0/region = Rect2( 0, 0, 64, 64 )
  45. 0/occluder_offset = Vector2( 32, 32 )
  46. 0/navigation_offset = Vector2( 32, 32 )
  47. 0/shapes = [ {
  48. "one_way": false,
  49. "shape": SubResource( 1 ),
  50. "shape_transform": Transform2D( 1, 0, 0, 1, 32, 32 )
  51. } ]
  52. 1/name = "edge"
  53. 1/texture = ExtResource( 1 )
  54. 1/tex_offset = Vector2( 0, 0 )
  55. 1/modulate = Color( 1, 1, 1, 1 )
  56. 1/region = Rect2( 64, 0, 64, 64 )
  57. 1/occluder_offset = Vector2( 32, 32 )
  58. 1/navigation_offset = Vector2( 32, 32 )
  59. 1/shapes = [ {
  60. "one_way": false,
  61. "shape": SubResource( 2 ),
  62. "shape_transform": Transform2D( 1, 0, 0, 1, 32, 32 )
  63. } ]
  64. 2/name = "wall"
  65. 2/texture = ExtResource( 1 )
  66. 2/tex_offset = Vector2( 0, 0 )
  67. 2/modulate = Color( 1, 1, 1, 1 )
  68. 2/region = Rect2( 64, 64, 64, 64 )
  69. 2/occluder_offset = Vector2( 32, 32 )
  70. 2/navigation_offset = Vector2( 32, 32 )
  71. 2/shapes = [ {
  72. "one_way": false,
  73. "shape": SubResource( 8 ),
  74. "shape_transform": Transform2D( 1, 0, 0, 1, 32, 32 )
  75. } ]
  76. 3/name = "wall_deco"
  77. 3/texture = ExtResource( 1 )
  78. 3/tex_offset = Vector2( 0, 0 )
  79. 3/modulate = Color( 1, 1, 1, 1 )
  80. 3/region = Rect2( 320, 128, 128, 64 )
  81. 3/occluder_offset = Vector2( 64, 32 )
  82. 3/navigation_offset = Vector2( 64, 32 )
  83. 3/shapes = [ {
  84. "one_way": false,
  85. "shape": SubResource( 9 ),
  86. "shape_transform": Transform2D( 1, 0, 0, 1, 64, 32 )
  87. } ]
  88. 4/name = "corner"
  89. 4/texture = ExtResource( 1 )
  90. 4/tex_offset = Vector2( 0, 0 )
  91. 4/modulate = Color( 1, 1, 1, 1 )
  92. 4/region = Rect2( 64, 128, 64, 64 )
  93. 4/occluder_offset = Vector2( 32, 32 )
  94. 4/navigation_offset = Vector2( 32, 32 )
  95. 4/shapes = [ {
  96. "one_way": false,
  97. "shape": SubResource( 10 ),
  98. "shape_transform": Transform2D( 1, 0, 0, 1, 32, 32 )
  99. } ]
  100. 5/name = "flowers"
  101. 5/texture = ExtResource( 1 )
  102. 5/tex_offset = Vector2( 0, 0 )
  103. 5/modulate = Color( 1, 1, 1, 1 )
  104. 5/region = Rect2( 192, 192, 64, 64 )
  105. 5/occluder_offset = Vector2( 32, 32 )
  106. 5/navigation_offset = Vector2( 32, 32 )
  107. 5/shapes = [ {
  108. "one_way": false,
  109. "shape": SubResource( 11 ),
  110. "shape_transform": Transform2D( 1, 0, 0, 1, 32, 32 )
  111. } ]
  112. 6/name = "tree_base"
  113. 6/texture = ExtResource( 1 )
  114. 6/tex_offset = Vector2( 0, 0 )
  115. 6/modulate = Color( 1, 1, 1, 1 )
  116. 6/region = Rect2( 256, 192, 64, 64 )
  117. 6/occluder_offset = Vector2( 32, 32 )
  118. 6/navigation_offset = Vector2( 32, 32 )
  119. 6/shapes = [ {
  120. "one_way": false,
  121. "shape": SubResource( 12 ),
  122. "shape_transform": Transform2D( 1, 0, 0, 1, 32, 32 )
  123. } ]
  124. 7/name = "tree_mid"
  125. 7/texture = ExtResource( 1 )
  126. 7/tex_offset = Vector2( 0, 0 )
  127. 7/modulate = Color( 1, 1, 1, 1 )
  128. 7/region = Rect2( 256, 128, 64, 64 )
  129. 7/occluder_offset = Vector2( 32, 32 )
  130. 7/navigation_offset = Vector2( 32, 32 )
  131. 7/shapes = [ ]
  132. 8/name = "tree_mid 2"
  133. 8/texture = ExtResource( 1 )
  134. 8/tex_offset = Vector2( 0, 0 )
  135. 8/modulate = Color( 1, 1, 1, 1 )
  136. 8/region = Rect2( 256, 64, 64, 64 )
  137. 8/occluder_offset = Vector2( 32, 32 )
  138. 8/navigation_offset = Vector2( 32, 32 )
  139. 8/shapes = [ ]
  140. 9/name = "tree_top"
  141. 9/texture = ExtResource( 1 )
  142. 9/tex_offset = Vector2( 0, 0 )
  143. 9/modulate = Color( 1, 1, 1, 1 )
  144. 9/region = Rect2( 256, 0, 64, 64 )
  145. 9/occluder_offset = Vector2( 32, 32 )
  146. 9/navigation_offset = Vector2( 32, 32 )
  147. 9/shapes = [ ]
  148. 10/name = "solid"
  149. 10/texture = ExtResource( 1 )
  150. 10/tex_offset = Vector2( 0, 0 )
  151. 10/modulate = Color( 1, 1, 1, 1 )
  152. 10/region = Rect2( 0, 64, 64, 64 )
  153. 10/occluder_offset = Vector2( 32, 32 )
  154. 10/navigation_offset = Vector2( 32, 32 )
  155. 10/shapes = [ ]
  156. 11/name = "ceiling"
  157. 11/texture = ExtResource( 1 )
  158. 11/tex_offset = Vector2( 0, 0 )
  159. 11/modulate = Color( 1, 1, 1, 1 )
  160. 11/region = Rect2( 384, 64, 64, 64 )
  161. 11/occluder_offset = Vector2( 32, 32 )
  162. 11/navigation_offset = Vector2( 32, 32 )
  163. 11/shapes = [ {
  164. "one_way": false,
  165. "shape": SubResource( 3 ),
  166. "shape_transform": Transform2D( 1, 0, 0, 1, 32, 32 )
  167. } ]
  168. 12/name = "ramp"
  169. 12/texture = ExtResource( 1 )
  170. 12/tex_offset = Vector2( 0, 0 )
  171. 12/modulate = Color( 1, 1, 1, 1 )
  172. 12/region = Rect2( 128, 128, 64, 128 )
  173. 12/occluder_offset = Vector2( 32, 64 )
  174. 12/navigation_offset = Vector2( 32, 64 )
  175. 12/shapes = [ {
  176. "one_way": false,
  177. "shape": SubResource( 4 ),
  178. "shape_transform": Transform2D( 1, 0, 0, 1, 32, 64 )
  179. } ]
  180. 13/name = "ceiling2wall"
  181. 13/texture = ExtResource( 1 )
  182. 13/tex_offset = Vector2( 0, 0 )
  183. 13/modulate = Color( 1, 1, 1, 1 )
  184. 13/region = Rect2( 448, 64, 64, 64 )
  185. 13/occluder_offset = Vector2( 32, 32 )
  186. 13/navigation_offset = Vector2( 32, 32 )
  187. 13/shapes = [ {
  188. "one_way": false,
  189. "shape": SubResource( 5 ),
  190. "shape_transform": Transform2D( 1, 0, 0, 1, 32, 32 )
  191. } ]
  192. 14/name = "platform_floor"
  193. 14/texture = ExtResource( 1 )
  194. 14/tex_offset = Vector2( 0, 0 )
  195. 14/modulate = Color( 1, 1, 1, 1 )
  196. 14/region = Rect2( 128, 0, 64, 64 )
  197. 14/occluder_offset = Vector2( 32, 32 )
  198. 14/navigation_offset = Vector2( 32, 32 )
  199. 14/shapes = [ {
  200. "one_way": false,
  201. "shape": SubResource( 6 ),
  202. "shape_transform": Transform2D( 1, 0, 0, 1, 32, 32 )
  203. } ]
  204. 15/name = "platform_edge"
  205. 15/texture = ExtResource( 1 )
  206. 15/tex_offset = Vector2( 0, 0 )
  207. 15/modulate = Color( 1, 1, 1, 1 )
  208. 15/region = Rect2( 192, 0, 64, 64 )
  209. 15/occluder_offset = Vector2( 32, 32 )
  210. 15/navigation_offset = Vector2( 32, 32 )
  211. 15/shapes = [ {
  212. "one_way": false,
  213. "shape": SubResource( 7 ),
  214. "shape_transform": Transform2D( 1, 0, 0, 1, 32, 32 )
  215. } ]