-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathWorldMap.tscn
124 lines (113 loc) · 3.69 KB
/
WorldMap.tscn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
[gd_scene load_steps=8 format=2]
[ext_resource path="res://hexagon.svg" type="Texture" id=1]
[ext_resource path="res://WorldMap.gd" type="Script" id=2]
[ext_resource path="res://character_scene/Character.tscn" type="PackedScene" id=3]
[ext_resource path="res://TravelPanel.gd" type="Script" id=4]
[ext_resource path="res://popup_menu/popup_menu.tscn" type="PackedScene" id=5]
[sub_resource type="ConvexPolygonShape2D" id=1]
points = PoolVector2Array( 48.3526, 9.2901, 62.8202, 36.7786, 47.3881, 64, 16.5239, 62.8202, 1.09181, 35.3318, 16.5239, 9.2901 )
[sub_resource type="TileSet" id=2]
0/name = "Road"
0/texture = ExtResource( 1 )
0/tex_offset = Vector2( 0, 0 )
0/modulate = Color( 0.12549, 0.12549, 0.12549, 1 )
0/region = Rect2( 0, 0, 64, 64 )
0/tile_mode = 0
0/occluder_offset = Vector2( 0, 0 )
0/navigation_offset = Vector2( 0, 0 )
0/shapes = [ {
"autotile_coord": Vector2( 0, 0 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 1 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
} ]
0/z_index = 0
1/name = "Water"
1/texture = ExtResource( 1 )
1/tex_offset = Vector2( 0, 0 )
1/modulate = Color( 0.0901961, 0.0901961, 0.627451, 1 )
1/region = Rect2( 0, 0, 64, 64 )
1/tile_mode = 0
1/occluder_offset = Vector2( 0, 0 )
1/navigation_offset = Vector2( 0, 0 )
1/shapes = [ ]
1/z_index = 0
2/name = "City"
2/texture = ExtResource( 1 )
2/tex_offset = Vector2( 0, 0 )
2/modulate = Color( 0.556863, 0.0235294, 0.0235294, 1 )
2/region = Rect2( 0, 0, 64, 64 )
2/tile_mode = 0
2/occluder_offset = Vector2( 0, 0 )
2/navigation_offset = Vector2( 0, 0 )
2/shapes = [ ]
2/z_index = 0
3/name = "Grassland"
3/texture = ExtResource( 1 )
3/tex_offset = Vector2( 0, 0 )
3/modulate = Color( 0.129412, 0.576471, 0.129412, 1 )
3/region = Rect2( 0, 0, 64, 64 )
3/tile_mode = 0
3/occluder_offset = Vector2( 0, 0 )
3/navigation_offset = Vector2( 0, 0 )
3/shapes = [ ]
3/z_index = 0
4/name = "Mountain"
4/texture = ExtResource( 1 )
4/tex_offset = Vector2( 0, 0 )
4/modulate = Color( 0.266667, 0.286275, 0.286275, 1 )
4/region = Rect2( 0, 0, 64, 64 )
4/tile_mode = 0
4/occluder_offset = Vector2( 0, 0 )
4/navigation_offset = Vector2( 0, 0 )
4/shapes = [ ]
4/z_index = 0
5/name = "Military"
5/texture = ExtResource( 1 )
5/tex_offset = Vector2( 0, 0 )
5/modulate = Color( 0.764706, 0.407843, 0.0235294, 1 )
5/region = Rect2( 0, 0, 64, 64 )
5/tile_mode = 0
5/occluder_offset = Vector2( 0, 0 )
5/navigation_offset = Vector2( 0, 0 )
5/shapes = [ ]
5/z_index = 0
6/name = "Forest"
6/texture = ExtResource( 1 )
6/tex_offset = Vector2( 0, 0 )
6/modulate = Color( 0.12549, 0.356863, 0.0313726, 1 )
6/region = Rect2( 0, 0, 64, 64 )
6/tile_mode = 0
6/occluder_offset = Vector2( 0, 0 )
6/navigation_offset = Vector2( 0, 0 )
6/shapes = [ ]
6/z_index = 0
[node name="World" type="Node2D"]
[node name="WorldTileMap" type="TileMap" parent="."]
position = Vector2( 0, -8.5 )
tile_set = SubResource( 2 )
cell_size = Vector2( 47, 54 )
cell_custom_transform = Transform2D( 47, 0, 10, 54, 0, 0 )
cell_half_offset = 1
format = 1
script = ExtResource( 2 )
[node name="Character" parent="." instance=ExtResource( 3 )]
position = Vector2( 0, -8.5 )
[node name="PopupMenu" parent="." instance=ExtResource( 5 )]
[node name="Camera2D" type="Camera2D" parent="."]
current = true
[node name="TravelLayer" type="CanvasLayer" parent="Camera2D"]
[node name="TravelPanel" type="PopupPanel" parent="Camera2D/TravelLayer"]
margin_left = 7.0
margin_top = 7.0
margin_right = 101.0
margin_bottom = 80.0
script = ExtResource( 4 )
[node name="TravelLabel" type="Label" parent="Camera2D/TravelLayer/TravelPanel"]
margin_left = 4.0
margin_top = 4.0
margin_right = 90.0
margin_bottom = 69.0
autowrap = true
[connection signal="character_action" from="WorldTileMap" to="Character" method="_on_character_action"]