update start screen

master
Fabien Freling 2019-04-28 14:27:42 +02:00
parent 2f63914951
commit 1f7b66ceb9
1 changed files with 13 additions and 4 deletions

View File

@ -11,7 +11,7 @@ h=136
mh=h/s
GameState = { start=0, game=1, gameover=2, market=3 }
currentState = GameState.game
currentState = GameState.start
life=100
coinBlue=0
valueBlue=1.0
@ -122,9 +122,18 @@ do -- Player
end
function drawStart()
cls(13)
print("The Right Coin",80,36)
print("Press Z to start",75,96)
cls(1)
print("The Right Coin",80,24)
spr(80, 20, 30, 0, 3)
spr(81, 50, 50, 0, 2)
spr(82, 40, 70, 0, 1)
print("You're dying, and medicine",130,40,15,false,1,true)
print("ain't cheap. Exchange your",130,50,15,false,1,true)
print("most valuable coins for life.",130,60,15,false,1,true)
if t%60 > 20 then
print("Press Z to start",75,100)
end
print("Fabien Freling & Pascal Batty", 65, 128, 15, false, 1, true)
end
function drawGameOver()