autotile
This commit is contained in:
parent
df30f1f8ef
commit
650a5a4a83
@ -1,3 +1,3 @@
|
||||
source_md5="ccf23f1e116b9cb325817ad0b8e53904"
|
||||
dest_md5="b1e110d5533ed49febf843ca74d17332"
|
||||
dest_md5="9e158db16d98689134600e0aca7182c6"
|
||||
|
||||
|
Binary file not shown.
56
World.tscn
56
World.tscn
@ -1,22 +1,66 @@
|
||||
[gd_scene load_steps=3 format=2]
|
||||
[gd_scene load_steps=6 format=2]
|
||||
|
||||
[ext_resource path="res://assets/World/Bush.tscn" type="PackedScene" id=1]
|
||||
[ext_resource path="res://script/player/Player.tscn" type="PackedScene" id=2]
|
||||
[ext_resource path="res://assets/World/GrassBackground.png" type="Texture" id=3]
|
||||
[ext_resource path="res://assets/World/DirtTileset.png" type="Texture" id=4]
|
||||
|
||||
[node name="World" type="YSort"]
|
||||
[sub_resource type="TileSet" id=1]
|
||||
0/name = "DirtTileset.png 0"
|
||||
0/texture = ExtResource( 4 )
|
||||
0/tex_offset = Vector2( 0, 0 )
|
||||
0/modulate = Color( 1, 1, 1, 1 )
|
||||
0/region = Rect2( 0, 0, 176, 80 )
|
||||
0/tile_mode = 1
|
||||
0/autotile/bitmask_mode = 1
|
||||
0/autotile/bitmask_flags = [ Vector2( 0, 0 ), 432, Vector2( 0, 1 ), 438, Vector2( 0, 2 ), 54, Vector2( 0, 3 ), 48, Vector2( 1, 0 ), 504, Vector2( 1, 1 ), 511, Vector2( 1, 2 ), 63, Vector2( 1, 3 ), 56, Vector2( 2, 0 ), 216, Vector2( 2, 1 ), 219, Vector2( 2, 2 ), 27, Vector2( 2, 3 ), 24, Vector2( 3, 0 ), 144, Vector2( 3, 1 ), 146, Vector2( 3, 2 ), 18, Vector2( 3, 3 ), 16, Vector2( 4, 0 ), 176, Vector2( 4, 1 ), 182, Vector2( 4, 2 ), 434, Vector2( 4, 3 ), 50, Vector2( 4, 4 ), 178, Vector2( 5, 0 ), 248, Vector2( 5, 1 ), 255, Vector2( 5, 2 ), 507, Vector2( 5, 3 ), 59, Vector2( 5, 4 ), 251, Vector2( 6, 0 ), 440, Vector2( 6, 1 ), 447, Vector2( 6, 2 ), 510, Vector2( 6, 3 ), 62, Vector2( 6, 4 ), 446, Vector2( 7, 0 ), 152, Vector2( 7, 1 ), 155, Vector2( 7, 2 ), 218, Vector2( 7, 3 ), 26, Vector2( 7, 4 ), 154, Vector2( 8, 0 ), 184, Vector2( 8, 1 ), 191, Vector2( 8, 2 ), 506, Vector2( 8, 3 ), 58, Vector2( 8, 4 ), 186, Vector2( 9, 0 ), 443, Vector2( 9, 1 ), 190, Vector2( 9, 2 ), 442, Vector2( 9, 3 ), 190, Vector2( 10, 2 ), 250, Vector2( 10, 3 ), 187 ]
|
||||
0/autotile/icon_coordinate = Vector2( 3, 3 )
|
||||
0/autotile/tile_size = Vector2( 16, 16 )
|
||||
0/autotile/spacing = 0
|
||||
0/autotile/occluder_map = [ ]
|
||||
0/autotile/navpoly_map = [ ]
|
||||
0/autotile/priority_map = [ ]
|
||||
0/autotile/z_index_map = [ ]
|
||||
0/occluder_offset = Vector2( 0, 0 )
|
||||
0/navigation_offset = Vector2( 0, 0 )
|
||||
0/shape_offset = Vector2( 0, 0 )
|
||||
0/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 )
|
||||
0/shape_one_way = false
|
||||
0/shape_one_way_margin = 0.0
|
||||
0/shapes = [ ]
|
||||
0/z_index = 0
|
||||
|
||||
[node name="World" type="Node2D"]
|
||||
__meta__ = {
|
||||
"_edit_lock_": true
|
||||
}
|
||||
|
||||
[node name="Player" parent="." instance=ExtResource( 2 )]
|
||||
[node name="GrassBackground" type="Sprite" parent="."]
|
||||
position = Vector2( 160, 90 )
|
||||
z_index = -1
|
||||
z_as_relative = false
|
||||
texture = ExtResource( 3 )
|
||||
region_enabled = true
|
||||
region_rect = Rect2( 0, 0, 320, 180 )
|
||||
|
||||
[node name="TileMap" type="TileMap" parent="."]
|
||||
tile_set = SubResource( 1 )
|
||||
cell_size = Vector2( 16, 16 )
|
||||
format = 1
|
||||
tile_data = PoolIntArray( -65525, 0, 0, -65524, 0, 1, -65523, 0, 1, -65522, 0, 1, -65521, 0, 1, -65520, 0, 1, -65519, 0, 1, -65518, 0, 1, -65517, 0, 1, -65516, 0, 2, 11, 0, 131072, 12, 0, 131073, 13, 0, 131073, 14, 0, 131073, 15, 0, 131073, 16, 0, 131073, 17, 0, 131073, 18, 0, 131073, 19, 0, 65542, 20, 0, 65538, 65555, 0, 65536, 65556, 0, 65538, 131091, 0, 65536, 131092, 0, 65538, 196627, 0, 131072, 196628, 0, 131074, 393215, 0, 0, 327680, 0, 1, 327681, 0, 1, 327682, 0, 2, 458751, 0, 65536, 393216, 0, 65537, 393217, 0, 65537, 393218, 0, 131077, 393219, 0, 1, 393220, 0, 1, 393221, 0, 1, 393222, 0, 1, 393223, 0, 1, 393224, 0, 2, 524287, 0, 131072, 458752, 0, 131073, 458753, 0, 131073, 458754, 0, 131073, 458755, 0, 131073, 458756, 0, 131073, 458757, 0, 65542, 458758, 0, 65537, 458759, 0, 65537, 458760, 0, 65538, 524293, 0, 131072, 524294, 0, 65542, 524295, 0, 65537, 524296, 0, 131077, 524297, 0, 1, 524298, 0, 1, 524299, 0, 1, 524300, 0, 1, 524301, 0, 2, 589830, 0, 131072, 589831, 0, 65542, 589832, 0, 65537, 589833, 0, 65537, 589834, 0, 65537, 589835, 0, 65537, 589836, 0, 65537, 589837, 0, 131077, 589838, 0, 2, 655367, 0, 131072, 655368, 0, 131073, 655369, 0, 131073, 655370, 0, 131073, 655371, 0, 131073, 655372, 0, 65542, 655373, 0, 65537, 655374, 0, 131077, 655375, 0, 2, 720908, 0, 131072, 720909, 0, 131073, 720910, 0, 131073, 720911, 0, 131074 )
|
||||
|
||||
[node name="YSort" type="YSort" parent="."]
|
||||
z_index = 1
|
||||
|
||||
[node name="Player" parent="YSort" instance=ExtResource( 2 )]
|
||||
position = Vector2( 147.244, 71.7345 )
|
||||
z_index = 0
|
||||
|
||||
[node name="Bush" parent="." instance=ExtResource( 1 )]
|
||||
[node name="Bush" parent="YSort" instance=ExtResource( 1 )]
|
||||
position = Vector2( 69.0602, 89.8899 )
|
||||
|
||||
[node name="Bush2" parent="." instance=ExtResource( 1 )]
|
||||
[node name="Bush2" parent="YSort" instance=ExtResource( 1 )]
|
||||
position = Vector2( 162.504, 115.846 )
|
||||
|
||||
[node name="Bush3" parent="." instance=ExtResource( 1 )]
|
||||
[node name="Bush3" parent="YSort" instance=ExtResource( 1 )]
|
||||
position = Vector2( 220.552, 61.1018 )
|
||||
|
@ -19,7 +19,7 @@ compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/repeat=1
|
||||
flags/filter=false
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
|
Loading…
Reference in New Issue
Block a user