Posted 27 October 2012 - 08:39 AM
Hey
i have made a couple of programs before, but now i've trying something new… i wanted to make a "Menu" with two "menu"
boxes like this :
¤ = Air
# = a letter / a '#'
######¤¤¤######
#¤¤¤¤#¤¤¤#¤¤¤¤#
#¤¤¤¤#¤¤¤#¤¤¤¤#
#¤¤¤¤#¤¤¤#¤¤¤¤#
#¤¤¤¤#¤¤¤#¤¤¤¤#
######¤¤¤######
and then i did want to make a menu out of thoose two boxes like this:
the o's is so i know which "box" are selected…
######¤¤¤######
#oooo#¤¤¤#¤¤¤¤#
#o o#¤¤¤#¤¤¤¤#
#o o#¤¤¤#¤¤¤¤#
#oooo#¤¤¤#¤¤¤¤#
######¤¤¤######
i'm kinda newb in Mouse_Clicks, or menu making on this method (with the boxes)
but i can show you a bit of my code ( does not include the menu… i just want explanation about how i can make a menu out of boxes)
edit: i cant make the size bigger… i've tried with but nothing happens
i have made a couple of programs before, but now i've trying something new… i wanted to make a "Menu" with two "menu"
boxes like this :
¤ = Air
# = a letter / a '#'
######¤¤¤######
#¤¤¤¤#¤¤¤#¤¤¤¤#
#¤¤¤¤#¤¤¤#¤¤¤¤#
#¤¤¤¤#¤¤¤#¤¤¤¤#
#¤¤¤¤#¤¤¤#¤¤¤¤#
######¤¤¤######
and then i did want to make a menu out of thoose two boxes like this:
the o's is so i know which "box" are selected…
######¤¤¤######
#oooo#¤¤¤#¤¤¤¤#
#o o#¤¤¤#¤¤¤¤#
#o o#¤¤¤#¤¤¤¤#
#oooo#¤¤¤#¤¤¤¤#
######¤¤¤######
i'm kinda newb in Mouse_Clicks, or menu making on this method (with the boxes)
but i can show you a bit of my code ( does not include the menu… i just want explanation about how i can make a menu out of boxes)
Spoiler
function LogWelcomeOS()
drawBox(18,8,22,12) -- this is an function above --
drawBox(26,8,30,12) -- this too --
Pos2(15,6) -- term.setCursorPos() function--
print("Guest V")
Pos2(24,6)
print("Admin V")
--here i have my box "Menu"--
SE(5) -- sleeps ('amount') of seconds --
while running do -- here i am trying to make the menu methods... but without luck --
end
end
edit: i cant make the size bigger… i've tried with but nothing happens