forked from manuelperuzzi/evolutionary-cars
-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.tscn
80 lines (66 loc) · 1.98 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
[gd_scene load_steps=4 format=2]
[ext_resource path="res://Main.cs" type="Script" id=1]
[ext_resource path="res://RaceManager.cs" type="Script" id=2]
[ext_resource path="res://StartButton.cs" type="Script" id=3]
[node name="Main" type="Node2D" index="0"]
script = ExtResource( 1 )
carScenePath = "res://car/sensorCar.tscn"
trackScenePath = "res://tracks/track01/track01.tscn"
carsNumber = 50
distanceThreshold = 50.0
[node name="RaceManager" type="Node" parent="." index="0"]
script = ExtResource( 2 )
[node name="Control" type="Node2D" parent="." index="1"]
z_index = 1
_sections_unfolded = [ "Z Index" ]
[node name="StartButton" type="Button" parent="Control" index="0"]
anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
margin_right = 113.0
margin_bottom = 20.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
focus_mode = 2
mouse_filter = 0
mouse_default_cursor_shape = 0
size_flags_horizontal = 1
size_flags_vertical = 1
toggle_mode = false
enabled_focus_mode = 2
shortcut = null
group = null
text = "Start Simulation"
flat = false
align = 1
script = ExtResource( 3 )
[node name="GenerationLabel" type="RichTextLabel" parent="Control" index="1"]
anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
margin_left = 868.0
margin_top = 7.0
margin_right = 981.0
margin_bottom = 50.0
rect_scale = Vector2( 1.5, 1.5 )
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = true
mouse_filter = 0
mouse_default_cursor_shape = 0
size_flags_horizontal = 1
size_flags_vertical = 1
bbcode_enabled = false
bbcode_text = ""
visible_characters = -1
percent_visible = 1.0
meta_underlined = true
tab_size = 4
text = ""
scroll_active = true
scroll_following = false
selection_enabled = false
override_selected_font_color = false
_sections_unfolded = [ "Anchor", "BBCode", "Margin", "Pause", "Rect", "Theme", "custom_constants", "custom_fonts", "custom_styles" ]
[connection signal="pressed" from="Control/StartButton" to="Control/StartButton" method="OnButtonPressed"]