diff --git a/README.md b/README.md index 6005fa7..18484ea 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,5 @@ # Iron-Throne +Sprites by: + Secret Hideout + diff --git a/Scenes/node_2d.tscn b/Scenes/node_2d.tscn index 098b828..caf81f6 100644 --- a/Scenes/node_2d.tscn +++ b/Scenes/node_2d.tscn @@ -1,50 +1,81 @@ -[gd_scene load_steps=5 format=3 uid="uid://m70jvfin8k5p"] +[gd_scene load_steps=4 format=3 uid="uid://b7gk4xq3pi1xe"] -[ext_resource type="Texture2D" uid="uid://coywpm8aqsltx" path="res://Sprites/iso_tileset.png" id="1_glwto"] -[ext_resource type="Script" path="res://Scripts/Ground.gd" id="2_s3ob6"] +[ext_resource type="Texture2D" uid="uid://duj2fsd82d01l" path="res://Sprites/tactics_tileset.png" id="1_0g0kt"] -[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_pt4t4"] -texture = ExtResource("1_glwto") +[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_rn8dl"] +texture = ExtResource("1_0g0kt") texture_region_size = Vector2i(32, 32) 0:0/0 = 0 -0:0/0/texture_origin = Vector2i(0, -8) +0:0/0/texture_origin = Vector2i(0, 8) 1:0/0 = 0 -1:0/0/texture_origin = Vector2i(0, -8) +1:0/0/texture_origin = Vector2i(0, 8) 2:0/0 = 0 -2:0/0/texture_origin = Vector2i(0, -8) +2:0/0/texture_origin = Vector2i(0, 8) 3:0/0 = 0 -3:0/0/texture_origin = Vector2i(0, -8) +3:0/0/texture_origin = Vector2i(0, 8) 4:0/0 = 0 -4:0/0/texture_origin = Vector2i(0, -8) +4:0/0/texture_origin = Vector2i(0, 8) 5:0/0 = 0 -5:0/0/texture_origin = Vector2i(0, -8) +5:0/0/texture_origin = Vector2i(0, 8) 6:0/0 = 0 -6:0/0/texture_origin = Vector2i(0, -8) +6:0/0/texture_origin = Vector2i(0, 8) +0:1/0 = 0 +0:1/0/texture_origin = Vector2i(0, 8) +1:1/0 = 0 +1:1/0/texture_origin = Vector2i(0, 8) +2:1/0 = 0 +2:1/0/texture_origin = Vector2i(0, 8) +3:1/0 = 0 +3:1/0/texture_origin = Vector2i(0, 8) +4:1/0 = 0 +4:1/0/texture_origin = Vector2i(0, 8) +5:1/0 = 0 +5:1/0/texture_origin = Vector2i(0, 8) +6:1/0 = 0 +6:1/0/texture_origin = Vector2i(0, 8) +0:2/0 = 0 +0:2/0/texture_origin = Vector2i(0, 8) +1:2/0 = 0 +1:2/0/texture_origin = Vector2i(0, 8) +2:2/0 = 0 +2:2/0/texture_origin = Vector2i(0, 8) +3:2/0 = 0 +3:2/0/texture_origin = Vector2i(0, 8) +4:2/0 = 0 +4:2/0/texture_origin = Vector2i(0, 8) +5:2/0 = 0 +5:2/0/texture_origin = Vector2i(0, 8) +0:3/0 = 0 +0:3/0/texture_origin = Vector2i(0, 8) +1:3/0 = 0 +1:3/0/texture_origin = Vector2i(0, 8) +2:3/0 = 0 +2:3/0/texture_origin = Vector2i(0, 8) +3:3/0 = 0 +3:3/0/texture_origin = Vector2i(0, 8) +4:3/0 = 0 +5:3/0 = 0 +6:3/0 = 0 -[sub_resource type="TileSet" id="TileSet_08ndw"] +[sub_resource type="TileSet" id="TileSet_7hv1k"] tile_shape = 1 tile_layout = 5 tile_offset_axis = 1 tile_size = Vector2i(32, 16) -sources/0 = SubResource("TileSetAtlasSource_pt4t4") +sources/0 = SubResource("TileSetAtlasSource_rn8dl") [node name="Node2D" type="Node2D"] -[node name="TileMap" type="TileMap" parent="."] +[node name="TacticsMap" type="TileMap" parent="."] y_sort_enabled = true -tile_set = SubResource("TileSet_08ndw") +position = Vector2(2.08165e-12, 2.08165e-12) +tile_set = SubResource("TileSet_7hv1k") format = 2 layer_0/name = "layer0" layer_0/y_sort_enabled = true -layer_0/tile_data = PackedInt32Array(5, 131072, 0, 6, 131072, 0, 65542, 131072, 0, 65543, 131072, 0, 131080, 131072, 0, 65544, 131072, 0, 65545, 131072, 0, 65546, 131072, 0, 65547, 131072, 0, 65548, 131072, 0, 65549, 131072, 0, 65550, 131072, 0, 131086, 131072, 0, 14, 131072, 0, 13, 131072, 0, -65523, 131072, 0, -65524, 0, 0, -65525, 0, 0, 11, 0, 0, 10, 0, 0, 7, 131072, 0, 8, 131072, 0, 9, 131072, 0, 12, 0, 0, -65527, 131072, 0, -65528, 131072, 0, -65530, 131072, 0, -65529, 131072, 0, -131062, 0, 0, -131061, 131072, 0, -131060, 131072, 0, -131063, 0, 0, -131064, 131072, 0, -131065, 131072, 0, -131066, 131072, 0, -196601, 131072, 0, -262137, 131072, 0, -262136, 131072, 0, -196600, 131072, 0, -196599, 131072, 0, -196598, 131072, 0, -262133, 131072, 0, -196597, 131072, 0, -262135, 131072, 0, -262132, 131072, 0, -196596, 131072, 0, -262134, 131072, 0, -65526, 0, 0, 393227, 131072, 0, 458763, 131072, 0, 458764, 131072, 0, 524300, 131072, 0, 524301, 131072, 0, 524302, 131072, 0, 589839, 131072, 0, 589840, 131072, 0, 524303, 131072, 0, 458766, 131072, 0, 458765, 131072, 0, 393228, 131072, 0, 393226, 131072, 0, 458762, 131072, 0, 524298, 131072, 0, 589834, 131072, 0, 655371, 131072, 0, 655372, 131072, 0, 655373, 131072, 0, 655374, 131072, 0, 655375, 131072, 0, 589838, 131072, 0, 589835, 131072, 0, 720908, 131072, 0, 720909, 131072, 0, 589837, 131072, 0, 589836, 131072, 0, 524299, 131072, 0, 327691, 327680, 0, 262155, 327680, 0, 196619, 327680, 0, 131083, 327680, 0) +layer_0/tile_data = PackedInt32Array(0, 196608, 0, 983055, 196608, 0, 1048592, 196608, 0, 65536, 196608, 0, 131072, 196608, 0, 196608, 196608, 0, 262144, 196608, 0, 327680, 196608, 0, 393216, 196608, 0, 458752, 196608, 0, 524288, 196608, 0, 589824, 196608, 0, 655360, 196608, 0, 720896, 196608, 0, 786432, 196608, 0, 851968, 196608, 0, 917504, 196608, 0, 983040, 196608, 0, 1048576, 196608, 0, 1, 196608, 0, 65537, 196608, 0, 131073, 196608, 0, 196609, 196608, 0, 262145, 196608, 0, 327681, 196608, 0, 393217, 196608, 0, 458753, 196608, 0, 524289, 196608, 0, 589825, 196608, 0, 655361, 196608, 0, 720897, 196608, 0, 786433, 196608, 0, 851969, 196608, 0, 917505, 196608, 0, 983041, 196608, 0, 1048577, 196608, 0, 2, 196608, 0, 65538, 196608, 0, 131074, 196608, 0, 196610, 196608, 0, 262146, 196608, 0, 327682, 196608, 0, 393218, 196608, 0, 458754, 196608, 0, 524290, 196608, 0, 589826, 196608, 0, 655362, 196608, 0, 720898, 196608, 0, 786434, 196608, 0, 851970, 196608, 0, 917506, 196608, 0, 983042, 196608, 0, 1048578, 196608, 0, 3, 196608, 0, 65539, 196608, 0, 131075, 196608, 0, 196611, 196608, 0, 262147, 196608, 0, 327683, 196608, 0, 393219, 196608, 0, 458755, 196608, 0, 524291, 196608, 0, 589827, 196608, 0, 655363, 196608, 0, 720899, 196608, 0, 786435, 196608, 0, 851971, 196608, 0, 917507, 196608, 0, 983043, 196608, 0, 1048579, 196608, 0, 4, 196608, 0, 65540, 196608, 0, 131076, 196608, 0, 196612, 196608, 0, 262148, 196608, 0, 327684, 196608, 0, 393220, 196608, 0, 458756, 196608, 0, 524292, 196608, 0, 589828, 196608, 0, 655364, 196608, 0, 720900, 196608, 0, 786436, 196608, 0, 851972, 196608, 0, 917508, 196608, 0, 983044, 196608, 0, 1048580, 196608, 0, 5, 196608, 0, 65541, 196608, 0, 131077, 196608, 0, 196613, 196608, 0, 262149, 196608, 0, 327685, 196608, 0, 393221, 196608, 0, 458757, 196608, 0, 524293, 196608, 0, 589829, 196608, 0, 655365, 196608, 0, 720901, 196608, 0, 786437, 196608, 0, 851973, 196608, 0, 917509, 196608, 0, 983045, 196608, 0, 1048581, 196608, 0, 6, 196608, 0, 65542, 196608, 0, 131078, 196608, 0, 196614, 196608, 0, 262150, 196608, 0, 327686, 196608, 0, 393222, 196608, 0, 458758, 196608, 0, 524294, 196608, 0, 589830, 196608, 0, 655366, 196608, 0, 720902, 196608, 0, 786438, 196608, 0, 851974, 196608, 0, 917510, 196608, 0, 983046, 196608, 0, 1048582, 196608, 0, 7, 196608, 0, 65543, 196608, 0, 131079, 196608, 0, 196615, 196608, 0, 262151, 196608, 0, 327687, 196608, 0, 393223, 196608, 0, 458759, 196608, 0, 524295, 196608, 0, 589831, 196608, 0, 655367, 196608, 0, 720903, 196608, 0, 786439, 196608, 0, 851975, 196608, 0, 917511, 196608, 0, 983047, 196608, 0, 1048583, 196608, 0, 8, 196608, 0, 65544, 196608, 0, 131080, 196608, 0, 196616, 196608, 0, 262152, 196608, 0, 327688, 196608, 0, 393224, 196608, 0, 458760, 196608, 0, 524296, 196608, 0, 589832, 196608, 0, 655368, 196608, 0, 720904, 196608, 0, 786440, 196608, 0, 851976, 196608, 0, 917512, 196608, 0, 983048, 196608, 0, 1048584, 196608, 0, 9, 196608, 0, 65545, 196608, 0, 131081, 196608, 0, 196617, 196608, 0, 262153, 196608, 0, 327689, 196608, 0, 393225, 196608, 0, 458761, 196608, 0, 524297, 196608, 0, 589833, 196608, 0, 655369, 196608, 0, 720905, 196608, 0, 786441, 196608, 0, 851977, 196608, 0, 917513, 196608, 0, 983049, 196608, 0, 1048585, 196608, 0, 10, 196608, 0, 65546, 196608, 0, 131082, 196608, 0, 196618, 196608, 0, 262154, 196608, 0, 327690, 196608, 0, 393226, 196608, 0, 458762, 196608, 0, 524298, 196608, 0, 589834, 196608, 0, 655370, 196608, 0, 720906, 196608, 0, 786442, 196608, 0, 851978, 196608, 0, 917514, 196608, 0, 983050, 196608, 0, 1048586, 196608, 0, 11, 196608, 0, 65547, 196608, 0, 131083, 196608, 0, 196619, 196608, 0, 262155, 196608, 0, 327691, 196608, 0, 393227, 196608, 0, 458763, 196608, 0, 524299, 196608, 0, 589835, 196608, 0, 655371, 196608, 0, 720907, 196608, 0, 786443, 196608, 0, 851979, 196608, 0, 917515, 196608, 0, 983051, 196608, 0, 1048587, 196608, 0, 12, 196608, 0, 65548, 196608, 0, 131084, 196608, 0, 196620, 196608, 0, 262156, 196608, 0, 327692, 196608, 0, 393228, 196608, 0, 458764, 196608, 0, 524300, 196608, 0, 589836, 196608, 0, 655372, 196608, 0, 720908, 196608, 0, 786444, 196608, 0, 851980, 196608, 0, 917516, 196608, 0, 983052, 196608, 0, 1048588, 196608, 0, 13, 196608, 0, 65549, 196608, 0, 131085, 196608, 0, 196621, 196608, 0, 262157, 196608, 0, 327693, 196608, 0, 393229, 196608, 0, 458765, 196608, 0, 524301, 196608, 0, 589837, 196608, 0, 655373, 196608, 0, 720909, 196608, 0, 786445, 196608, 0, 851981, 196608, 0, 917517, 196608, 0, 983053, 196608, 0, 1048589, 196608, 0, 14, 196608, 0, 65550, 196608, 0, 131086, 196608, 0, 196622, 196608, 0, 262158, 196608, 0, 327694, 196608, 0, 393230, 196608, 0, 458766, 196608, 0, 524302, 196608, 0, 589838, 196608, 0, 655374, 196608, 0, 720910, 196608, 0, 786446, 196608, 0, 851982, 196608, 0, 917518, 196608, 0, 983054, 196608, 0, 1048590, 196608, 0, 15, 196608, 0, 65551, 196608, 0, 131087, 196608, 0, 196623, 196608, 0, 262159, 196608, 0, 327695, 196608, 0, 393231, 196608, 0, 458767, 196608, 0, 524303, 196608, 0, 589839, 196608, 0, 655375, 196608, 0, 720911, 196608, 0, 786447, 196608, 0, 851983, 196608, 0, 917519, 196608, 0, 1048591, 196608, 0, 16, 196608, 0, 65552, 196608, 0, 131088, 196608, 0, 196624, 196608, 0, 262160, 196608, 0, 327696, 196608, 0, 393232, 196608, 0, 458768, 196608, 0, 524304, 196608, 0, 589840, 196608, 0, 655376, 196608, 0, 720912, 196608, 0, 786448, 196608, 0, 851984, 196608, 0, 917520, 196608, 0, 983056, 196608, 0) layer_1/name = "layer1" layer_1/y_sort_enabled = true -layer_1/y_sort_origin = 1 +layer_1/y_sort_origin = 16 layer_1/z_index = 1 -layer_1/tile_data = PackedInt32Array(-131065, 65536, 0) -layer_2/name = "layer2" -layer_2/y_sort_enabled = true -layer_2/y_sort_origin = 2 -layer_2/z_index = 2 -layer_2/tile_data = PackedInt32Array(-196602, 393216, 0) -script = ExtResource("2_s3ob6") +layer_1/tile_data = PackedInt32Array(65538, 0, 3, 131074, 0, 3, 196610, 0, 3, 262146, 0, 3, 327682, 0, 3, 65539, 0, 3, 131075, 0, 3, 196611, 0, 3, 262147, 0, 3, 327683, 0, 3, 65540, 0, 3, 131076, 0, 3, 196612, 0, 3, 262148, 0, 3, 327684, 0, 3, 65541, 0, 3, 131077, 0, 3, 196613, 0, 3, 262149, 0, 3, 327685, 0, 3, 65542, 0, 3, 131078, 0, 3, 196614, 0, 3, 262150, 0, 3, 327686, 0, 3, 393220, 0, 3, 458756, 0, 3, 393221, 0, 3, 458757, 0, 3, 393222, 0, 3, 458758, 0, 3, 131079, 0, 3, 196615, 0, 3, 262151, 0, 3, 327687, 0, 3, 393223, 0, 3, 458759, 0, 3, 131080, 0, 3, 196616, 0, 3, 262152, 0, 3, 327688, 0, 3, 393224, 0, 3, 458760, 0, 3, 131081, 0, 3, 196617, 0, 3, 262153, 0, 3, 327689, 0, 3, 393225, 0, 3, 458761, 0, 3, 65552, 0, 3) diff --git a/Scripts/Ground.gd b/Scripts/iso_tileset.gd similarity index 97% rename from Scripts/Ground.gd rename to Scripts/iso_tileset.gd index 7336837..7903d45 100644 --- a/Scripts/Ground.gd +++ b/Scripts/iso_tileset.gd @@ -1,3 +1,5 @@ +# mapped to iso_tileset.png + # https://youtu.be/dclc8w6JW7Y?si=QSu2dwSILyatO_oa extends TileMap diff --git a/Sprites/tactics_tileset.png b/Sprites/tactics_tileset.png new file mode 100644 index 0000000..3746e16 Binary files /dev/null and b/Sprites/tactics_tileset.png differ diff --git a/Sprites/tactics_tileset.png.import b/Sprites/tactics_tileset.png.import new file mode 100644 index 0000000..e62465a --- /dev/null +++ b/Sprites/tactics_tileset.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://duj2fsd82d01l" +path="res://.godot/imported/tactics_tileset.png-0968324724da63c621528189c1e4bac3.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://Sprites/tactics_tileset.png" +dest_files=["res://.godot/imported/tactics_tileset.png-0968324724da63c621528189c1e4bac3.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1