Update hex map demo

This commit is contained in:
Aaron Franke
2020-02-02 22:19:14 -05:00
parent db6967868f
commit 7421736568
59 changed files with 255 additions and 207 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.4 KiB

After

Width:  |  Height:  |  Size: 20 KiB

View File

@@ -3,16 +3,15 @@
[ext_resource path="res://tileset.tres" type="TileSet" id=1]
[ext_resource path="res://troll.tscn" type="PackedScene" id=2]
[node name="Node2D" type="Node2D"]
[node name="Map" type="Node2D"]
[node name="TileMap" type="TileMap" parent="."]
tile_set = ExtResource( 1 )
cell_size = Vector2( 82, 94 )
cell_half_offset = 1
cell_tile_origin = 1
centered_textures = true
format = 1
tile_data = PoolIntArray( -458747, 0, 0, -458746, 0, 0, -393212, 0, 0, -393211, 0, 0, -393210, 0, 0, -393209, 0, 0, -393208, 0, 0, -393207, 0, 0, -327678, 0, 0, -327677, 0, 0, -327676, 0, 0, -327675, 6, 0, -327674, 6, 0, -327673, 6, 0, -327672, 6, 0, -327671, 0, 0, -327670, 0, 0, -327669, 0, 0, -262142, 0, 0, -262141, 0, 0, -262140, 6, 0, -262139, 6, 0, -262138, 6, 0, -262137, 6, 0, -262136, 6, 0, -262135, 0, 0, -262134, 0, 0, -262133, 0, 0, -262132, 0, 0, -262131, 0, -1200553578, -196606, 0, 0, -196605, 0, 0, -196604, 6, 0, -196603, 6, 0, -196602, 6, 0, -196601, 6, 0, -196600, 1, 0, -196599, 0, 0, -196598, 1, 0, -196597, 1, 0, -196596, 0, 0, -196595, 0, -1200553578, -196594, 0, -1200553578, -131071, 9, 0, -131070, 0, 0, -131069, 0, 0, -131068, 2, 0, -131067, 2, 0, -131066, 0, 0, -131065, 21, 0, -131064, 19, 0, -131063, 0, 0, -131062, 0, 0, -131061, 16, -1200553578, -131060, 0, -1200553578, -131059, 0, 0, -131058, 0, 0, -131057, 0, 0, -131056, 0, -1200553578, -65534, 0, 0, -65533, 1, 0, -65532, 0, 0, -65531, 0, 0, -65530, 20, 0, -65529, 19, 0, -65528, 2, 0, -65527, 0, 0, -65526, 14, 0, -65525, 0, -1200553578, -65524, 0, 0, -65523, 0, 0, -65522, 23, 0, -65521, 0, 0, -65520, 0, -1200553578, -65519, 0, -1200553578, 3, 1, 0, 4, 2, 0, 5, 0, 0, 6, 1, 0, 7, 1, -1200553578, 8, 0, -1200553578, 9, 10, -1200553578, 10, 12, -1200553578, 11, 0, -1200553578, 12, 0, 0, 13, 8, 0, 14, 0, 0, 15, 0, 0, 16, 0, 0, 17, 0, 0, 65538, 0, -1200553578, 65539, 0, 0, 65540, 2, 0, 65541, 0, 0, 65542, 1, 0, 65543, 15, -1200553578, 65544, 0, 0, 65545, 0, 0, 65546, 0, 0, 65547, 0, 0, 65548, 0, 0, 65549, 25, 0, 65550, 8, 0, 65551, 0, 0, 65552, 21, 0, 65553, 0, 0, 131074, 0, -1200553578, 131075, 1, 0, 131076, 0, 0, 131077, 1, 0, 131078, 0, 0, 131079, 0, 0, 131080, 0, 0, 131081, 5, 0, 131082, 0, 0, 131083, 0, 0, 131084, 0, 0, 131085, 0, 0, 131086, 0, 0, 131087, 0, 0, 131088, 0, 0, 131089, 0, 0, 196610, 0, -1200553578, 196611, 0, 0, 196612, 0, 0, 196613, 23, 0, 196614, 0, 0, 196615, 0, 0, 196616, 0, 0, 196617, 5, 0, 196618, 5, 0, 196619, 0, 0, 196620, 0, 0, 196621, 0, 0, 196622, 0, 0, 196623, 23, 0, 196624, 0, 0, 262148, 0, 0, 262149, 0, 0, 262150, 0, 0, 262151, 0, 0, 262152, 8, 0, 262153, 5, 0, 262154, 5, 0, 262155, 0, 0, 262156, 0, 0, 262157, 21, 0, 262158, 0, 0, 262159, 0, 0, 262160, 0, 0, 327686, 0, 0, 327687, 0, 0, 327688, 0, 0, 327689, 0, 0, 327690, 0, 0, 327691, 0, 0, 327692, 0, 0, 327693, 0, 0, 327694, 0, 0 )
[node name="troll" parent="." instance=ExtResource( 2 )]
[node name="Troll" parent="." instance=ExtResource( 2 )]
position = Vector2( 602.819, -39.2876 )

View File

@@ -31,24 +31,36 @@ singletons=[ ]
[input]
move_bottom={
move_down={
"deadzone": 0.5,
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777234,"unicode":0,"echo":false,"script":null)
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":83,"unicode":0,"echo":false,"script":null)
, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":13,"pressure":0.0,"pressed":false,"script":null)
, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":0,"axis":1,"axis_value":1.0,"script":null)
]
}
move_left={
"deadzone": 0.5,
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777231,"unicode":0,"echo":false,"script":null)
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":65,"unicode":0,"echo":false,"script":null)
, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":14,"pressure":0.0,"pressed":false,"script":null)
, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":0,"axis":0,"axis_value":-1.0,"script":null)
]
}
move_right={
"deadzone": 0.5,
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777233,"unicode":0,"echo":false,"script":null)
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":68,"unicode":0,"echo":false,"script":null)
, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":15,"pressure":0.0,"pressed":false,"script":null)
, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":0,"axis":0,"axis_value":1.0,"script":null)
]
}
move_up={
"deadzone": 0.5,
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777232,"unicode":0,"echo":false,"script":null)
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":87,"unicode":0,"echo":false,"script":null)
, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":12,"pressure":0.0,"pressed":false,"script":null)
, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":0,"axis":1,"axis_value":-1.0,"script":null)
]
}

