Game.tscn 1.2 KB

1234567891011121314151617181920212223242526
  1. [gd_scene load_steps=5 format=2]
  2. [ext_resource path="res://tileset/tileset.tres" type="TileSet" id=1]
  3. [ext_resource path="res://pathfind_astar.gd" type="Script" id=2]
  4. [ext_resource path="res://character.gd" type="Script" id=3]
  5. [ext_resource path="res://sprites/character.png" type="Texture" id=4]
  6. [node name="Game" type="Node2D"]
  7. [node name="TileMap" type="TileMap" parent="."]
  8. tile_set = ExtResource( 1 )
  9. format = 1
  10. tile_data = PoolIntArray( 65537, 0, 0, 65541, 0, 0, 65545, 0, 0, 65550, 0, 0, 196614, 0, 0, 196615, 0, 0, 196616, 0, 0, 196617, 0, 0, 196618, 0, 0, 196619, 0, 0, 262145, 0, 0, 262146, 0, 0, 262147, 0, 0, 327683, 0, 0, 393219, 0, 0, 393220, 0, 0, 393221, 0, 0, 393222, 0, 0, 393226, 0, 0, 393227, 0, 0, 393228, 0, 0, 458761, 0, 0, 524290, 0, 0, 524291, 0, 0, 524292, 0, 0, 524293, 0, 0, 524294, 0, 0, 524295, 0, 0, 524296, 0, 0, 524297, 0, 0 )
  11. script = ExtResource( 2 )
  12. [node name="Character" type="Position2D" parent="."]
  13. position = Vector2( 32, 32 )
  14. script = ExtResource( 3 )
  15. [node name="Sprite" type="Sprite" parent="Character"]
  16. position = Vector2( 7, 0 )
  17. texture = ExtResource( 4 )
  18. [node name="Camera2D" type="Camera2D" parent="."]
  19. offset = Vector2( 512, 300 )
  20. current = true