godot-start/scene/demo08_path/tile.tscn

236 lines
9.6 KiB
Plaintext
Raw Normal View History

2022-06-30 09:54:51 +00:00
[gd_scene load_steps=28 format=2]
[ext_resource path="res://scene/demo08_path/image/Robi.png" type="Texture" id=1]
[ext_resource path="res://scene/demo08_path/image/Shadow.png" type="Texture" id=2]
[ext_resource path="res://script/demo08_path/my_tile.gd" type="Script" id=3]
[ext_resource path="res://script/demo08_path/my_player.gd" type="Script" id=4]
[ext_resource path="res://scene/demo08_path/image/Grasslands.png" type="Texture" id=5]
[sub_resource type="NavigationPolygon" id=2]
vertices = PoolVector2Array( 0, 0, 80, 0, 80, 80, 0, 80 )
polygons = [ PoolIntArray( 0, 1, 2, 3 ) ]
[sub_resource type="ConvexPolygonShape2D" id=3]
points = PoolVector2Array( 0, 0, 80, 0, 80, 80, 0, 80 )
[sub_resource type="ConvexPolygonShape2D" id=4]
points = PoolVector2Array( 0, 0, 80, 0, 80, 80, 0, 80 )
[sub_resource type="ConvexPolygonShape2D" id=5]
points = PoolVector2Array( 0, 0, 80, 0, 80, 80, 0, 80 )
[sub_resource type="ConvexPolygonShape2D" id=6]
points = PoolVector2Array( 0, 0, 80, 0, 80, 80, 0, 80 )
[sub_resource type="NavigationPolygon" id=7]
vertices = PoolVector2Array( 0, 0, 80, 0, 80, 80, 0, 80 )
polygons = [ PoolIntArray( 0, 1, 2, 3 ) ]
[sub_resource type="NavigationPolygon" id=8]
vertices = PoolVector2Array( 0, 0, 80, 0, 80, 80, 0, 80 )
polygons = [ PoolIntArray( 0, 1, 2, 3 ) ]
[sub_resource type="NavigationPolygon" id=9]
vertices = PoolVector2Array( 0, 0, 80, 0, 80, 80, 0, 80 )
polygons = [ PoolIntArray( 0, 1, 2, 3 ) ]
[sub_resource type="NavigationPolygon" id=10]
vertices = PoolVector2Array( 0, 0, 80, 0, 80, 80, 0, 80 )
polygons = [ PoolIntArray( 0, 1, 2, 3 ) ]
[sub_resource type="NavigationPolygon" id=11]
vertices = PoolVector2Array( 0, 0, 80, 0, 80, 80, 0, 80 )
polygons = [ PoolIntArray( 0, 1, 2, 3 ) ]
[sub_resource type="NavigationPolygon" id=12]
vertices = PoolVector2Array( 0, 0, 80, 0, 80, 80, 0, 80 )
polygons = [ PoolIntArray( 0, 1, 2, 3 ) ]
[sub_resource type="NavigationPolygon" id=13]
vertices = PoolVector2Array( 0, 0, 80, 0, 80, 80, 0, 80 )
polygons = [ PoolIntArray( 0, 1, 2, 3 ) ]
[sub_resource type="NavigationPolygon" id=14]
vertices = PoolVector2Array( 0, 0, 80, 0, 80, 80, 0, 80 )
polygons = [ PoolIntArray( 0, 1, 2, 3 ) ]
[sub_resource type="NavigationPolygon" id=15]
vertices = PoolVector2Array( 0, 0, 80, 0, 80, 80, 0, 80 )
polygons = [ PoolIntArray( 0, 1, 2, 3 ) ]
[sub_resource type="NavigationPolygon" id=16]
vertices = PoolVector2Array( 80, 80, 0, 80, 0, 0, 80, 0 )
polygons = [ PoolIntArray( 0, 1, 2, 3 ) ]
[sub_resource type="NavigationPolygon" id=17]
vertices = PoolVector2Array( 0, 0, 80, 0, 80, 80, 0, 80 )
polygons = [ PoolIntArray( 0, 1, 2, 3 ) ]
[sub_resource type="NavigationPolygon" id=18]
vertices = PoolVector2Array( 0, 0, 80, 0, 80, 80, 0, 80 )
polygons = [ PoolIntArray( 0, 1, 2, 3 ) ]
[sub_resource type="NavigationPolygon" id=19]
vertices = PoolVector2Array( 0, 0, 80, 0, 80, 80, 0, 80 )
polygons = [ PoolIntArray( 0, 1, 2, 3 ) ]
[sub_resource type="NavigationPolygon" id=20]
vertices = PoolVector2Array( 0, 0, 80, 0, 80, 80, 0, 80 )
polygons = [ PoolIntArray( 0, 1, 2, 3 ) ]
[sub_resource type="NavigationPolygon" id=21]
vertices = PoolVector2Array( 0, 0, 80, 0, 80, 80, 0, 80 )
polygons = [ PoolIntArray( 0, 1, 2, 3 ) ]
[sub_resource type="NavigationPolygon" id=22]
vertices = PoolVector2Array( 0, 0, 80, 0, 80, 80, 0, 80 )
polygons = [ PoolIntArray( 0, 1, 2, 3 ) ]
[sub_resource type="TileSet" id=1]
0/name = "Grasslands.png 0"
0/texture = ExtResource( 5 )
0/tex_offset = Vector2( 0, 0 )
0/modulate = Color( 1, 1, 1, 1 )
0/region = Rect2( 0, 0, 80, 80 )
0/tile_mode = 0
0/occluder_offset = Vector2( 0, 0 )
0/navigation_offset = Vector2( 0, 0 )
0/navigation = SubResource( 2 )
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
1/name = "Grasslands.png 1"
1/texture = ExtResource( 5 )
1/tex_offset = Vector2( 0, 0 )
1/modulate = Color( 1, 1, 1, 1 )
1/region = Rect2( 80, 0, 80, 80 )
1/tile_mode = 0
1/occluder_offset = Vector2( 0, 0 )
1/navigation_offset = Vector2( 0, 0 )
1/shape_offset = Vector2( 0, 0 )
1/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 )
1/shape = SubResource( 3 )
1/shape_one_way = false
1/shape_one_way_margin = 1.0
1/shapes = [ {
"autotile_coord": Vector2( 0, 0 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 3 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
} ]
1/z_index = 0
2/name = "Grasslands.png 2"
2/texture = ExtResource( 5 )
2/tex_offset = Vector2( 0, 0 )
2/modulate = Color( 1, 1, 1, 1 )
2/region = Rect2( 160, 0, 80, 80 )
2/tile_mode = 0
2/occluder_offset = Vector2( 0, 0 )
2/navigation_offset = Vector2( 0, 0 )
2/shape_offset = Vector2( 0, 0 )
2/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 )
2/shape = SubResource( 4 )
2/shape_one_way = false
2/shape_one_way_margin = 1.0
2/shapes = [ {
"autotile_coord": Vector2( 0, 0 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 4 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
} ]
2/z_index = 0
3/name = "Grasslands.png 3"
3/texture = ExtResource( 5 )
3/tex_offset = Vector2( 0, 0 )
3/modulate = Color( 1, 1, 1, 1 )
3/region = Rect2( 240, 0, 80, 80 )
3/tile_mode = 0
3/occluder_offset = Vector2( 0, 0 )
3/navigation_offset = Vector2( 0, 0 )
3/shape_offset = Vector2( 0, 0 )
3/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 )
3/shape = SubResource( 5 )
3/shape_one_way = false
3/shape_one_way_margin = 1.0
3/shapes = [ {
"autotile_coord": Vector2( 0, 0 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 5 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
} ]
3/z_index = 0
4/name = "Grasslands.png 4"
4/texture = ExtResource( 5 )
4/tex_offset = Vector2( 0, 0 )
4/modulate = Color( 1, 1, 1, 1 )
4/region = Rect2( 320, 0, 80, 80 )
4/tile_mode = 0
4/occluder_offset = Vector2( 0, 0 )
4/navigation_offset = Vector2( 0, 0 )
4/shape_offset = Vector2( 0, 0 )
4/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 )
4/shape = SubResource( 6 )
4/shape_one_way = false
4/shape_one_way_margin = 1.0
4/shapes = [ {
"autotile_coord": Vector2( 0, 0 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 6 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
} ]
4/z_index = 0
5/name = "Grasslands.png 5"
5/texture = ExtResource( 5 )
5/tex_offset = Vector2( 0, 0 )
5/modulate = Color( 1, 1, 1, 1 )
5/region = Rect2( 0, 80, 560, 240 )
5/tile_mode = 1
5/autotile/bitmask_mode = 0
5/autotile/bitmask_flags = [ ]
5/autotile/icon_coordinate = Vector2( 0, 0 )
5/autotile/tile_size = Vector2( 80, 80 )
5/autotile/spacing = 0
5/autotile/occluder_map = [ ]
5/autotile/navpoly_map = [ Vector2( 0, 1 ), SubResource( 7 ), Vector2( 0, 2 ), SubResource( 8 ), Vector2( 1, 1 ), SubResource( 9 ), Vector2( 1, 2 ), SubResource( 10 ), Vector2( 2, 1 ), SubResource( 11 ), Vector2( 2, 2 ), SubResource( 12 ), Vector2( 3, 0 ), SubResource( 13 ), Vector2( 3, 1 ), SubResource( 14 ), Vector2( 3, 2 ), SubResource( 15 ), Vector2( 4, 0 ), SubResource( 16 ), Vector2( 4, 1 ), SubResource( 17 ), Vector2( 4, 2 ), SubResource( 18 ), Vector2( 5, 0 ), SubResource( 19 ), Vector2( 5, 1 ), SubResource( 20 ), Vector2( 5, 2 ), SubResource( 21 ), Vector2( 6, 0 ), SubResource( 22 ) ]
5/autotile/priority_map = [ ]
5/autotile/z_index_map = [ ]
5/occluder_offset = Vector2( 0, 0 )
5/navigation_offset = Vector2( 0, 0 )
5/shape_offset = Vector2( 0, 0 )
5/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 )
5/shape_one_way = false
5/shape_one_way_margin = 0.0
5/shapes = [ ]
5/z_index = 0
[node name="Node2D" type="Node"]
script = ExtResource( 3 )
[node name="Navigation2D" type="Navigation2D" parent="."]
[node name="TileMap" type="TileMap" parent="Navigation2D"]
tile_set = SubResource( 1 )
cell_size = Vector2( 80, 80 )
format = 1
tile_data = PoolIntArray( 65534, 0, 0, 65535, 0, 0, 0, 0, 0, 1, 0, 0, 2, 0, 0, 3, 1, 0, 4, 0, 0, 5, 0, 0, 6, 0, 0, 7, 3, 0, 8, 0, 0, 9, 0, 0, 10, 0, 0, 11, 0, 0, 12, 0, 0, 13, 0, 0, 131069, 0, 0, 131070, 0, 0, 131071, 0, 0, 65536, 0, 0, 65537, 0, 0, 65538, 0, 0, 65539, 1, 0, 65540, 0, 0, 65541, 2, 0, 65542, 0, 0, 65543, 3, 0, 65544, 0, 0, 65545, 0, 0, 65546, 0, 0, 65547, 0, 0, 65548, 0, 0, 65549, 0, 0, 65550, 0, 0, 65551, 0, 0, 65552, 0, 0, 65553, 0, 0, 196604, 0, 0, 196605, 0, 0, 196606, 0, 0, 196607, 0, 0, 131072, 0, 0, 131073, 0, 0, 131074, 0, 0, 131075, 1, 0, 131076, 0, 0, 131077, 2, 0, 131078, 0, 0, 131079, 3, 0, 131080, 0, 0, 131081, 4, 0, 131082, 4, 0, 131083, 4, 0, 131084, 0, 0, 131085, 0, 0, 131086, 0, 0, 131087, 0, 0, 131088, 0, 0, 262140, 0, 0, 262142, 0, 0, 262143, 0, 0, 196608, 0, 0, 196609, 0, 0, 196610, 0, 0, 196611, 1, 0, 196612, 0, 0, 196613, 2, 0, 196614, 0, 0, 196615, 3, 0, 196616, 0, 0, 196617, 4, 0, 196618, 0, 0, 196619, 0, 0, 196620, 0, 0, 327676, 0, 0, 327677, 0, 0, 327678, 0, 0, 327679, 0, 0, 262144, 0, 0, 262145, 0, 0, 262146, 0, 0, 262147, 1, 0, 262148, 0, 0, 262149, 2, 0, 262150, 0, 0, 262151, 3, 0, 262152, 0, 0, 262153, 4, 0, 262154, 0, 0, 262155, 0, 0, 262156, 0, 0, 393210, 0, 0, 393211, 0, 0, 393212, 0, 0, 393213, 0, 0, 393214, 0, 0, 393215, 0, 0, 327680, 0, 0, 327681, 0, 0, 327682, 0, 0, 327683, 0, 0, 327684, 0, 0, 327685, 2, 0, 327686, 0, 0, 327687, 0, 0, 327688, 0, 0, 327689, 4, 0, 327690, 4, 0, 327691, 0, 0, 327692, 0, 0, 393216, 0, 0, 393217, 0, 0, 393218, 0, 0, 393219, 0, 0, 393220, 0, 0, 393221, 2, 0, 393222, 0, 0, 393223, 0, 0, 393224, 0, 0, 393225, 0, 0, 393226, 4, 0, 393227, 0, 0 )
[node name="Player" type="Sprite" parent="."]
position = Vector2( 150.021, 142.539 )
scale = Vector2( 0.211144, 0.211144 )
texture = ExtResource( 1 )
script = ExtResource( 4 )
[node name="Shadow" type="Sprite" parent="Player"]
position = Vector2( -12.9122, 228.23 )
scale = Vector2( 2.38618, 2.38618 )
texture = ExtResource( 2 )
[node name="Line2D" type="Line2D" parent="."]