View File

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 18 KiB

View File

@@ -2,15 +2,15 @@
importer="texture"
type="StreamTexture"
path="res://.import/WWT-01.png-d71b23a59ce633973e2216144d4c3cc7.stex"
path="res://.import/WWT-01.png-a74af26d994adfc547572b5b9c0c4034.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://WWT-01.png"
dest_files=[ "res://.import/WWT-01.png-d71b23a59ce633973e2216144d4c3cc7.stex" ]
source_file="res://tiles/WWT-01.png"
dest_files=[ "res://.import/WWT-01.png-a74af26d994adfc547572b5b9c0c4034.stex" ]
[params]

View File

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 20 KiB

View File

@@ -2,15 +2,15 @@
importer="texture"
type="StreamTexture"
path="res://.import/WWT-02.png-8c7a76bab1a896763ab37f5a7bf77904.stex"
path="res://.import/WWT-02.png-9a9ae8a623554db2531366e8a06b737a.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://WWT-02.png"
dest_files=[ "res://.import/WWT-02.png-8c7a76bab1a896763ab37f5a7bf77904.stex" ]
source_file="res://tiles/WWT-02.png"
dest_files=[ "res://.import/WWT-02.png-9a9ae8a623554db2531366e8a06b737a.stex" ]
[params]

View File

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 20 KiB

View File

@@ -2,15 +2,15 @@
importer="texture"
type="StreamTexture"
path="res://.import/WWT-03.png-f804f0fa409c5c9ad521581b65c67f26.stex"
path="res://.import/WWT-03.png-111a68b27c5234ed5719f8591af32a0c.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://WWT-03.png"
dest_files=[ "res://.import/WWT-03.png-f804f0fa409c5c9ad521581b65c67f26.stex" ]
source_file="res://tiles/WWT-03.png"
dest_files=[ "res://.import/WWT-03.png-111a68b27c5234ed5719f8591af32a0c.stex" ]
[params]

View File

Before

Width:  |  Height:  |  Size: 19 KiB

After

Width:  |  Height:  |  Size: 19 KiB

View File

@@ -2,15 +2,15 @@
importer="texture"
type="StreamTexture"
path="res://.import/WWT-04.png-a50f93109e34b533b1855a7ef46475b2.stex"
path="res://.import/WWT-04.png-f26081179f39965c61294d932b10ab21.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://WWT-04.png"
dest_files=[ "res://.import/WWT-04.png-a50f93109e34b533b1855a7ef46475b2.stex" ]
source_file="res://tiles/WWT-04.png"
dest_files=[ "res://.import/WWT-04.png-f26081179f39965c61294d932b10ab21.stex" ]
[params]

View File

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 20 KiB

View File

@@ -2,15 +2,15 @@
importer="texture"
type="StreamTexture"
path="res://.import/WWT-05.png-deee12124c9c3ab8368902f7733ff079.stex"
path="res://.import/WWT-05.png-744e3aac04e57d14153c9ab15d0f478b.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://WWT-05.png"
dest_files=[ "res://.import/WWT-05.png-deee12124c9c3ab8368902f7733ff079.stex" ]
source_file="res://tiles/WWT-05.png"
dest_files=[ "res://.import/WWT-05.png-744e3aac04e57d14153c9ab15d0f478b.stex" ]
[params]

View File

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 20 KiB

View File

@@ -2,15 +2,15 @@
importer="texture"
type="StreamTexture"
path="res://.import/WWT-06.png-a16b61cdadeeed4ab2c9f5eec8b79c7c.stex"
path="res://.import/WWT-06.png-42fd05901daa928f55c39f581f1c698b.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://WWT-06.png"
dest_files=[ "res://.import/WWT-06.png-a16b61cdadeeed4ab2c9f5eec8b79c7c.stex" ]
source_file="res://tiles/WWT-06.png"
dest_files=[ "res://.import/WWT-06.png-42fd05901daa928f55c39f581f1c698b.stex" ]
[params]

View File

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 20 KiB

View File

@@ -2,15 +2,15 @@
importer="texture"
type="StreamTexture"
path="res://.import/WWT-07.png-7cc4023daef4567752735bf79f2ccd12.stex"
path="res://.import/WWT-07.png-8e87a5146f132f36aecf29c26d16ff69.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://WWT-07.png"
dest_files=[ "res://.import/WWT-07.png-7cc4023daef4567752735bf79f2ccd12.stex" ]
source_file="res://tiles/WWT-07.png"
dest_files=[ "res://.import/WWT-07.png-8e87a5146f132f36aecf29c26d16ff69.stex" ]
[params]

View File

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 20 KiB

View File

@@ -2,15 +2,15 @@
importer="texture"
type="StreamTexture"
path="res://.import/WWT-08.png-7eaf3eb568b0293e3b28374e0bcfdf76.stex"
path="res://.import/WWT-08.png-9ab3b0ed6304c6b282e0c1c2866f4c65.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://WWT-08.png"
dest_files=[ "res://.import/WWT-08.png-7eaf3eb568b0293e3b28374e0bcfdf76.stex" ]
source_file="res://tiles/WWT-08.png"
dest_files=[ "res://.import/WWT-08.png-9ab3b0ed6304c6b282e0c1c2866f4c65.stex" ]
[params]

View File

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 20 KiB

View File

@@ -2,15 +2,15 @@
importer="texture"
type="StreamTexture"
path="res://.import/WWT-09.png-05c1bd2bd71982b595886c84d0655094.stex"
path="res://.import/WWT-09.png-c899d1db7b10c4bc6e5c8ad44627c439.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://WWT-09.png"
dest_files=[ "res://.import/WWT-09.png-05c1bd2bd71982b595886c84d0655094.stex" ]
source_file="res://tiles/WWT-09.png"
dest_files=[ "res://.import/WWT-09.png-c899d1db7b10c4bc6e5c8ad44627c439.stex" ]
[params]

View File

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 20 KiB

View File

@@ -2,15 +2,15 @@
importer="texture"
type="StreamTexture"
path="res://.import/WWT-10.png-21f5bebc271347b73cd120c7671bcc04.stex"
path="res://.import/WWT-10.png-c7e17e1ca741da0752bae015501fa73f.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://WWT-10.png"
dest_files=[ "res://.import/WWT-10.png-21f5bebc271347b73cd120c7671bcc04.stex" ]
source_file="res://tiles/WWT-10.png"
dest_files=[ "res://.import/WWT-10.png-c7e17e1ca741da0752bae015501fa73f.stex" ]
[params]

