diff options
| author | Ribbon <ambiguousmachine@gmail.com> | 2022-02-15 17:14:05 -0800 |
|---|---|---|
| committer | Ribbon <ambiguousmachine@gmail.com> | 2022-02-15 17:14:05 -0800 |
| commit | 84928ff6c5c25420edd3733e97fd682b4ab00f27 (patch) | |
| tree | 795b1e07892834692da1baac51065b22d8447a1f /ui.lua | |
| parent | 1336a088ff535b36d8578d6fc3ae14dca68cb387 (diff) | |
Made a damage smoke function, changed some sounds, music has been added (woo chris!!), added test score UI in game.
SO LITTLE TOKENS!!!
Diffstat (limited to 'ui.lua')
| -rw-r--r-- | ui.lua | 13 |
1 files changed, 10 insertions, 3 deletions
@@ -64,14 +64,21 @@ function mainmenutext(x,y) printdropshadow("(\151) - companion",x+15,y+18,6,5) end -function titlehighscores(x,y) +function titlehighscores(highscore0,highscore1,x,y) -- default values -- 52 -- 110 - printdropshadow("000000",x-20,y,12,15) --1P high score + printdropshadow(highscore0,x-20,y,12,15) --1P high score printdropshadow("-",x+10,y,6,5) - printdropshadow("000000",x+20,y,9,2) --2P high score + printdropshadow(highscore1,x+20,y,9,2) --2P high score +end + +function currentscore(currentscore0,currentscore1,x,y) + printdropshadow(currentscore0,x+2,y+2,12,15) --1P current score + if #players != 1 then + printdropshadow(currentscore1,x+2,y+117,9,2) --2P current score + end end function credits(x,y) |
