feat: ring timer drawn at top-left of screen, Meter.set_timer_duration(f) controls speed, Meter.set_timer_decay(a) controls decay amount, all decay pauses during any minigame window
This commit is contained in:
@@ -87,7 +87,7 @@ function MinigameRhythmWindow.draw()
|
||||
local target_left = mg.target_center - (mg.target_width / 2)
|
||||
local target_x = mg.bar_x + (target_left * mg.bar_width)
|
||||
local target_width_pixels = mg.target_width * mg.bar_width
|
||||
rect(target_x, mg.bar_y, target_width_pixels, mg.bar_height, Config.colors.green)
|
||||
rect(target_x, mg.bar_y, target_width_pixels, mg.bar_height, Config.colors.light_blue)
|
||||
local line_x = mg.bar_x + (mg.line_position * mg.bar_width)
|
||||
rect(line_x - 1, mg.bar_y, 2, mg.bar_height, Config.colors.item)
|
||||
local score_text = "SCORE: " .. mg.score .. " / " .. mg.max_score
|
||||
@@ -100,7 +100,7 @@ function MinigameRhythmWindow.draw()
|
||||
)
|
||||
local button_color = Config.colors.light_grey
|
||||
if mg.button_pressed_timer > 0 then
|
||||
button_color = Config.colors.green
|
||||
button_color = Config.colors.light_blue
|
||||
end
|
||||
circb(mg.button_x, mg.button_y, mg.button_size, button_color)
|
||||
if mg.button_pressed_timer > 0 then
|
||||
|
||||
Reference in New Issue
Block a user