DecoTiles.tscn 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. [gd_scene load_steps=7 format=3 uid="uid://c145qqkvy8pr5"]
  2. [ext_resource type="Texture2D" uid="uid://cnexuteg5rvye" path="res://Assets/Sprites/Tilesets/Deco/DecoTemplate.png" id="1_lawed"]
  3. [ext_resource type="Script" uid="uid://cbal8ms2oe1ik" path="res://Scripts/Classes/Components/ResourceSetterNew.gd" id="3_lawed"]
  4. [ext_resource type="Script" uid="uid://73oviwf6bbys" path="res://Scripts/Classes/Components/TilesetTextureSetter.gd" id="3_mv6fy"]
  5. [ext_resource type="JSON" path="res://Assets/Sprites/Tilesets/Deco/DecoTiles.json" id="4_boeqk"]
  6. [sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_3eywr"]
  7. texture = ExtResource("1_lawed")
  8. 0:0/0 = 0
  9. 1:0/0 = 0
  10. 2:0/0 = 0
  11. 3:0/0 = 0
  12. 4:0/0 = 0
  13. 0:1/0 = 0
  14. 1:1/0 = 0
  15. 2:1/0 = 0
  16. 3:1/0 = 0
  17. 4:1/0 = 0
  18. [sub_resource type="TileSet" id="TileSet_b50pv"]
  19. sources/0 = SubResource("TileSetAtlasSource_3eywr")
  20. [node name="DecoTiles" type="TileMapLayer"]
  21. visibility_layer = 2
  22. z_index = -10
  23. tile_set = SubResource("TileSet_b50pv")
  24. [node name="TilesetTextureSetter" type="Node" parent="." node_paths=PackedStringArray("tile_map")]
  25. script = ExtResource("3_mv6fy")
  26. tile_map = NodePath("..")
  27. metadata/_custom_type_script = "uid://73oviwf6bbys"
  28. [node name="ResourceSetterNew" type="Node" parent="." node_paths=PackedStringArray("node_to_affect")]
  29. script = ExtResource("3_lawed")
  30. node_to_affect = NodePath("../TilesetTextureSetter")
  31. property_name = "texture"
  32. mode = 1
  33. resource_json = ExtResource("4_boeqk")
  34. metadata/_custom_type_script = "uid://cbal8ms2oe1ik"