61 lines
		
	
	
		
			3.2 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			61 lines
		
	
	
		
			3.2 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| [gd_scene load_steps=8 format=3 uid="uid://b4ydi1vv8dvwr"]
 | |
| 
 | |
| [ext_resource type="PackedScene" uid="uid://d1oqt6sbjvopi" path="res://maps/world.tscn" id="1_6vs81"]
 | |
| [ext_resource type="PackedScene" uid="uid://vclpg4e4ql54" path="res://caracters/player/player.tscn" id="2_5x6b5"]
 | |
| [ext_resource type="PackedScene" uid="uid://cl201baro5y5" path="res://vehicules/npc_car.tscn" id="3_yuakw"]
 | |
| [ext_resource type="PackedScene" uid="uid://bt1p311rn1h6q" path="res://vehicules/car.tscn" id="4_bqm78"]
 | |
| [ext_resource type="PackedScene" uid="uid://bleadp4yrdgj" path="res://caracters/bob/bob.tscn" id="5_n64eb"]
 | |
| 
 | |
| [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"]
 | |
| 
 | |
| [node name="world" parent="." instance=ExtResource("1_6vs81")]
 | |
| 
 | |
| [node name="bob" parent="world" instance=ExtResource("5_n64eb")]
 | |
| position = Vector2(-333, -262)
 | |
| 
 | |
| [node name="movibles" type="Node2D" parent="."]
 | |
| 
 | |
| [node name="player" parent="movibles" instance=ExtResource("2_5x6b5")]
 | |
| position = Vector2(-107, -161)
 | |
| 
 | |
| [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("3_yuakw")]
 | |
| position = Vector2(-285, 193)
 | |
| car = NodePath("../Car")
 | |
| distanceMax = 400
 | |
| world = NodePath("../../../../world")
 | |
| 
 | |
| [node name="Car" parent="movibles/cars/Path2D" instance=ExtResource("4_bqm78")]
 | |
| 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("3_yuakw")]
 | |
| position = Vector2(794, 1374)
 | |
| car = NodePath("../Car")
 | |
| distanceMax = 400
 | |
| world = NodePath("../../../../world")
 | |
| 
 | |
| [node name="Car" parent="movibles/cars/Path2D2" instance=ExtResource("4_bqm78")]
 | |
| position = Vector2(790, 1372)
 | |
| speed = 500
 | 
