From 1f7b66ceb91815e82ee1b3e4fa93fdaa55be9a58 Mon Sep 17 00:00:00 2001 From: Fabien Freling Date: Sun, 28 Apr 2019 14:27:42 +0200 Subject: [PATCH] update start screen --- right_coin.lua | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/right_coin.lua b/right_coin.lua index 27b827e..4e8cdec 100644 --- a/right_coin.lua +++ b/right_coin.lua @@ -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()