Went to driving school
This commit is contained in:
parent
5924215f3c
commit
cf0fbfa45f
3 changed files with 29 additions and 14 deletions
|
@ -8,13 +8,9 @@ size = Vector2(36, 20)
|
|||
|
||||
[node name="player" type="StaticBody2D" node_paths=PackedStringArray("camera")]
|
||||
script = ExtResource("1_g4ij8")
|
||||
acc = 600.0
|
||||
dec = 400.0
|
||||
max_speed = 3000.0
|
||||
turn_speed = 0.8
|
||||
brake_strength = 600.0
|
||||
drift_factor = 1.2
|
||||
camera_offset_factor = 0.5
|
||||
camera = NodePath("Camera2D")
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="."]
|
||||
|
@ -30,6 +26,5 @@ shape = SubResource("RectangleShape2D_w2nj7")
|
|||
[node name="Camera2D" type="Camera2D" parent="."]
|
||||
rotation = 1.5708
|
||||
ignore_rotation = false
|
||||
position_smoothing_enabled = true
|
||||
rotation_smoothing_enabled = true
|
||||
rotation_smoothing_speed = 10.0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue