Merge branch 'master' of git.touhou.dev:StellatedCUBE/Jam10
This commit is contained in:
commit
09c9809e94
17 changed files with 3823 additions and 30 deletions
|
@ -5,7 +5,7 @@ class_name DownhillAutoscrollerPlayer
|
|||
export var min_speed : float = 3
|
||||
export var max_speed : float = 11
|
||||
export var player_initiated_acceleration : float = 5
|
||||
export var boost_per_second : float = 6
|
||||
export var boost_per_second : float = 6 / 1.36 # 6 mph
|
||||
|
||||
var last_contacted_map_elem_type : int = Constants.MapElemType.SQUARE
|
||||
|
||||
|
@ -200,7 +200,10 @@ func landed():
|
|||
boost = 0
|
||||
spin_audiostream_player.stop()
|
||||
return
|
||||
target_move_speed += boost
|
||||
if boost > 0:
|
||||
scene.find_node("CanvasLayer").flash_boost = true
|
||||
h_speed += boost
|
||||
target_move_speed = h_speed
|
||||
boost = 0
|
||||
|
||||
func react(delta):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue