Added temporary game over mechanic (just reloads the scene right now)

This commit is contained in:
KingGurke 2023-10-01 09:49:47 +02:00
parent cf0fbfa45f
commit fa2d82475b
3 changed files with 18 additions and 2 deletions

View file

@ -10,12 +10,13 @@ _data = {
}
point_count = 7
[node name="level1" type="Node2D" node_paths=PackedStringArray("path", "line")]
[node name="level1" type="Node2D" node_paths=PackedStringArray("path", "line", "player")]
script = ExtResource("1_hv75i")
starting_width = 400.0
shrink_factor = 0.5
shrink_factor = 5.0
path = NodePath("TrackPath")
line = NodePath("TrackLine")
player = NodePath("player")
[node name="TrackPath" type="Path2D" parent="."]
curve = SubResource("Curve2D_ll8bj")
@ -27,3 +28,4 @@ texture_mode = 2
[node name="player" parent="." instance=ExtResource("2_5nf51")]
position = Vector2(42.7545, -14.9219)
brake_strength = 800.0