[gd_scene load_steps=9 format=3 uid="uid://b4ydi1vv8dvwr"] [ext_resource type="Script" path="res://scenes/outside.gd" id="1_wyh83"] [ext_resource type="PackedScene" uid="uid://d1oqt6sbjvopi" path="res://maps/world.tscn" id="1_ysg4m"] [ext_resource type="PackedScene" uid="uid://bleadp4yrdgj" path="res://caracters/bob/bob.tscn" id="2_vbahy"] [ext_resource type="PackedScene" uid="uid://vclpg4e4ql54" path="res://caracters/player/player.tscn" id="3_bt1tp"] [ext_resource type="PackedScene" uid="uid://cl201baro5y5" path="res://vehicules/npc_car.tscn" id="4_dt4vq"] [ext_resource type="PackedScene" uid="uid://bt1p311rn1h6q" path="res://vehicules/car.tscn" id="5_4nlh0"] [sub_resource type="Curve2D" id="Curve2D_shblg"] _data = { "points": PackedVector2Array(0, 0, 0, 0, -285, 193, -24.1571, -83.6138, 24.1571, 83.6138, -220, 253, -59.9683, -76.1091, 59.9683, 76.1091, -200, 1158, -72.4586, -10.5935, 72.4586, 10.5935, 2570, 1182, -96.6533, 37.8814, 96.6533, -37.8814, 2646, 173, -98.6077, 103.694, 98.6077, -103.694, 2759, 110, 117.462, 37.6927, -117.462, -37.6927, 2715, -276, 114.239, -35.1712, -114.239, 35.1712, 2384, -293, 50.2246, -13.5362, -50.2246, 13.5362, 2209, -126, 61.4659, 8.33138, -61.4659, -8.33138, 133, -135, 40.4345, 62.8385, -40.4345, -62.8385, 40, -272, 50.2081, -75.7177, -50.2081, 75.7177, -399, -242, -67.7454, -78.8949, 67.7454, 78.8949, -399, 107, 0, 0, 0, 0, -286, 193, 0, 0, 0, 0, -285, 193) } point_count = 15 [sub_resource type="Curve2D" id="Curve2D_nircx"] _data = { "points": PackedVector2Array(0, 0, 0, 0, 794, 1374, 0, 0, 0, 0, 1938, 1371, 0, 0, 0, 0, 1931, 342, 0, 0, 0, 0, 2082, 333, 0, 0, 0, 0, 2086, -88, 0, 0, 0, 0, 1656, -97, 0, 0, 0, 0, 1649, 73, 0, 0, 0, 0, 912.469, 60.5339, 0, 0, 0, 0, 904, -1165, 0, 0, 0, 0, -890, -1162, 0, 0, 0, 0, -885, -108, 0, 0, 0, 0, -1062, -106, 0, 0, 0, 0, -1073, 283, 0, 0, 0, 0, -912.429, 290.552, 0, 0, 0, 0, -624, 293, 0, 0, 0, 0, -616, 161, 0, 0, 0, 0, -577, 160, 0, 0, 0, 0, 823, 165, 0, 0, 0, 0, 802, 305, 0, 0, 0, 0, 790, 1374) } point_count = 20 [node name="scene1" type="Node2D"] script = ExtResource("1_wyh83") [node name="world" parent="." instance=ExtResource("1_ysg4m")] [node name="bob" parent="world" instance=ExtResource("2_vbahy")] position = Vector2(-333, -262) [node name="player" parent="world" instance=ExtResource("3_bt1tp")] position = Vector2(-171, -253) [node name="movibles" type="Node2D" parent="."] [node name="cars" type="Node" parent="movibles"] [node name="Path2D" type="Path2D" parent="movibles/cars"] position = Vector2(-664, 181) curve = SubResource("Curve2D_shblg") [node name="voiture_pnj" parent="movibles/cars/Path2D" node_paths=PackedStringArray("car", "world") instance=ExtResource("4_dt4vq")] position = Vector2(-285, 193) car = NodePath("../Car") distanceMax = 400 world = NodePath("../../../../world") [node name="Car" parent="movibles/cars/Path2D" instance=ExtResource("5_4nlh0")] position = Vector2(-287, 196) speed = 500 [node name="Path2D2" type="Path2D" parent="movibles/cars"] curve = SubResource("Curve2D_nircx") [node name="voiture_pnj" parent="movibles/cars/Path2D2" node_paths=PackedStringArray("car", "world") instance=ExtResource("4_dt4vq")] position = Vector2(794, 1374) car = NodePath("../Car") distanceMax = 400 world = NodePath("../../../../world") [node name="Car" parent="movibles/cars/Path2D2" instance=ExtResource("5_4nlh0")] position = Vector2(790, 1372) speed = 500