29 lines
1.1 KiB
Plaintext
29 lines
1.1 KiB
Plaintext
[gd_scene load_steps=5 format=2]
|
|
|
|
[ext_resource path="res://Track.gd" type="Script" id=1]
|
|
[ext_resource path="res://PlayerCar.tscn" type="PackedScene" id=2]
|
|
[ext_resource path="res://PlayerCar.gd" type="Script" id=3]
|
|
|
|
[sub_resource type="Curve2D" id=2]
|
|
_data = {
|
|
"points": PoolVector2Array( 0, 0, 0, 0, 480.755, 160.968, 0, 0, 0, 0, 614.657, 160.902, 0, 0, 0, 0, 944.657, 160.902, 0, -158.829, 0, 158.829, 1104.66, 320.902, 0, 0, 0, 0, 954.657, 480.902, 0, 0, 0, 0, 624.657, 480.902, 0, 0, 0, 0, 314.658, 480.902, 0.814508, 160.458, -0.814508, -160.458, 144.658, 320.902, 0, 0, 0, 0, 304.658, 160.902, 0, 0, 0, 0, 480.755, 161.631 )
|
|
}
|
|
|
|
[node name="Track" type="Path2D"]
|
|
position = Vector2( 15.3425, -37.0787 )
|
|
curve = SubResource( 2 )
|
|
|
|
[node name="TrackPlayer" type="PathFollow2D" parent="."]
|
|
position = Vector2( 480.755, 160.968 )
|
|
rotation = -0.000498668
|
|
script = ExtResource( 1 )
|
|
threshold = 1
|
|
|
|
[node name="PlayerCar" type="Node2D" parent="TrackPlayer" instance=ExtResource( 2 )]
|
|
position = Vector2( -1.18518, -77.0416 )
|
|
scale = Vector2( 0.5, 0.5 )
|
|
script = ExtResource( 3 )
|
|
__meta__ = {
|
|
"_edit_group_": true
|
|
}
|