-
Notifications
You must be signed in to change notification settings - Fork 1
/
richmond_driver.tscn
36 lines (28 loc) · 1.28 KB
/
richmond_driver.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
[gd_scene load_steps=5 format=3 uid="uid://b5lbwy5hprciv"]
[ext_resource type="Script" path="res://richmond_driver.gd" id="1_fuvbh"]
[ext_resource type="Texture2D" uid="uid://c4mbn6rga06c2" path="res://Resources/Sprites/CarV1.png" id="1_lk0x1"]
[ext_resource type="AudioStream" uid="uid://dgbws5b6n4g6x" path="res://VDS sounds/Chinese Rap (BASS BOOSTED).mp3" id="3_sb7oo"]
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_txtrq"]
radius = 24.0
height = 124.0
[node name="RichmondDriver" type="Area2D"]
position = Vector2(450, 1500)
collision_layer = 6
collision_mask = 7
script = ExtResource("1_fuvbh")
[node name="Sprite2D" type="Sprite2D" parent="."]
position = Vector2(-70.25, -145.25)
scale = Vector2(0.2, 0.2)
texture = ExtResource("1_lk0x1")
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2(-70, -144)
shape = SubResource("CapsuleShape2D_txtrq")
[node name="Timer" type="Timer" parent="."]
wait_time = 1.5
autostart = true
[node name="RM" type="AudioStreamPlayer2D" parent="."]
stream = ExtResource("3_sb7oo")
volume_db = -0.5
[connection signal="area_entered" from="." to="." method="_on_area_entered"]
[connection signal="body_entered" from="." to="." method="_on_body_entered"]
[connection signal="timeout" from="Timer" to="." method="_on_timer_timeout"]