level 2
This commit is contained in:
parent
f4bbcb9bfb
commit
63a7788709
File diff suppressed because one or more lines are too long
|
@ -108,7 +108,7 @@ func _process(delta):
|
||||||
if !stage_finished:
|
if !stage_finished:
|
||||||
time_elapsed_in_race += delta
|
time_elapsed_in_race += delta
|
||||||
# 1 grid unit = 2ft, 1 grid unit / s = 1.36 mph
|
# 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:
|
if not race_over and player.pos.x >= finish_x_pos:
|
||||||
race_over = true
|
race_over = true
|
||||||
|
|
|
@ -20,7 +20,8 @@ func _ready():
|
||||||
player.recorder = self
|
player.recorder = self
|
||||||
scene = player.get_parent()
|
scene = player.get_parent()
|
||||||
|
|
||||||
func _process(_delta):
|
func _physics_process(_delta):
|
||||||
|
print(_delta)
|
||||||
if this_frame:
|
if this_frame:
|
||||||
this_frame = false
|
this_frame = false
|
||||||
replay.positions.append(player.pos)
|
replay.positions.append(player.pos)
|
||||||
|
|
|
@ -63,7 +63,7 @@ _global_script_class_icons={
|
||||||
[application]
|
[application]
|
||||||
|
|
||||||
config/name="Moriya's Wanton Winter Wager"
|
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"
|
config/icon="res://icon.png"
|
||||||
|
|
||||||
[autoload]
|
[autoload]
|
||||||
|
|
Loading…
Reference in New Issue