View File

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 20 KiB

View File

@@ -2,15 +2,15 @@
importer="texture"
type="StreamTexture"
path="res://.import/WWT-11.png-c278f158b8ebe9b98a71fa01d357ea55.stex"
path="res://.import/WWT-11.png-109af6474e89a87a4598cb99f608a4f7.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://WWT-11.png"
dest_files=[ "res://.import/WWT-11.png-c278f158b8ebe9b98a71fa01d357ea55.stex" ]
source_file="res://tiles/WWT-11.png"
dest_files=[ "res://.import/WWT-11.png-109af6474e89a87a4598cb99f608a4f7.stex" ]
[params]

View File

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 20 KiB

View File

@@ -2,15 +2,15 @@
importer="texture"
type="StreamTexture"
path="res://.import/WWT-12.png-f99f6470cbf7469390137cc1b1eac0b1.stex"
path="res://.import/WWT-12.png-dfbf3da77ce636a3e88f9e62405a950b.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://WWT-12.png"
dest_files=[ "res://.import/WWT-12.png-f99f6470cbf7469390137cc1b1eac0b1.stex" ]
source_file="res://tiles/WWT-12.png"
dest_files=[ "res://.import/WWT-12.png-dfbf3da77ce636a3e88f9e62405a950b.stex" ]
[params]

View File

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 18 KiB

View File

@@ -2,15 +2,15 @@
importer="texture"
type="StreamTexture"
path="res://.import/WWT-13.png-b831a7b68dbcdd483e454623cca7af6a.stex"
path="res://.import/WWT-13.png-cef8d6fe42386e917ad3aa9b9c54f031.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://WWT-13.png"
dest_files=[ "res://.import/WWT-13.png-b831a7b68dbcdd483e454623cca7af6a.stex" ]
source_file="res://tiles/WWT-13.png"
dest_files=[ "res://.import/WWT-13.png-cef8d6fe42386e917ad3aa9b9c54f031.stex" ]
[params]

View File

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 18 KiB

View File

@@ -2,15 +2,15 @@
importer="texture"
type="StreamTexture"
path="res://.import/WWT-14.png-473aa39bbfdbf2d9ac37478ba67ab5a8.stex"
path="res://.import/WWT-14.png-b9075987807eba6a461b896e310a1b8a.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://WWT-14.png"
dest_files=[ "res://.import/WWT-14.png-473aa39bbfdbf2d9ac37478ba67ab5a8.stex" ]
source_file="res://tiles/WWT-14.png"
dest_files=[ "res://.import/WWT-14.png-b9075987807eba6a461b896e310a1b8a.stex" ]
[params]

View File

Before

Width:  |  Height:  |  Size: 19 KiB

After

Width:  |  Height:  |  Size: 19 KiB

View File

@@ -2,15 +2,15 @@
importer="texture"
type="StreamTexture"
path="res://.import/WWT-15.png-f958cd09bdaf7066eb31dea2b35a59fe.stex"
path="res://.import/WWT-15.png-00500699e949fc7109f5946f459a9877.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://WWT-15.png"
dest_files=[ "res://.import/WWT-15.png-f958cd09bdaf7066eb31dea2b35a59fe.stex" ]
source_file="res://tiles/WWT-15.png"
dest_files=[ "res://.import/WWT-15.png-00500699e949fc7109f5946f459a9877.stex" ]
[params]

View File

Before

Width:  |  Height:  |  Size: 19 KiB

After

Width:  |  Height:  |  Size: 19 KiB

View File

@@ -2,15 +2,15 @@
importer="texture"
type="StreamTexture"
path="res://.import/WWT-16.png-1027e2a388bf820efb40bb630699acf6.stex"
path="res://.import/WWT-16.png-fbcd640a627612e528382718aecef7c7.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://WWT-16.png"
dest_files=[ "res://.import/WWT-16.png-1027e2a388bf820efb40bb630699acf6.stex" ]
source_file="res://tiles/WWT-16.png"
dest_files=[ "res://.import/WWT-16.png-fbcd640a627612e528382718aecef7c7.stex" ]
[params]

View File

Before

Width:  |  Height:  |  Size: 19 KiB

After

Width:  |  Height:  |  Size: 19 KiB

View File

@@ -2,15 +2,15 @@
importer="texture"
type="StreamTexture"
path="res://.import/WWT-17.png-06a724fd2ea7c875038b30870c815f35.stex"
path="res://.import/WWT-17.png-eb18073021ced526bfb8971a84830c46.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://WWT-17.png"
dest_files=[ "res://.import/WWT-17.png-06a724fd2ea7c875038b30870c815f35.stex" ]
source_file="res://tiles/WWT-17.png"
dest_files=[ "res://.import/WWT-17.png-eb18073021ced526bfb8971a84830c46.stex" ]
[params]

View File

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 20 KiB

View File

@@ -2,15 +2,15 @@
importer="texture"
type="StreamTexture"
path="res://.import/WWT-18.png-a7a95e5daf469fc05529f5c4d9ffd83f.stex"
path="res://.import/WWT-18.png-82273bf41643f8f544a05cdc2226c3b8.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://WWT-18.png"
dest_files=[ "res://.import/WWT-18.png-a7a95e5daf469fc05529f5c4d9ffd83f.stex" ]
source_file="res://tiles/WWT-18.png"
dest_files=[ "res://.import/WWT-18.png-82273bf41643f8f544a05cdc2226c3b8.stex" ]
[params]

View File

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 20 KiB

View File

@@ -2,15 +2,15 @@
importer="texture"
type="StreamTexture"
path="res://.import/WWT-19.png-e53561a49d2426c56b7463fcfe7187ad.stex"
path="res://.import/WWT-19.png-5894de00e931e36aaec31583c3ddce5c.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://WWT-19.png"
dest_files=[ "res://.import/WWT-19.png-e53561a49d2426c56b7463fcfe7187ad.stex" ]
source_file="res://tiles/WWT-19.png"
dest_files=[ "res://.import/WWT-19.png-5894de00e931e36aaec31583c3ddce5c.stex" ]
[params]

View File

Before

Width:  |  Height:  |  Size: 19 KiB

After

Width:  |  Height:  |  Size: 19 KiB

View File

@@ -2,15 +2,15 @@
importer="texture"
type="StreamTexture"
path="res://.import/WWT-20.png-fa22d2cbc86525aa67ed5be2eb766f38.stex"
path="res://.import/WWT-20.png-88080834968c597a14e2fa47d72452ca.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://WWT-20.png"
dest_files=[ "res://.import/WWT-20.png-fa22d2cbc86525aa67ed5be2eb766f38.stex" ]
source_file="res://tiles/WWT-20.png"
dest_files=[ "res://.import/WWT-20.png-88080834968c597a14e2fa47d72452ca.stex" ]
[params]

View File

Before

Width:  |  Height:  |  Size: 19 KiB

After

Width:  |  Height:  |  Size: 19 KiB

View File

@@ -2,15 +2,15 @@
importer="texture"
type="StreamTexture"
path="res://.import/WWT-21.png-0650363bb3b67f7ad8ea91f2ed66a86c.stex"
path="res://.import/WWT-21.png-390238468871139dc33ef039ad919c91.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://WWT-21.png"
dest_files=[ "res://.import/WWT-21.png-0650363bb3b67f7ad8ea91f2ed66a86c.stex" ]
source_file="res://tiles/WWT-21.png"
dest_files=[ "res://.import/WWT-21.png-390238468871139dc33ef039ad919c91.stex" ]
[params]

View File

Before

Width:  |  Height:  |  Size: 19 KiB

After

Width:  |  Height:  |  Size: 19 KiB

View File

@@ -2,15 +2,15 @@
importer="texture"
type="StreamTexture"
path="res://.import/WWT-22.png-15702d71f9ada16455bd5ec251efa392.stex"
path="res://.import/WWT-22.png-61b6f2ffc488560cd737af0df3a2aff4.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://WWT-22.png"
dest_files=[ "res://.import/WWT-22.png-15702d71f9ada16455bd5ec251efa392.stex" ]
source_file="res://tiles/WWT-22.png"
dest_files=[ "res://.import/WWT-22.png-61b6f2ffc488560cd737af0df3a2aff4.stex" ]
[params]

View File

Before

Width:  |  Height:  |  Size: 19 KiB

After

Width:  |  Height:  |  Size: 19 KiB

View File

@@ -2,15 +2,15 @@
importer="texture"
type="StreamTexture"
path="res://.import/WWT-23.png-b96b4e3e762993c848a02a5920369963.stex"
path="res://.import/WWT-23.png-67ddb05725964560ee768025fb1ace6c.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://WWT-23.png"
dest_files=[ "res://.import/WWT-23.png-b96b4e3e762993c848a02a5920369963.stex" ]
source_file="res://tiles/WWT-23.png"
dest_files=[ "res://.import/WWT-23.png-67ddb05725964560ee768025fb1ace6c.stex" ]
[params]

View File

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 18 KiB

View File

@@ -2,15 +2,15 @@
importer="texture"
type="StreamTexture"
path="res://.import/WWT-24.png-51252af7231f3c2108e03f43e485e5c9.stex"
path="res://.import/WWT-24.png-f708ede817cd745747bd03a5050d20d7.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://WWT-24.png"
dest_files=[ "res://.import/WWT-24.png-51252af7231f3c2108e03f43e485e5c9.stex" ]
source_file="res://tiles/WWT-24.png"
dest_files=[ "res://.import/WWT-24.png-f708ede817cd745747bd03a5050d20d7.stex" ]
[params]

View File

Before

Width:  |  Height:  |  Size: 19 KiB

After

Width:  |  Height:  |  Size: 19 KiB

View File

@@ -2,15 +2,15 @@
importer="texture"
type="StreamTexture"
path="res://.import/WWT-25.png-db9bd847f53180c4b408ac5fe5509089.stex"
path="res://.import/WWT-25.png-8d42552ab8c27a7d4782e3da8de397f1.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://WWT-25.png"
dest_files=[ "res://.import/WWT-25.png-db9bd847f53180c4b408ac5fe5509089.stex" ]
source_file="res://tiles/WWT-25.png"
dest_files=[ "res://.import/WWT-25.png-8d42552ab8c27a7d4782e3da8de397f1.stex" ]
[params]

View File

Before

Width:  |  Height:  |  Size: 19 KiB

After

Width:  |  Height:  |  Size: 19 KiB

View File

@@ -2,15 +2,15 @@
importer="texture"
type="StreamTexture"
path="res://.import/WWT-26.png-58e5c6364a04c3baa8d4707bfd79d68c.stex"
path="res://.import/WWT-26.png-317f2102fb6abd09801389544f53c0e1.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://WWT-26.png"
dest_files=[ "res://.import/WWT-26.png-58e5c6364a04c3baa8d4707bfd79d68c.stex" ]
source_file="res://tiles/WWT-26.png"
dest_files=[ "res://.import/WWT-26.png-317f2102fb6abd09801389544f53c0e1.stex" ]
[params]

View File

