From 5b314014a81260e5a96c821efd3f530dfb4f4fda Mon Sep 17 00:00:00 2001 From: Fabien Freling Date: Mon, 29 Apr 2019 13:03:52 +0200 Subject: [PATCH] add A/B explanation --- right_coin.lua | 32 ++++++++++++++++++++++++-------- 1 file changed, 24 insertions(+), 8 deletions(-) diff --git a/right_coin.lua b/right_coin.lua index b6e3fe0..7ad659d 100644 --- a/right_coin.lua +++ b/right_coin.lua @@ -268,17 +268,30 @@ end function drawStart() cls(1) - print("The Right Coin",80,24) + print("The Right Coin",80,20) 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) - print("The market will dictate how",130,70,15,false,1,true) - print("much medicine you can buy.",130,80,15,false,1,true) + local yText=35 + print("You're dying, and medicine",130,yText,15,false,1,true) + print("ain't cheap. Exchange your",130,yText+10,15,false,1,true) + print("most valuable coins for life.",130,yText+20,15,false,1,true) + print("The market will dictate how",130,yText+30,15,false,1,true) + print("much medicine you can buy.",130,yText+40,15,false,1,true) + + -- A + spr(401,60,90,0) + print(": JUMP",70,92) + print("(keyboard: Z)",60,98,15,false,1,true) + -- B + spr(402,130,90,0) + print(": ENTER MARKET",140,92) + print("(keyboard: X)",130,98,15,false,1,true) + if t%60 > 20 then - print("Press Z to start",75,100) + print("Press",75,112) + spr(401,108,110,0) + print("to start",120,112) end print("Fabien Freling & Pascal Batty", 65, 128, 15, false, 1, true) end @@ -302,7 +315,8 @@ function drawGameOver() print("and "..seconds.." seconds.",70,64) end if t%120 > 20 then - print("Press Z",100,100) + print("Press",100,100) + spr(401,132,98,0) end end @@ -638,6 +652,8 @@ end -- 099:000ee000009ee900009ee900009ee900009ee900009ee900009ee900000ee000 -- 100:000ee0000099ee0000e9ee0000e9ee0000e9ee0000e9ee000099ee00000ee000 -- 129:0a66aaa0aa6a6aaaaa6666aaaa6aa6aa3a6666a303aaaa30003aa30000033000 +-- 145:0000000006666660066006600660066006666660066006600660066000000000 +-- 146:0000000006666000066066000666666006600660066006600666666000000000 -- --