From 5ab796dc50337210ef693d45e2b00049846e26dc Mon Sep 17 00:00:00 2001 From: Ribbon Date: Wed, 9 Feb 2022 01:03:39 -0800 Subject: added menu text and updated sprites oops worked on it while chris played dark souls galaxies!!! --- draw.lua | 54 +++++++++++++++++++++++++++++++++++++++++++++++------- 1 file changed, 47 insertions(+), 7 deletions(-) (limited to 'draw.lua') diff --git a/draw.lua b/draw.lua index 7fa0379..d2f709d 100644 --- a/draw.lua +++ b/draw.lua @@ -1,5 +1,5 @@ ---background pallete replacement -pal(15,132,1) +--pallete replacement +pal(15,140,1) pal(14,3,1) pal(13,133,1) pal(11,139,1) @@ -13,12 +13,14 @@ pal(0,130,1) drawbg() drawobjs() ---print(#obj) +-- print(#obj) + function drawlogo(x,y) --default values - x = x or 24 - y = y or 18 - --this is a horrible way to draw the logo, but I'm doing it anyways. + -- x = 24 + -- y = 26 + + --this is a horrible way to draw the logo, but I'm doing it anyways. x3 -- muahahahahahahaha!!!!!! sspr(0,24,16,8,x-1,y+2,32,16) --to sspr(16,24,8,8,x+53,y+2,16,16) --ic @@ -52,4 +54,42 @@ function drawlogo(x,y) clip(x+10, y+20, 60, 3) print(text, x+10, y+20, 11) clip() -end \ No newline at end of file +end + +function mainmenutext(x,y) + -- default values + -- x = 24 + -- y = 62 + + spr(17,x+2,y+4,1,1) --blue ship + spr(33,x+2,y+16,1,1) --orange ship + print("(A) - Lone Wolf", x+15,y+7,5) + print("(A) - Lone Wolf", x+15,y+6,6) + print("(B) - Companion", x+15,y+18,5) + print("(B) - Companion", x+15,y+17,6) +end + +function credits(x,y) + -- default vaues + -- x = 10 + -- y = 100 + + palt(2,true) + palt(0,false) + spr(53,x-5,y+6,1,1) --duck + pset(x+3,y+10,13) --extra dot for glasses + spr(54,x+104,y+6,1,1) --bot + palt(2,false) + palt(0,true) + print("1029chris ribboncable", x+9,y+6,0) + print("1029chris ribboncable", x+9,y+5,9) + print("code/tunes art/sounds", x+8,y+13,0) + print("code/tunes art/sounds", x+8,y+12,9) + print("made in vancouver - 2022", x+6,y+22,0) + print("made in vancouver - 2022", x+6,y+21,4) +end + + +-- drawlogo(24,26) +-- mainmenutext(24,62) +-- credits(10,100) \ No newline at end of file -- cgit