-
Notifications
You must be signed in to change notification settings - Fork 4
/
Road2DPolygon.tscn
40 lines (30 loc) · 2.19 KB
/
Road2DPolygon.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
[gd_scene load_steps=5 format=2]
[ext_resource path="res://Road2D_placer.gd" type="Script" id=1]
[ext_resource path="res://curve_better.gd" type="Script" id=2]
[ext_resource path="res://road.png" type="Texture" id=3]
[ext_resource path="res://Polygon2D.gd" type="Script" id=4]
[node name="Node2D" type="Node2D" index="0"]
[node name="Placer" type="Node2D" parent="." index="0"]
script = ExtResource( 1 )
[node name="curve" type="Node2D" parent="Placer" index="0"]
script = ExtResource( 2 )
radius = 225
angle_from = 0
angle_to = 90
right = true
width = 70
[node name="Polygon2D" type="Polygon2D" parent="Placer/curve" index="0"]
polygon = PoolVector2Array( 155, 0, 154.788, -8.11207, 154.151, -16.2019, 153.092, -24.2473, 151.613, -32.2263, 149.719, -40.117, 148.227, -45.3176, 145.652, -53.0131, 142.678, -60.5633, 139.313, -67.9475, 135.566, -75.1455, 132.861, -79.8309, 128.501, -86.6749, 123.788, -93.2813, 118.737, -99.6321, 113.36, -105.71, 109.602, -109.602, 103.715, -115.187, 97.5447, -120.458, 91.1067, -125.398, 84.4191, -129.994, 77.5, -134.234, 72.7681, -136.857, 65.5058, -140.478, 58.064, -143.714, 50.4631, -146.555, 42.7238, -148.996, 37.4979, -150.396, 29.5754, -152.152, 21.5718, -153.492, 13.5091, -154.41, 5.40942, -154.906, 9.4907e-015, -155, 1.80629e-014, -295, 10.2954, -294.82, 25.7109, -293.877, 41.0561, -292.129, 56.2887, -289.58, 71.367, -286.237, 81.313, -283.572, 96.0426, -278.928, 110.509, -273.519, 124.672, -267.361, 138.494, -260.47, 147.5, -255.477, 160.669, -247.408, 173.397, -238.66, 185.65, -229.258, 197.394, -219.228, 208.596, -208.596, 215.749, -201.19, 225.983, -189.622, 235.597, -177.535, 244.566, -164.962, 252.864, -151.936, 258.013, -143.019, 265.144, -129.319, 271.549, -115.266, 277.209, -100.896, 282.11, -86.2496, 284.948, -76.3516, 288.554, -61.3339, 291.368, -46.1482, 293.384, -30.8359, 294.596, -15.4391, 295, 0 )
uv = PoolVector2Array( )
color = Color( 1, 1, 1, 1 )
vertex_colors = PoolColorArray( )
offset = Vector2( 0, 0 )
antialiased = false
texture = ExtResource( 3 )
texture_offset = Vector2( 0, 0 )
texture_scale = Vector2( 1, 1 )
texture_rotation_degrees = 0.0
invert_enable = false
invert_border = 100.0
script = ExtResource( 4 )
_sections_unfolded = [ "Texture" ]