-
Notifications
You must be signed in to change notification settings - Fork 3
/
main.tscn
60 lines (47 loc) · 1.75 KB
/
main.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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
[gd_scene load_steps=8 format=2]
[ext_resource path="res://intersections_2D.tscn" type="PackedScene" id=1]
[ext_resource path="res://vehicle_player2D.tscn" type="PackedScene" id=2]
[ext_resource path="res://vehicle_AI2D.tscn" type="PackedScene" id=3]
[ext_resource path="res://lamplight.tscn" type="PackedScene" id=4]
[ext_resource path="res://vehicle_AI2D_cop.tscn" type="PackedScene" id=5]
[ext_resource path="res://UI.gd" type="Script" id=6]
[ext_resource path="res://virtual_joystick.tscn" type="PackedScene" id=7]
[node name="Node2D" type="Node2D" groups=[
"world",
]]
[node name="Node2D" parent="." instance=ExtResource( 1 )]
[node name="Node2D2" type="Node2D" parent="."]
position = Vector2( -120, 0 )
[node name="player" parent="Node2D2" instance=ExtResource( 2 )]
position = Vector2( 100, 10 )
rotation = 3.14159
acceleration = 9
top_speed = 500
[node name="AI" parent="Node2D2" instance=ExtResource( 3 )]
rotation = 3.14159
top_speed = 500
state = 2
[node name="Node2D" parent="Node2D2" instance=ExtResource( 4 )]
position = Vector2( 96, 509 )
[node name="copAI" parent="Node2D2" instance=ExtResource( 5 )]
position = Vector2( 50, 0 )
rotation = 3.14159
[node name="CanvasLayer" type="CanvasLayer" parent="." groups=[
"canvas",
]]
[node name="Control" type="Control" parent="CanvasLayer"]
pause_mode = 2
editor/display_folded = true
anchor_right = 1.0
anchor_bottom = 1.0
script = ExtResource( 6 )
[node name="Label" type="Label" parent="CanvasLayer/Control"]
margin_right = 40.0
margin_bottom = 14.0
text = "Spd:"
[node name="ColorRect" type="ColorRect" parent="CanvasLayer/Control"]
visible = false
anchor_right = 1.0
anchor_bottom = 1.0
color = Color( 0.222656, 0.222656, 0.222656, 0.574588 )
[node name="virtual_joy" parent="CanvasLayer" instance=ExtResource( 7 )]