@@ -1,240 +1,290 @@
[gd_resource type="TileSet" load_steps=27 format=2]
[ext_resource path="res://WWT-01.png" type="Texture" id=1]
[ext_resource path="res://WWT-02.png" type="Texture" id=2]
[ext_resource path="res://WWT-11.png" type="Texture" id=3]
[ext_resource path="res://WWT-12.png" type="Texture" id=4]
[ext_resource path="res://WWT-13.png" type="Texture" id=5]
[ext_resource path="res://WWT-14.png" type="Texture" id=6]
[ext_resource path="res://WWT-15.png" type="Texture" id=7]
[ext_resource path="res://WWT-16.png" type="Texture" id=8]
[ext_resource path="res://WWT-17.png" type="Texture" id=9]
[ext_resource path="res://WWT-18.png" type="Texture" id=10]
[ext_resource path="res://WWT-19.png" type="Texture" id=11]
[ext_resource path="res://WWT-20.png" type="Texture" id=12]
[ext_resource path="res://WWT-03.png" type="Texture" id=13]
[ext_resource path="res://WWT-21.png" type="Texture" id=14]
[ext_resource path="res://WWT-22.png" type="Texture" id=15]
[ext_resource path="res://WWT-23.png" type="Texture" id=16]
[ext_resource path="res://WWT-24.png" type="Texture" id=17]
[ext_resource path="res://WWT-25.png" type="Texture" id=18]
[ext_resource path="res://WWT-26.png" type="Texture" id=19]
[ext_resource path="res://WWT-04.png" type="Texture" id=20]
[ext_resource path="res://WWT-05.png" type="Texture" id=21]
[ext_resource path="res://WWT-06.png" type="Texture" id=22]
[ext_resource path="res://WWT-07.png" type="Texture" id=23]
[ext_resource path="res://WWT-08.png" type="Texture" id=24]
[ext_resource path="res://WWT-09.png" type="Texture" id=25]
[ext_resource path="res://WWT-10.png" type="Texture" id=26]
[ext_resource path="res://tiles/WWT-01.png" type="Texture" id=1]
[ext_resource path="res://tiles/WWT-02.png" type="Texture" id=2]
[ext_resource path="res://tiles/WWT-11.png" type="Texture" id=3]
[ext_resource path="res://tiles/WWT-12.png" type="Texture" id=4]
[ext_resource path="res://tiles/WWT-13.png" type="Texture" id=5]
[ext_resource path="res://tiles/WWT-14.png" type="Texture" id=6]
[ext_resource path="res://tiles/WWT-15.png" type="Texture" id=7]
[ext_resource path="res://tiles/WWT-16.png" type="Texture" id=8]
[ext_resource path="res://tiles/WWT-17.png" type="Texture" id=9]
[ext_resource path="res://tiles/WWT-18.png" type="Texture" id=10]
[ext_resource path="res://tiles/WWT-19.png" type="Texture" id=11]
[ext_resource path="res://tiles/WWT-20.png" type="Texture" id=12]
[ext_resource path="res://tiles/WWT-03.png" type="Texture" id=13]
[ext_resource path="res://tiles/WWT-21.png" type="Texture" id=14]
[ext_resource path="res://tiles/WWT-22.png" type="Texture" id=15]
[ext_resource path="res://tiles/WWT-23.png" type="Texture" id=16]
[ext_resource path="res://tiles/WWT-24.png" type="Texture" id=17]
[ext_resource path="res://tiles/WWT-25.png" type="Texture" id=18]
[ext_resource path="res://tiles/WWT-26.png" type="Texture" id=19]
[ext_resource path="res://tiles/WWT-04.png" type="Texture" id=20]
[ext_resource path="res://tiles/WWT-05.png" type="Texture" id=21]
[ext_resource path="res://tiles/WWT-06.png" type="Texture" id=22]
[ext_resource path="res://tiles/WWT-07.png" type="Texture" id=23]
[ext_resource path="res://tiles/WWT-08.png" type="Texture" id=24]
[ext_resource path="res://tiles/WWT-09.png" type="Texture" id=25]
[ext_resource path="res://tiles/WWT-10.png" type="Texture" id=26]
[resource]
0/name = "Tile 1"
0/name = "Tile1"
0/texture = ExtResource( 1 )
0/tex_offset = Vector2( 0, 0 )
0/modulate = Color( 1, 1, 1, 1 )
0/region = Rect2( 0, 0, 128, 128 )
0/tile_mode = 0
0/occluder_offset = Vector2( 0, 0 )
0/navigation_offset = Vector2( 0, 0 )
0/shapes = [ ]
1/name = "Tile 2"
0/z_index = 0
1/name = "Tile2"
1/texture = ExtResource( 2 )
1/tex_offset = Vector2( 0, 0 )
1/modulate = Color( 1, 1, 1, 1 )
1/region = Rect2( 0, 0, 128, 128 )
1/tile_mode = 0
1/occluder_offset = Vector2( 0, 0 )
1/navigation_offset = Vector2( 0, 0 )
1/shapes = [ ]
2/name = "Tile 3"
1/z_index = 0
2/name = "Tile3"
2/texture = ExtResource( 13 )
2/tex_offset = Vector2( 0, 0 )
2/modulate = Color( 1, 1, 1, 1 )
2/region = Rect2( 0, 0, 128, 128 )
2/tile_mode = 0
2/occluder_offset = Vector2( 0, 0 )
2/navigation_offset = Vector2( 0, 0 )
2/shapes = [ ]
3/name = "Tile 4"
2/z_index = 0
3/name = "Tile4"
3/texture = ExtResource( 20 )
3/tex_offset = Vector2( 0, 0 )
3/modulate = Color( 1, 1, 1, 1 )
3/region = Rect2( 0, 0, 128, 128 )
3/tile_mode = 0
3/occluder_offset = Vector2( 0, 0 )
3/navigation_offset = Vector2( 0, 0 )
3/shapes = [ ]
4/name = "Tile 5"
3/z_index = 0
4/name = "Tile5"
4/texture = ExtResource( 21 )
4/tex_offset = Vector2( 0, 0 )
4/modulate = Color( 1, 1, 1, 1 )
4/region = Rect2( 0, 0, 128, 128 )
4/tile_mode = 0
4/occluder_offset = Vector2( 0, 0 )
4/navigation_offset = Vector2( 0, 0 )
4/shapes = [ ]
5/name = "Tile 6"
4/z_index = 0
5/name = "Tile6"
5/texture = ExtResource( 22 )
5/tex_offset = Vector2( 0, 0 )
5/modulate = Color( 1, 1, 1, 1 )
5/region = Rect2( 0, 0, 128, 128 )
5/tile_mode = 0
5/occluder_offset = Vector2( 0, 0 )
5/navigation_offset = Vector2( 0, 0 )
5/shapes = [ ]
6/name = "Tile 7"
5/z_index = 0
6/name = "Tile7"
6/texture = ExtResource( 23 )
6/tex_offset = Vector2( 0, 0 )
6/modulate = Color( 1, 1, 1, 1 )
6/region = Rect2( 0, 0, 128, 128 )
6/tile_mode = 0
6/occluder_offset = Vector2( 0, 0 )
6/navigation_offset = Vector2( 0, 0 )
6/shapes = [ ]
7/name = "Tile 8"
6/z_index = 0
7/name = "Tile8"
7/texture = ExtResource( 24 )
7/tex_offset = Vector2( 0, 0 )
7/modulate = Color( 1, 1, 1, 1 )
7/region = Rect2( 0, 0, 128, 128 )
7/tile_mode = 0
7/occluder_offset = Vector2( 0, 0 )
7/navigation_offset = Vector2( 0, 0 )
7/shapes = [ ]
8/name = "Tile 9"
7/z_index = 0
8/name = "Tile9"
8/texture = ExtResource( 25 )
8/tex_offset = Vector2( 0, 0 )
8/modulate = Color( 1, 1, 1, 1 )
8/region = Rect2( 0, 0, 128, 128 )
8/tile_mode = 0
8/occluder_offset = Vector2( 0, 0 )
8/navigation_offset = Vector2( 0, 0 )
8/shapes = [ ]
9/name = "Tile 10"
8/z_index = 0
9/name = "Tile10"
9/texture = ExtResource( 26 )
9/tex_offset = Vector2( 0, 0 )
9/modulate = Color( 1, 1, 1, 1 )
9/region = Rect2( 0, 0, 128, 128 )
9/tile_mode = 0
9/occluder_offset = Vector2( 0, 0 )
9/navigation_offset = Vector2( 0, 0 )
9/shapes = [ ]
10/name = "Tile 11"
9/z_index = 0
10/name = "Tile11"
10/texture = ExtResource( 3 )
10/tex_offset = Vector2( 0, 0 )
10/modulate = Color( 1, 1, 1, 1 )
10/region = Rect2( 0, 0, 128, 128 )
10/tile_mode = 0
10/occluder_offset = Vector2( 0, 0 )
10/navigation_offset = Vector2( 0, 0 )
10/shapes = [ ]
11/name = "Tile 12"
10/z_index = 0
11/name = "Tile12"
11/texture = ExtResource( 4 )
11/tex_offset = Vector2( 0, 0 )
11/modulate = Color( 1, 1, 1, 1 )
11/region = Rect2( 0, 0, 128, 128 )
11/tile_mode = 0
11/occluder_offset = Vector2( 0, 0 )
11/navigation_offset = Vector2( 0, 0 )
11/shapes = [ ]
12/name = "Tile 13"
11/z_index = 0
12/name = "Tile13"
12/texture = ExtResource( 5 )
12/tex_offset = Vector2( 0, 0 )
12/modulate = Color( 1, 1, 1, 1 )
12/region = Rect2( 0, 0, 128, 128 )
12/tile_mode = 0
12/occluder_offset = Vector2( 0, 0 )
12/navigation_offset = Vector2( 0, 0 )
12/shapes = [ ]
13/name = "Tile 14"
12/z_index = 0
13/name = "Tile14"
13/texture = ExtResource( 6 )
13/tex_offset = Vector2( 0, 0 )
13/modulate = Color( 1, 1, 1, 1 )
13/region = Rect2( 0, 0, 128, 128 )
13/tile_mode = 0
13/occluder_offset = Vector2( 0, 0 )
13/navigation_offset = Vector2( 0, 0 )
13/shapes = [ ]
14/name = "Tile 15"
13/z_index = 0
14/name = "Tile15"
14/texture = ExtResource( 7 )
14/tex_offset = Vector2( 0, 0 )
14/modulate = Color( 1, 1, 1, 1 )
14/region = Rect2( 0, 0, 128, 128 )
14/tile_mode = 0
14/occluder_offset = Vector2( 0, 0 )
14/navigation_offset = Vector2( 0, 0 )
14/shapes = [ ]
15/name = "Tile 16"
14/z_index = 0
15/name = "Tile16"
15/texture = ExtResource( 8 )
15/tex_offset = Vector2( 0, 0 )
15/modulate = Color( 1, 1, 1, 1 )
15/region = Rect2( 0, 0, 128, 128 )
15/tile_mode = 0
15/occluder_offset = Vector2( 0, 0 )
15/navigation_offset = Vector2( 0, 0 )
15/shapes = [ ]
16/name = "Tile 17"
15/z_index = 0
16/name = "Tile17"
16/texture = ExtResource( 9 )
16/tex_offset = Vector2( 0, 0 )
16/modulate = Color( 1, 1, 1, 1 )
16/region = Rect2( 0, 0, 128, 128 )
16/tile_mode = 0
16/occluder_offset = Vector2( 0, 0 )
16/navigation_offset = Vector2( 0, 0 )
16/shapes = [ ]
17/name = "Tile 18"
16/z_index = 0
17/name = "Tile18"
17/texture = ExtResource( 10 )
17/tex_offset = Vector2( 0, 0 )
17/modulate = Color( 1, 1, 1, 1 )
17/region = Rect2( 0, 0, 128, 128 )
17/tile_mode = 0
17/occluder_offset = Vector2( 0, 0 )
17/navigation_offset = Vector2( 0, 0 )
17/shapes = [ ]
18/name = "Tile 19"
17/z_index = 0
18/name = "Tile19"
18/texture = ExtResource( 11 )
18/tex_offset = Vector2( 0, 0 )
18/modulate = Color( 1, 1, 1, 1 )
18/region = Rect2( 0, 0, 128, 128 )
18/tile_mode = 0
18/occluder_offset = Vector2( 0, 0 )
18/navigation_offset = Vector2( 0, 0 )
18/shapes = [ ]
19/name = "Tile 20"
18/z_index = 0
19/name = "Tile20"
19/texture = ExtResource( 12 )
19/tex_offset = Vector2( 0, 0 )
19/modulate = Color( 1, 1, 1, 1 )
19/region = Rect2( 0, 0, 128, 128 )
19/tile_mode = 0
19/occluder_offset = Vector2( 0, 0 )
19/navigation_offset = Vector2( 0, 0 )
19/shapes = [ ]
20/name = "Tile 21"
19/z_index = 0
20/name = "Tile21"
20/texture = ExtResource( 14 )
20/tex_offset = Vector2( 0, 0 )
20/modulate = Color( 1, 1, 1, 1 )
20/region = Rect2( 0, 0, 128, 128 )
20/tile_mode = 0
20/occluder_offset = Vector2( 0, 0 )
20/navigation_offset = Vector2( 0, 0 )
20/shapes = [ ]
21/name = "Tile 22"
20/z_index = 0
21/name = "Tile22"
21/texture = ExtResource( 15 )
21/tex_offset = Vector2( 0, 0 )
21/modulate = Color( 1, 1, 1, 1 )
21/region = Rect2( 0, 0, 128, 128 )
21/tile_mode = 0
21/occluder_offset = Vector2( 0, 0 )
21/navigation_offset = Vector2( 0, 0 )
21/shapes = [ ]
22/name = "Tile 23"
21/z_index = 0
22/name = "Tile23"
22/texture = ExtResource( 16 )
22/tex_offset = Vector2( 0, 0 )
22/modulate = Color( 1, 1, 1, 1 )
22/region = Rect2( 0, 0, 128, 128 )
22/tile_mode = 0
22/occluder_offset = Vector2( 0, 0 )
22/navigation_offset = Vector2( 0, 0 )
22/shapes = [ ]
23/name = "Tile 24"
22/z_index = 0
23/name = "Tile24"
23/texture = ExtResource( 17 )
23/tex_offset = Vector2( 0, 0 )
23/modulate = Color( 1, 1, 1, 1 )
23/region = Rect2( 0, 0, 128, 128 )
23/tile_mode = 0
23/occluder_offset = Vector2( 0, 0 )
23/navigation_offset = Vector2( 0, 0 )
23/shapes = [ ]
24/name = "Tile 25"
23/z_index = 0
24/name = "Tile25"
24/texture = ExtResource( 18 )
24/tex_offset = Vector2( 0, 0 )
24/modulate = Color( 1, 1, 1, 1 )
24/region = Rect2( 0, 0, 128, 128 )
24/tile_mode = 0
24/occluder_offset = Vector2( 0, 0 )
24/navigation_offset = Vector2( 0, 0 )
24/shapes = [ ]
25/name = "Tile 26"
24/z_index = 0
25/name = "Tile26"
25/texture = ExtResource( 19 )
25/tex_offset = Vector2( 0, 0 )
25/modulate = Color( 1, 1, 1, 1 )
25/region = Rect2( 0, 0, 128, 128 )
25/tile_mode = 0
25/occluder_offset = Vector2( 0, 0 )
25/navigation_offset = Vector2( 0, 0 )
25/shapes = [ ]
25/z_index = 0

View File

@@ -1,160 +1,159 @@
[gd_scene load_steps=27 format=2]
[ext_resource path="res://WWT-01.png" type="Texture" id=1]
[ext_resource path="res://WWT-02.png" type="Texture" id=2]
[ext_resource path="res://WWT-03.png" type="Texture" id=3]
[ext_resource path="res://WWT-04.png" type="Texture" id=4]
[ext_resource path="res://WWT-05.png" type="Texture" id=5]
[ext_resource path="res://WWT-06.png" type="Texture" id=6]
[ext_resource path="res://WWT-07.png" type="Texture" id=7]
[ext_resource path="res://WWT-08.png" type="Texture" id=8]
[ext_resource path="res://WWT-09.png" type="Texture" id=9]
[ext_resource path="res://WWT-10.png" type="Texture" id=10]
[ext_resource path="res://WWT-11.png" type="Texture" id=11]
[ext_resource path="res://WWT-12.png" type="Texture" id=12]
[ext_resource path="res://WWT-13.png" type="Texture" id=13]
[ext_resource path="res://WWT-14.png" type="Texture" id=14]
[ext_resource path="res://WWT-15.png" type="Texture" id=15]
[ext_resource path="res://WWT-16.png" type="Texture" id=16]
[ext_resource path="res://WWT-17.png" type="Texture" id=17]
[ext_resource path="res://WWT-18.png" type="Texture" id=18]
[ext_resource path="res://WWT-19.png" type="Texture" id=19]
[ext_resource path="res://WWT-20.png" type="Texture" id=20]
[ext_resource path="res://WWT-21.png" type="Texture" id=21]
[ext_resource path="res://WWT-22.png" type="Texture" id=22]
[ext_resource path="res://WWT-23.png" type="Texture" id=23]
[ext_resource path="res://WWT-24.png" type="Texture" id=24]
[ext_resource path="res://WWT-25.png" type="Texture" id=25]
[ext_resource path="res://WWT-26.png" type="Texture" id=26]
[ext_resource path="res://tiles/WWT-01.png" type="Texture" id=1]
[ext_resource path="res://tiles/WWT-02.png" type="Texture" id=2]
[ext_resource path="res://tiles/WWT-03.png" type="Texture" id=3]
[ext_resource path="res://tiles/WWT-04.png" type="Texture" id=4]
[ext_resource path="res://tiles/WWT-05.png" type="Texture" id=5]
[ext_resource path="res://tiles/WWT-06.png" type="Texture" id=6]
[ext_resource path="res://tiles/WWT-07.png" type="Texture" id=7]
[ext_resource path="res://tiles/WWT-08.png" type="Texture" id=8]
[ext_resource path="res://tiles/WWT-09.png" type="Texture" id=9]
[ext_resource path="res://tiles/WWT-10.png" type="Texture" id=10]
[ext_resource path="res://tiles/WWT-11.png" type="Texture" id=11]
[ext_resource path="res://tiles/WWT-12.png" type="Texture" id=12]
[ext_resource path="res://tiles/WWT-13.png" type="Texture" id=13]
[ext_resource path="res://tiles/WWT-14.png" type="Texture" id=14]
[ext_resource path="res://tiles/WWT-15.png" type="Texture" id=15]
[ext_resource path="res://tiles/WWT-16.png" type="Texture" id=16]
[ext_resource path="res://tiles/WWT-17.png" type="Texture" id=17]
[ext_resource path="res://tiles/WWT-18.png" type="Texture" id=18]
[ext_resource path="res://tiles/WWT-19.png" type="Texture" id=19]
[ext_resource path="res://tiles/WWT-20.png" type="Texture" id=20]
[ext_resource path="res://tiles/WWT-21.png" type="Texture" id=21]
[ext_resource path="res://tiles/WWT-22.png" type="Texture" id=22]
[ext_resource path="res://tiles/WWT-23.png" type="Texture" id=23]
[ext_resource path="res://tiles/WWT-24.png" type="Texture" id=24]
[ext_resource path="res://tiles/WWT-25.png" type="Texture" id=25]
[ext_resource path="res://tiles/WWT-26.png" type="Texture" id=26]
[node name="Node2D" type="Node2D"]
[node name="TilesetEdit" type="Node2D"]
[node name="Tile 1" type="Sprite" parent="."]
[node name="Tile1" type="Sprite" parent="."]
texture = ExtResource( 1 )
centered = false
[node name="Tile 2" type="Sprite" parent="."]
[node name="Tile2" type="Sprite" parent="."]
position = Vector2( 128, 0 )
texture = ExtResource( 2 )
centered = false
[node name="Tile 3" type="Sprite" parent="."]
[node name="Tile3" type="Sprite" parent="."]
position = Vector2( 256, 0 )
texture = ExtResource( 3 )
centered = false
[node name="Tile 4" type="Sprite" parent="."]
[node name="Tile4" type="Sprite" parent="."]
position = Vector2( 384, 0 )
texture = ExtResource( 4 )
centered = false
[node name="Tile 5" type="Sprite" parent="."]
[node name="Tile5" type="Sprite" parent="."]
position = Vector2( 512, 0 )
texture = ExtResource( 5 )
centered = false
[node name="Tile 6" type="Sprite" parent="."]
[node name="Tile6" type="Sprite" parent="."]
position = Vector2( 640, 0 )
texture = ExtResource( 6 )
centered = false
[node name="Tile 7" type="Sprite" parent="."]
[node name="Tile7" type="Sprite" parent="."]
position = Vector2( 768, 0 )
texture = ExtResource( 7 )
centered = false
[node name="Tile 8" type="Sprite" parent="."]
[node name="Tile8" type="Sprite" parent="."]
position = Vector2( 896, 0 )
texture = ExtResource( 8 )
centered = false
[node name="Tile 9" type="Sprite" parent="."]
[node name="Tile9" type="Sprite" parent="."]
position = Vector2( 1024, 0 )
texture = ExtResource( 9 )
centered = false
[node name="Tile 10" type="Sprite" parent="."]
[node name="Tile10" type="Sprite" parent="."]
position = Vector2( 0, 128 )
texture = ExtResource( 10 )
centered = false
[node name="Tile 11" type="Sprite" parent="."]
[node name="Tile11" type="Sprite" parent="."]
position = Vector2( 128, 128 )
texture = ExtResource( 11 )
centered = false
[node name="Tile 12" type="Sprite" parent="."]
[node name="Tile12" type="Sprite" parent="."]
position = Vector2( 256, 128 )
texture = ExtResource( 12 )
centered = false
[node name="Tile 13" type="Sprite" parent="."]
[node name="Tile13" type="Sprite" parent="."]
position = Vector2( 384, 128 )
texture = ExtResource( 13 )
centered = false
[node name="Tile 14" type="Sprite" parent="."]
[node name="Tile14" type="Sprite" parent="."]
position = Vector2( 512, 128 )
texture = ExtResource( 14 )
centered = false
[node name="Tile 15" type="Sprite" parent="."]
[node name="Tile15" type="Sprite" parent="."]
position = Vector2( 640, 128 )
texture = ExtResource( 15 )
centered = false
[node name="Tile 16" type="Sprite" parent="."]
[node name="Tile16" type="Sprite" parent="."]
position = Vector2( 768, 128 )
texture = ExtResource( 16 )
centered = false
[node name="Tile 17" type="Sprite" parent="."]
[node name="Tile17" type="Sprite" parent="."]
position = Vector2( 896, 128 )
texture = ExtResource( 17 )
centered = false
[node name="Tile 18" type="Sprite" parent="."]
[node name="Tile18" type="Sprite" parent="."]
position = Vector2( 1024, 128 )
texture = ExtResource( 18 )
centered = false
[node name="Tile 19" type="Sprite" parent="."]
[node name="Tile19" type="Sprite" parent="."]
position = Vector2( 0, 256 )
texture = ExtResource( 19 )
centered = false
[node name="Tile 20" type="Sprite" parent="."]
[node name="Tile20" type="Sprite" parent="."]
position = Vector2( 128, 256 )
texture = ExtResource( 20 )
centered = false
[node name="Tile 21" type="Sprite" parent="."]
[node name="Tile21" type="Sprite" parent="."]
position = Vector2( 256, 256 )
texture = ExtResource( 21 )
centered = false
[node name="Tile 22" type="Sprite" parent="."]
[node name="Tile22" type="Sprite" parent="."]
position = Vector2( 384, 256 )
texture = ExtResource( 22 )
centered = false
[node name="Tile 23" type="Sprite" parent="."]
[node name="Tile23" type="Sprite" parent="."]
position = Vector2( 512, 256 )
texture = ExtResource( 23 )
centered = false
[node name="Tile 24" type="Sprite" parent="."]
[node name="Tile24" type="Sprite" parent="."]
position = Vector2( 640, 256 )
texture = ExtResource( 24 )
centered = false
[node name="Tile 25" type="Sprite" parent="."]
[node name="Tile25" type="Sprite" parent="."]
position = Vector2( 768, 256 )
texture = ExtResource( 25 )
centered = false
[node name="Tile 26" type="Sprite" parent="."]
[node name="Tile26" type="Sprite" parent="."]
position = Vector2( 896, 256 )
texture = ExtResource( 26 )
centered = false

View File

@@ -1,24 +1,12 @@
extends KinematicBody2D
# This is a demo showing how KinematicBody2D
# move_and_slide works.
# Member variables
const MOTION_SPEED = 160 # Pixels/second
func _physics_process(_delta):
var motion = Vector2()
if Input.is_action_pressed("move_up"):
motion += Vector2(0, -1)
if Input.is_action_pressed("move_bottom"):
motion += Vector2(0, 1)
if Input.is_action_pressed("move_left"):
motion += Vector2(-1, 0)
if Input.is_action_pressed("move_right"):
motion += Vector2(1, 0)
motion.x = Input.get_action_strength("move_right") - Input.get_action_strength("move_left")
motion.y = Input.get_action_strength("move_down") - Input.get_action_strength("move_up")
motion.y *= 0.5
motion = motion.normalized() * MOTION_SPEED
#warning-ignore:return_value_discarded
move_and_slide(motion)

View File

@@ -6,7 +6,7 @@
[sub_resource type="CircleShape2D" id=1]
radius = 16.0
[node name="troll" type="KinematicBody2D"]
[node name="Troll" type="KinematicBody2D"]
script = ExtResource( 1 )
[node name="Sprite" type="Sprite" parent="."]