Advertisement
Szczepan86

Godot - tileset

Jan 26th, 2019
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.90 KB | None | 0 0
  1. [gd_scene load_steps=2 format=2]
  2.  
  3. [ext_resource path="res://4bit_road_tiles.png" type="Texture" id=1]
  4.  
  5. [node name="Node2D" type="Node2D" index="0"]
  6.  
  7. position = Vector2( 0, 7 )
  8.  
  9. [node name="0" type="Sprite" parent="." index="0"]
  10.  
  11. visible = false
  12. texture = ExtResource( 1 )
  13. region_enabled = true
  14. region_rect = Rect2( 10, 10, 64, 64 )
  15. _sections_unfolded = [ "Region" ]
  16.  
  17. [node name="StaticBody2D2" type="StaticBody2D" parent="0" index="0"]
  18.  
  19. editor/display_folded = true
  20. visible = false
  21. input_pickable = false
  22. collision_layer = 1
  23. collision_mask = 1
  24. constant_linear_velocity = Vector2( 0, 0 )
  25. constant_angular_velocity = 0.0
  26. friction = 1.0
  27. bounce = 0.0
  28.  
  29. [node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="0/StaticBody2D2" index="0"]
  30.  
  31. build_mode = 0
  32. polygon = PoolVector2Array( -32, -16, -16, -16, -16, -32, -32, -32, -32, -16 )
  33. _sections_unfolded = [ "Transform" ]
  34.  
  35. [node name="CollisionPolygon2D2" type="CollisionPolygon2D" parent="0/StaticBody2D2" index="1"]
  36.  
  37. build_mode = 1
  38. polygon = PoolVector2Array( 16, -16, 16, -32, 32, -32, 32, -16 )
  39.  
  40. [node name="CollisionPolygon2D3" type="CollisionPolygon2D" parent="0/StaticBody2D2" index="2"]
  41.  
  42. build_mode = 1
  43. polygon = PoolVector2Array( 16, 32, 16, 16, 32, 16, 32, 32, 16, 32 )
  44.  
  45. [node name="CollisionPolygon2D4" type="CollisionPolygon2D" parent="0/StaticBody2D2" index="3"]
  46.  
  47. build_mode = 1
  48. polygon = PoolVector2Array( -16, 32, -16, 16, -32, 16, -32, 32, -16, 32 )
  49.  
  50. [node name="1" type="Sprite" parent="." index="1"]
  51.  
  52. editor/display_folded = true
  53. visible = false
  54. texture = ExtResource( 1 )
  55. region_enabled = true
  56. region_rect = Rect2( 90, 10, 64, 64 )
  57. _sections_unfolded = [ "Region" ]
  58.  
  59. [node name="StaticBody2D" type="StaticBody2D" parent="1" index="0"]
  60.  
  61. input_pickable = false
  62. collision_layer = 1
  63. collision_mask = 1
  64. constant_linear_velocity = Vector2( 0, 0 )
  65. constant_angular_velocity = 0.0
  66. friction = 1.0
  67. bounce = 0.0
  68.  
  69. [node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="1/StaticBody2D" index="0"]
  70.  
  71. build_mode = 1
  72. polygon = PoolVector2Array( -32, 16, -16, 16, -16, 32, -32, 32 )
  73.  
  74. [node name="CollisionPolygon2D2" type="CollisionPolygon2D" parent="1/StaticBody2D" index="1"]
  75.  
  76. build_mode = 1
  77. polygon = PoolVector2Array( 16, 16, 32, 16, 32, 32, 16, 32 )
  78.  
  79. [node name="CollisionPolygon2D3" type="CollisionPolygon2D" parent="1/StaticBody2D" index="2"]
  80.  
  81. build_mode = 1
  82. polygon = PoolVector2Array( -32, -16, 32, -16, 32, -32, -32, -32 )
  83.  
  84. [node name="2" type="Sprite" parent="." index="2"]
  85.  
  86. editor/display_folded = true
  87. visible = false
  88. texture = ExtResource( 1 )
  89. region_enabled = true
  90. region_rect = Rect2( 170, 10, 64, 64 )
  91. _sections_unfolded = [ "Region" ]
  92.  
  93. [node name="StaticBody2D2" type="StaticBody2D" parent="2" index="0"]
  94.  
  95. input_pickable = false
  96. collision_layer = 1
  97. collision_mask = 1
  98. constant_linear_velocity = Vector2( 0, 0 )
  99. constant_angular_velocity = 0.0
  100. friction = 1.0
  101. bounce = 0.0
  102.  
  103. [node name="CollisionPolygon2D2" type="CollisionPolygon2D" parent="2/StaticBody2D2" index="0"]
  104.  
  105. build_mode = 1
  106. polygon = PoolVector2Array( 16, -32, 32, -32, 32, 32, 16, 32 )
  107.  
  108. [node name="CollisionPolygon2D3" type="CollisionPolygon2D" parent="2/StaticBody2D2" index="1"]
  109.  
  110. build_mode = 1
  111. polygon = PoolVector2Array( -32, 32, -16, 32, -16, 16, -32, 16 )
  112.  
  113. [node name="CollisionPolygon2D4" type="CollisionPolygon2D" parent="2/StaticBody2D2" index="2"]
  114.  
  115. build_mode = 1
  116. polygon = PoolVector2Array( -32, -32, -16, -32, -16, -16, -32, -16 )
  117.  
  118. [node name="3" type="Sprite" parent="." index="3"]
  119.  
  120. editor/display_folded = true
  121. visible = false
  122. texture = ExtResource( 1 )
  123. region_enabled = true
  124. region_rect = Rect2( 250, 10, 64, 64 )
  125. _sections_unfolded = [ "Region" ]
  126.  
  127. [node name="StaticBody2D2" type="StaticBody2D" parent="3" index="0"]
  128.  
  129. input_pickable = false
  130. collision_layer = 1
  131. collision_mask = 1
  132. constant_linear_velocity = Vector2( 0, 0 )
  133. constant_angular_velocity = 0.0
  134. friction = 1.0
  135. bounce = 0.0
  136.  
  137. [node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="3/StaticBody2D2" index="0"]
  138.  
  139. build_mode = 1
  140. polygon = PoolVector2Array( -32, -16, 16, -16, 16, 32, 32, 32, 32, -32, -32, -32 )
  141.  
  142. [node name="CollisionPolygon2D2" type="CollisionPolygon2D" parent="3/StaticBody2D2" index="1"]
  143.  
  144. build_mode = 1
  145. polygon = PoolVector2Array( -32, 16, -16, 16, -16, 32, -32, 32, -32, 16, -16, 16, -16, 32, -32, 32 )
  146.  
  147. [node name="4" type="Sprite" parent="." index="4"]
  148.  
  149. editor/display_folded = true
  150. visible = false
  151. texture = ExtResource( 1 )
  152. region_enabled = true
  153. region_rect = Rect2( 10, 90, 64, 64 )
  154. _sections_unfolded = [ "Region" ]
  155.  
  156. [node name="StaticBody2D2" type="StaticBody2D" parent="4" index="0"]
  157.  
  158. input_pickable = false
  159. collision_layer = 1
  160. collision_mask = 1
  161. constant_linear_velocity = Vector2( 0, 0 )
  162. constant_angular_velocity = 0.0
  163. friction = 1.0
  164. bounce = 0.0
  165.  
  166. [node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="4/StaticBody2D2" index="0"]
  167.  
  168. build_mode = 1
  169. polygon = PoolVector2Array( -32, -32, -16, -32, -16, -16, -32, -16, -32, -32 )
  170.  
  171. [node name="CollisionPolygon2D2" type="CollisionPolygon2D" parent="4/StaticBody2D2" index="1"]
  172.  
  173. build_mode = 1
  174. polygon = PoolVector2Array( 16, -32, 32, -32, 32, -16, 16, -16 )
  175.  
  176. [node name="CollisionPolygon2D3" type="CollisionPolygon2D" parent="4/StaticBody2D2" index="2"]
  177.  
  178. build_mode = 1
  179. polygon = PoolVector2Array( -32, 16, 32, 16, 32, 32, -32, 32 )
  180.  
  181. [node name="5" type="Sprite" parent="." index="5"]
  182.  
  183. editor/display_folded = true
  184. visible = false
  185. texture = ExtResource( 1 )
  186. region_enabled = true
  187. region_rect = Rect2( 90, 90, 64, 64 )
  188. _sections_unfolded = [ "Region" ]
  189.  
  190. [node name="StaticBody2D2" type="StaticBody2D" parent="5" index="0"]
  191.  
  192. input_pickable = false
  193. collision_layer = 1
  194. collision_mask = 1
  195. constant_linear_velocity = Vector2( 0, 0 )
  196. constant_angular_velocity = 0.0
  197. friction = 1.0
  198. bounce = 0.0
  199.  
  200. [node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="5/StaticBody2D2" index="0"]
  201.  
  202. build_mode = 1
  203. polygon = PoolVector2Array( -32, -32, 32, -32, 32, -16, -32, -16 )
  204.  
  205. [node name="CollisionPolygon2D2" type="CollisionPolygon2D" parent="5/StaticBody2D2" index="1"]
  206.  
  207. build_mode = 1
  208. polygon = PoolVector2Array( -32, 16, 32, 16, 32, 32, -32, 32 )
  209.  
  210. [node name="6" type="Sprite" parent="." index="6"]
  211.  
  212. editor/display_folded = true
  213. visible = false
  214. texture = ExtResource( 1 )
  215. region_enabled = true
  216. region_rect = Rect2( 170, 90, 64, 64 )
  217. _sections_unfolded = [ "Region" ]
  218.  
  219. [node name="StaticBody2D2" type="StaticBody2D" parent="6" index="0"]
  220.  
  221. editor/display_folded = true
  222. input_pickable = false
  223. collision_layer = 1
  224. collision_mask = 1
  225. constant_linear_velocity = Vector2( 0, 0 )
  226. constant_angular_velocity = 0.0
  227. friction = 1.0
  228. bounce = 0.0
  229.  
  230. [node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="6/StaticBody2D2" index="0"]
  231.  
  232. build_mode = 1
  233. polygon = PoolVector2Array( -32, -16, -16, -16, -16, -32, -32, -32 )
  234.  
  235. [node name="CollisionPolygon2D2" type="CollisionPolygon2D" parent="6/StaticBody2D2" index="1"]
  236.  
  237. build_mode = 1
  238. polygon = PoolVector2Array( -32, 16, 16, 16, 16, -32, 32, -32, 32, 32, -32, 32 )
  239.  
  240. [node name="7" type="Sprite" parent="." index="7"]
  241.  
  242. editor/display_folded = true
  243. visible = false
  244. texture = ExtResource( 1 )
  245. region_enabled = true
  246. region_rect = Rect2( 250, 90, 64, 64 )
  247. _sections_unfolded = [ "Region" ]
  248.  
  249. [node name="StaticBody2D2" type="StaticBody2D" parent="7" index="0"]
  250.  
  251. input_pickable = false
  252. collision_layer = 1
  253. collision_mask = 1
  254. constant_linear_velocity = Vector2( 0, 0 )
  255. constant_angular_velocity = 0.0
  256. friction = 1.0
  257. bounce = 0.0
  258.  
  259. [node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="7/StaticBody2D2" index="0"]
  260.  
  261. build_mode = 1
  262. polygon = PoolVector2Array( -32, -16, 16, -16, 16, 16, -32, 16, -32, 32, 32, 32, 32, -32, -32, -32 )
  263.  
  264. [node name="8" type="Sprite" parent="." index="8"]
  265.  
  266. editor/display_folded = true
  267. visible = false
  268. texture = ExtResource( 1 )
  269. region_enabled = true
  270. region_rect = Rect2( 10, 170, 64, 64 )
  271. _sections_unfolded = [ "Region" ]
  272.  
  273. [node name="StaticBody2D2" type="StaticBody2D" parent="8" index="0"]
  274.  
  275. input_pickable = false
  276. collision_layer = 1
  277. collision_mask = 1
  278. constant_linear_velocity = Vector2( 0, 0 )
  279. constant_angular_velocity = 0.0
  280. friction = 1.0
  281. bounce = 0.0
  282.  
  283. [node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="8/StaticBody2D2" index="0"]
  284.  
  285. build_mode = 1
  286. polygon = PoolVector2Array( 16, -32, 32, -32, 32, -16, 16, -16 )
  287.  
  288. [node name="CollisionPolygon2D2" type="CollisionPolygon2D" parent="8/StaticBody2D2" index="1"]
  289.  
  290. build_mode = 1
  291. polygon = PoolVector2Array( 16, 16, 32, 16, 32, 32, 16, 32 )
  292.  
  293. [node name="CollisionPolygon2D3" type="CollisionPolygon2D" parent="8/StaticBody2D2" index="2"]
  294.  
  295. build_mode = 1
  296. polygon = PoolVector2Array( -32, -32, -16, -32, -16, 32, -32, 32, -32, -32 )
  297.  
  298. [node name="9" type="Sprite" parent="." index="9"]
  299.  
  300. editor/display_folded = true
  301. visible = false
  302. texture = ExtResource( 1 )
  303. region_enabled = true
  304. region_rect = Rect2( 90, 170, 64, 64 )
  305. _sections_unfolded = [ "Region" ]
  306.  
  307. [node name="StaticBody2D2" type="StaticBody2D" parent="9" index="0"]
  308.  
  309. editor/display_folded = true
  310. input_pickable = false
  311. collision_layer = 1
  312. collision_mask = 1
  313. constant_linear_velocity = Vector2( 0, 0 )
  314. constant_angular_velocity = 0.0
  315. friction = 1.0
  316. bounce = 0.0
  317.  
  318. [node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="9/StaticBody2D2" index="0"]
  319.  
  320. build_mode = 1
  321. polygon = PoolVector2Array( 16, 16, 32, 16, 32, 32, 16, 32, 16, 16 )
  322.  
  323. [node name="CollisionPolygon2D2" type="CollisionPolygon2D" parent="9/StaticBody2D2" index="1"]
  324.  
  325. build_mode = 1
  326. polygon = PoolVector2Array( -16, 32, -16, -16, 32, -16, 32, -32, -32, -32, -32, 32 )
  327.  
  328. [node name="10" type="Sprite" parent="." index="10"]
  329.  
  330. editor/display_folded = true
  331. visible = false
  332. texture = ExtResource( 1 )
  333. region_enabled = true
  334. region_rect = Rect2( 170, 170, 64, 64 )
  335. _sections_unfolded = [ "Region" ]
  336.  
  337. [node name="StaticBody2D2" type="StaticBody2D" parent="10" index="0"]
  338.  
  339. input_pickable = false
  340. collision_layer = 1
  341. collision_mask = 1
  342. constant_linear_velocity = Vector2( 0, 0 )
  343. constant_angular_velocity = 0.0
  344. friction = 1.0
  345. bounce = 0.0
  346.  
  347. [node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="10/StaticBody2D2" index="0"]
  348.  
  349. build_mode = 1
  350. polygon = PoolVector2Array( -32, -32, -16, -32, -16, 32, -32, 32 )
  351.  
  352. [node name="CollisionPolygon2D2" type="CollisionPolygon2D" parent="10/StaticBody2D2" index="1"]
  353.  
  354. build_mode = 1
  355. polygon = PoolVector2Array( 16, -32, 32, -32, 32, 32, 16, 32 )
  356.  
  357. [node name="11" type="Sprite" parent="." index="11"]
  358.  
  359. editor/display_folded = true
  360. visible = false
  361. texture = ExtResource( 1 )
  362. region_enabled = true
  363. region_rect = Rect2( 250, 170, 64, 64 )
  364. _sections_unfolded = [ "Region" ]
  365.  
  366. [node name="StaticBody2D2" type="StaticBody2D" parent="11" index="0"]
  367.  
  368. input_pickable = false
  369. collision_layer = 1
  370. collision_mask = 1
  371. constant_linear_velocity = Vector2( 0, 0 )
  372. constant_angular_velocity = 0.0
  373. friction = 1.0
  374. bounce = 0.0
  375.  
  376. [node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="11/StaticBody2D2" index="0"]
  377.  
  378. build_mode = 1
  379. polygon = PoolVector2Array( -16, 32, -16, -16, 16, -16, 16, 32, 32, 32, 32, -32, -32, -32, -32, 32 )
  380.  
  381. [node name="12" type="Sprite" parent="." index="12"]
  382.  
  383. editor/display_folded = true
  384. visible = false
  385. texture = ExtResource( 1 )
  386. region_enabled = true
  387. region_rect = Rect2( 10, 250, 64, 64 )
  388. _sections_unfolded = [ "Region" ]
  389.  
  390. [node name="StaticBody2D2" type="StaticBody2D" parent="12" index="0"]
  391.  
  392. input_pickable = false
  393. collision_layer = 1
  394. collision_mask = 1
  395. constant_linear_velocity = Vector2( 0, 0 )
  396. constant_angular_velocity = 0.0
  397. friction = 1.0
  398. bounce = 0.0
  399.  
  400. [node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="12/StaticBody2D2" index="0"]
  401.  
  402. build_mode = 1
  403. polygon = PoolVector2Array( 16, -16, 16, -32, 32, -32, 32, -16, 16, -16 )
  404.  
  405. [node name="CollisionPolygon2D2" type="CollisionPolygon2D" parent="12/StaticBody2D2" index="1"]
  406.  
  407. build_mode = 1
  408. polygon = PoolVector2Array( -16, -32, -16, 16, 32, 16, 32, 32, -32, 32, -32, -32 )
  409.  
  410. [node name="13" type="Sprite" parent="." index="13"]
  411.  
  412. editor/display_folded = true
  413. visible = false
  414. texture = ExtResource( 1 )
  415. region_enabled = true
  416. region_rect = Rect2( 90, 250, 64, 64 )
  417. _sections_unfolded = [ "Region" ]
  418.  
  419. [node name="StaticBody2D2" type="StaticBody2D" parent="13" index="0"]
  420.  
  421. input_pickable = false
  422. collision_layer = 1
  423. collision_mask = 1
  424. constant_linear_velocity = Vector2( 0, 0 )
  425. constant_angular_velocity = 0.0
  426. friction = 1.0
  427. bounce = 0.0
  428.  
  429. [node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="13/StaticBody2D2" index="0"]
  430.  
  431. build_mode = 1
  432. polygon = PoolVector2Array( 32, -32, 32, -16, -16, -16, -16, 16, 32, 16, 32, 32, -32, 32, -32, -32 )
  433.  
  434. [node name="14" type="Sprite" parent="." index="14"]
  435.  
  436. editor/display_folded = true
  437. visible = false
  438. texture = ExtResource( 1 )
  439. region_enabled = true
  440. region_rect = Rect2( 170, 250, 64, 64 )
  441. _sections_unfolded = [ "Region" ]
  442.  
  443. [node name="StaticBody2D2" type="StaticBody2D" parent="14" index="0"]
  444.  
  445. input_pickable = false
  446. collision_layer = 1
  447. collision_mask = 1
  448. constant_linear_velocity = Vector2( 0, 0 )
  449. constant_angular_velocity = 0.0
  450. friction = 1.0
  451. bounce = 0.0
  452.  
  453. [node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="14/StaticBody2D2" index="0"]
  454.  
  455. build_mode = 1
  456. polygon = PoolVector2Array( -32, -32, -16, -32, -16, 16, 16, 16, 16, -32, 32, -32, 32, 32, -32, 32 )
  457.  
  458. [node name="15" type="Sprite" parent="." index="15"]
  459.  
  460. editor/display_folded = true
  461. visible = false
  462. texture = ExtResource( 1 )
  463. region_enabled = true
  464. region_rect = Rect2( 250, 250, 64, 64 )
  465. _sections_unfolded = [ "Region" ]
  466.  
  467. [node name="StaticBody2D2" type="StaticBody2D" parent="15" index="0"]
  468.  
  469. input_pickable = false
  470. collision_layer = 1
  471. collision_mask = 1
  472. constant_linear_velocity = Vector2( 0, 0 )
  473. constant_angular_velocity = 0.0
  474. friction = 1.0
  475. bounce = 0.0
  476.  
  477. [node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="15/StaticBody2D2" index="0"]
  478.  
  479. build_mode = 1
  480. polygon = PoolVector2Array( -32, -32, 32, -32, 32, 32, -32, 32 )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement