From 591625d635bb435cc3de221aec6253d8a0f38f86 Mon Sep 17 00:00:00 2001 From: Luke Hubmayer-Werner Date: Wed, 13 Jan 2021 00:46:12 +1030 Subject: [PATCH] Song select: fewer offscreen tiles --- scripts/Menu.gd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/Menu.gd b/scripts/Menu.gd index d09759c..79469e7 100644 --- a/scripts/Menu.gd +++ b/scripts/Menu.gd @@ -150,8 +150,8 @@ func draw_songtile(song_key, position, size, title_text:=false, difficulty=selec func diff_f2str(difficulty: float): # Convert .5 to + return str(int(floor(difficulty))) + ('+' if fmod(difficulty, 1.0)>0.4 else '') -var sel_scales := lerp_array.new([1.0, 0.8, 0.64, 0.64, 0.64, 0.512, 0.4096]) -var bg_scales := lerp_array.new([0.64, 0.64, 0.64, 0.64, 0.64, 0.512, 0.4096]) +var sel_scales := lerp_array.new([1.0, 0.8, 0.64, 0.512, 0.4096]) +var bg_scales := lerp_array.new([0.64, 0.64, 0.64, 0.512, 0.4096]) func _draw_song_select(center: Vector2) -> Array: var size = 192 var spacer_x = 12