+ song titles to song plates

This commit is contained in:
FajsiEx 2021-07-30 22:10:04 +02:00
parent aaf60fa267
commit 83dd62720a
1 changed files with 5 additions and 0 deletions

View File

@ -140,6 +140,11 @@ function drawSong(song, y)
gfx.BeginPath() gfx.BeginPath()
draw_number(songX+30, y+125, 1.0, selectedSongDifficulty.level, 2, difficultyNumbers, false, 0.65, 1) draw_number(songX+30, y+125, 1.0, selectedSongDifficulty.level, 2, difficultyNumbers, false, 0.65, 1)
-- Draw song title
gfx.FontSize(24)
gfx.TextAlign(gfx.TEXT_ALIGN_LEFT + gfx.TEXT_ALIGN_MIDDLE)
gfx.Text(song.title, songX+90, y+155);
-- Draw score badge -- Draw score badge
local badgeImage = badgeImages[1]; local badgeImage = badgeImages[1];
if bestScore then if bestScore then