Newer
Older
DungeonShooting / DungeonShooting_Godot / scene / test / TestGenerateDungeon.tscn
@小李xl 小李xl on 29 May 2023 1 KB 资源移动位置
  1. [gd_scene load_steps=5 format=3 uid="uid://5bbx1u0od3jm"]
  2.  
  3. [ext_resource type="Script" path="res://src/test/TestGenerateDungeon.cs" id="1"]
  4. [ext_resource type="Texture2D" uid="uid://dj8nrd5od4fcl" path="res://resource/sprite/map/map1/16x16 dungeon ii wall reconfig v04 spritesheet.png" id="2"]
  5.  
  6.  
  7. [sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_rvg0t"]
  8. texture = ExtResource("2")
  9. margins = Vector2i(0, 128)
  10. 0:0/next_alternative_id = 8
  11. 0:0/0 = 0
  12. 0:0/1 = 1
  13. 0:0/1/flip_h = true
  14. 0:0/2 = 2
  15. 0:0/2/flip_v = true
  16. 0:0/3 = 3
  17. 0:0/3/flip_h = true
  18. 0:0/3/flip_v = true
  19. 0:0/4 = 4
  20. 0:0/4/transpose = true
  21. 0:0/5 = 5
  22. 0:0/5/flip_h = true
  23. 0:0/5/transpose = true
  24. 0:0/6 = 6
  25. 0:0/6/flip_v = true
  26. 0:0/6/transpose = true
  27. 0:0/7 = 7
  28. 0:0/7/flip_h = true
  29. 0:0/7/flip_v = true
  30. 0:0/7/transpose = true
  31.  
  32. [sub_resource type="TileSet" id="1"]
  33. sources/0 = SubResource("TileSetAtlasSource_rvg0t")
  34.  
  35. [node name="TestGenerateDungeon" type="Node2D"]
  36. script = ExtResource("1")
  37. TileMapPath = NodePath("TileMap")
  38. Camera3D = NodePath("Camera2D")
  39.  
  40. [node name="Camera2D" type="Camera2D" parent="."]
  41.  
  42. [node name="TileMap" type="TileMap" parent="."]
  43. z_index = -1
  44. tile_set = SubResource("1")
  45. format = 2