Newer
Older
DungeonShooting / DungeonShooting_Godot / scene / Room.tscn
@小李xl 小李xl on 5 Feb 2023 2 KB 修复debug绘制力方向问题
  1. [gd_scene load_steps=6 format=2]
  2.  
  3. [ext_resource path="res://resource/sprite/environment/itch-io-DungeonTileset4/16x16 dungeon ii wall reconfig v04 spritesheet.png" type="Texture" id=1]
  4. [ext_resource path="res://src/game/room/RoomManager.cs" type="Script" id=3]
  5. [ext_resource path="res://src/game/camera/GameCamera.cs" type="Script" id=5]
  6.  
  7. [sub_resource type="Environment" id=1]
  8. background_mode = 4
  9. glow_enabled = true
  10.  
  11. [sub_resource type="TileSet" id=2]
  12. 0/name = "16x16 dungeon ii wall reconfig v04 spritesheet.png 0"
  13. 0/texture = ExtResource( 1 )
  14. 0/tex_offset = Vector2( 0, 0 )
  15. 0/modulate = Color( 1, 1, 1, 1 )
  16. 0/region = Rect2( 0, 0, 64, 144 )
  17. 0/tile_mode = 2
  18. 0/autotile/icon_coordinate = Vector2( 0, 8 )
  19. 0/autotile/tile_size = Vector2( 16, 16 )
  20. 0/autotile/spacing = 0
  21. 0/autotile/occluder_map = [ ]
  22. 0/autotile/navpoly_map = [ ]
  23. 0/autotile/priority_map = [ ]
  24. 0/autotile/z_index_map = [ ]
  25. 0/occluder_offset = Vector2( 0, 0 )
  26. 0/navigation_offset = Vector2( 0, 0 )
  27. 0/shape_offset = Vector2( 0, 0 )
  28. 0/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 )
  29. 0/shape_one_way = false
  30. 0/shape_one_way_margin = 0.0
  31. 0/shapes = [ ]
  32. 0/z_index = 0
  33.  
  34. [node name="Room" type="Navigation2D"]
  35. script = ExtResource( 3 )
  36. ObjectRootPath = NodePath("ObjectRoot")
  37. YSortRootPath = NodePath("SortRoot")
  38. TopTilePath = NodePath("SortRoot/MiddleTileMap/TopTileMap")
  39. MiddleTilePath = NodePath("SortRoot/MiddleTileMap")
  40. FloorTilePath = NodePath("SortRoot/MiddleTileMap/FloorTileMap")
  41.  
  42. [node name="WorldEnvironment" type="WorldEnvironment" parent="."]
  43. environment = SubResource( 1 )
  44.  
  45. [node name="Camera2D" type="Camera2D" parent="."]
  46. position = Vector2( 253, 219 )
  47. current = true
  48. limit_smoothed = true
  49. editor_draw_drag_margin = true
  50. script = ExtResource( 5 )
  51.  
  52. [node name="ObjectRoot" type="Node2D" parent="."]
  53.  
  54. [node name="SortRoot" type="YSort" parent="."]
  55.  
  56. [node name="MiddleTileMap" type="TileMap" parent="SortRoot"]
  57. cell_size = Vector2( 16, 16 )
  58. cell_tile_origin = 2
  59. cell_y_sort = true
  60. bake_navigation = true
  61. format = 1
  62.  
  63. [node name="TopTileMap" type="TileMap" parent="SortRoot/MiddleTileMap"]
  64. z_index = 10
  65. cell_size = Vector2( 16, 16 )
  66. bake_navigation = true
  67. format = 1
  68.  
  69. [node name="FloorTileMap" type="TileMap" parent="SortRoot/MiddleTileMap"]
  70. z_index = -10
  71. tile_set = SubResource( 2 )
  72. cell_size = Vector2( 16, 16 )
  73. bake_navigation = true
  74. format = 1