godot-start/scene/demo08_path/path.tscn

46 lines
2.3 KiB
Plaintext
Raw Normal View History

2021-10-05 16:32:06 +00:00
[gd_scene load_steps=5 format=2]
[ext_resource path="res://icon.png" type="Texture" id=1]
[ext_resource path="res://script/demo08_path/path.gd" type="Script" id=2]
[sub_resource type="Curve2D" id=1]
_data = {
"points": PoolVector2Array( 0, 0, 0, 0, 65.9002, 246.547, 0, 0, 0, 0, 123.326, 218.878, 0, 0, 0, 0, 194.986, 195.578, 0, 0, 0, 0, 229.344, 131.988, 0, 0, 0, 0, 305.912, 274.216, 0, 0, 0, 0, 319.165, 361.592, 0, 0, 0, 0, 357.939, 411.105, 0, 0, 0, 0, 478.682, 369.359, 0, 0, 0, 0, 523.347, 214.509, 0, 0, 0, 0, 546.906, 144.609, 0, 0, 0, 0, 666.176, 175.676, 0, 0, 0, 0, 689.735, 337.807, 0, 0, 0, 0, 685.809, 389.261, 0, 0, 0, 0, 755.996, 418.872 )
}
[sub_resource type="Curve2D" id=2]
_data = {
"points": PoolVector2Array( 0, 0, 0, 0, 46.9502, 574.442, 0, 0, 0, 0, 80.1843, 548.279, 0, 0, 0, 0, 111.297, 535.551, 0, 0, 0, 0, 163.623, 539.087, 0, 0, 0, 0, 185.543, 556.765, 0, 0, 0, 0, 242.112, 587.17, 0, 0, 0, 0, 276.76, 580.806, 0, 0, 0, 0, 306.458, 575.149, 0, 0, 0, 0, 341.107, 558.886, 0, 0, 0, 0, 355.249, 551.815, 0, 0, 0, 0, 395.554, 548.279, 0, 0, 0, 0, 414.646, 548.279, 0, 0, 0, 0, 480.407, 550.401, 0, 0, 0, 0, 563.138, 576.564, 0, 0, 0, 0, 585.766, 581.513, 0, 0, 0, 0, 681.225, 572.321, 0, 0, 0, 0, 704.56, 559.593, 0, 0, 0, 0, 737.087, 545.451, 0, 0, 0, 0, 766.785, 538.38, 0, 0, 0, 0, 812.747, 543.33, 0, 0, 0, 0, 843.86, 556.765, 0, 0, 0, 0, 889.822, 565.25, 0, 0, 0, 0, 906.085, 565.25, 0, 0, 0, 0, 940.733, 548.279, 0, 0, 0, 0, 958.411, 533.43 )
}
[node name="Node2D" type="Node2D"]
[node name="Path2D_1" type="Path2D" parent="."]
position = Vector2( 5.3012, -35.5921 )
scale = Vector2( 1.14345, 1.15617 )
curve = SubResource( 1 )
[node name="PathFollow2D" type="PathFollow2D" parent="Path2D_1"]
position = Vector2( 65.9002, 246.547 )
2022-06-30 09:54:51 +00:00
rotation = -0.449003
2021-10-05 16:32:06 +00:00
script = ExtResource( 2 )
[node name="Sprite" type="Sprite" parent="Path2D_1/PathFollow2D"]
texture = ExtResource( 1 )
[node name="Path2D_2" type="Path2D" parent="."]
curve = SubResource( 2 )
[node name="PathFollow2D" type="PathFollow2D" parent="Path2D_2"]
position = Vector2( 46.9502, 574.442 )
rotation = -0.666908
script = ExtResource( 2 )
[node name="RemoteTransform2D" type="RemoteTransform2D" parent="Path2D_2/PathFollow2D"]
remote_path = NodePath("../../../Sprite")
[node name="Sprite" type="Sprite" parent="."]
position = Vector2( 46.9502, 574.442 )
rotation = -0.666908
texture = ExtResource( 1 )