12345678910111213141516171819202122232425262728293031323334353637383940 |
- TITLE = [===[
- ###### # #
- # # # # # # ###### ##### # # ###### #### # #
- # # # # # # # # # # # # # # #
- ###### # # # # ##### # ####### ##### # ####
- # # # # # # # # # # # # # #
- # # # # # # # # # # # # # # #
- ###### #### ###### ###### ###### # # # ###### #### # #
- Press any key to start
- Made by eq (eq.ed1.club), florrie (florrie.ed1.club),
- and alex (imalex.xyz) for Ludum Dare 41
- ]===]
- HELP = [===[
- Move around with:
- y k u q w e 7 8 9 > = enter stairway
- h l or a d or 4 6 . = stand still (skip turn)
- b j n z s x 1 2 3 ? = show/hide this menu
- g = show graphics options
- ]===]
- function drawTitle(title, text)
- local x, y = 4, math.ceil(HEIGHT / 3) - 3
- for i = 1, #title do
- local c = title:sub(i, i)
- if c == '\n' then
- x = 4
- y = y + 1
- else
- text[y][x] = {char = c}
- x = x + 1
- end
- end
- end
|