aboutsummaryrefslogtreecommitdiff
path: root/draw.lua
diff options
context:
space:
mode:
authorRibbon <ambiguousmachine@gmail.com>2022-02-15 17:14:05 -0800
committerRibbon <ambiguousmachine@gmail.com>2022-02-15 17:14:05 -0800
commit84928ff6c5c25420edd3733e97fd682b4ab00f27 (patch)
tree795b1e07892834692da1baac51065b22d8447a1f /draw.lua
parent1336a088ff535b36d8578d6fc3ae14dca68cb387 (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 'draw.lua')
-rw-r--r--draw.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/draw.lua b/draw.lua
index 65e6e69..ee7df3c 100644
--- a/draw.lua
+++ b/draw.lua
@@ -15,6 +15,7 @@ drawbg()
drawobjs()
if gamerunning then
+ currentscore("000000","000000",2,2)
if gameover then --gameover timer, it does a cute spinny! 😵
printdropshadow(ceil(respawntimer),63+sin(t())*3,55+cos(t())*3,6,5)
elseif players[1].health <=0 then
@@ -41,7 +42,7 @@ if not gamerunning or menuscroll < 1 then
--main screen items
mainmenutext(24-menuscroll*150,53)
- titlehighscores(52-menuscroll*110,82)
+ titlehighscores("000000","000000",52-menuscroll*110,82)
credits(10-menuscroll*140,108)
--intro acid effect