This commit is contained in:
gemdude46 2023-01-30 19:10:26 +00:00
parent f4bbcb9bfb
commit 63a7788709
4 changed files with 8 additions and 6 deletions

File diff suppressed because one or more lines are too long

View File

@ -108,7 +108,7 @@ func _process(delta):
if !stage_finished:
time_elapsed_in_race += delta
# 1 grid unit = 2ft, 1 grid unit / s = 1.36 mph
player_speed_mph = player.h_speed * 1.36
player_speed_mph = player.target_move_speed#player.h_speed * 1.36
if not race_over and player.pos.x >= finish_x_pos:
race_over = true

View File

@ -20,7 +20,8 @@ func _ready():
player.recorder = self
scene = player.get_parent()
func _process(_delta):
func _physics_process(_delta):
print(_delta)
if this_frame:
this_frame = false
replay.positions.append(player.pos)

View File

@ -63,7 +63,7 @@ _global_script_class_icons={
[application]
config/name="Moriya's Wanton Winter Wager"
run/main_scene="res://Scenes/DownhillAutoscroller.tscn"
run/main_scene="res://Scenes/DownhillAutoscroller2.tscn"
config/icon="res://icon.png"
[autoload]