ascension flash label, scrollable menu
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
@@ -145,6 +145,11 @@ function Ascension.draw_flash()
|
||||
local flash_color = (pulse > 0.5) and Config.colors.white or Config.colors.light_grey
|
||||
rect(0, 0, sw, sh, flash_color)
|
||||
|
||||
local cx = math.floor(sw / 2)
|
||||
local cy = math.floor(sh / 2)
|
||||
Print.text_center("Level Up!", cx, cy - 12, Config.colors.black, false, 2)
|
||||
Print.text_center("One step closer to ascension", cx, cy + 6, Config.colors.black, false, 1)
|
||||
|
||||
if _flash_timer >= _flash_total then
|
||||
_flash_active = false
|
||||
Ascension.start_fade()
|
||||
|
||||
Reference in New Issue
Block a user