Update sdodge.lua

This commit is contained in:
LDDestroier 2020-11-23 06:14:36 -05:00 committed by GitHub
parent 3d802fc3e8
commit ac8bfdfacc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -139,7 +139,7 @@ local game = function()
if gm.hiscore < gm.score then --conglaturations if gm.hiscore < gm.score then --conglaturations
gm.hiscore = gm.score gm.hiscore = gm.score
end end
sleep(0) sleep(0.05)
end end
end end
@ -179,12 +179,12 @@ local showTitle = function()
term.clear() term.clear()
paintutils.drawImage(sprite.guybig,math.floor(x),math.floor(y)) paintutils.drawImage(sprite.guybig,math.floor(x),math.floor(y))
if t then t(true) end if t then t(true) end
sleep(0) sleep(0.05)
until y <= -24 until y <= -24
end end
term.setBackgroundColor(colors.white) term.setBackgroundColor(colors.white)
term.clear() term.clear()
sleep(0) sleep(0.05)
term.setBackgroundColor(colors.black) term.setBackgroundColor(colors.black)
term.clear() term.clear()
paintutils.drawImage(sprite.title,3,2) paintutils.drawImage(sprite.title,3,2)
@ -211,4 +211,4 @@ while true do
cleanExit() cleanExit()
break break
end end
end end