You should probably read through this to make sure you know the basics of DarkBASIC (variables, arrays, and the like) before you attempt a menu or a game:
http://forum.thegamecreators.com/?m=forum_view&t=137027&b=7
Learning to use DarkBASIC can be a very long process, so you'll have to stick with it for a while, but if you do you'll be able to do this with ease
.
As a direct answer to your question, check out this code:
`This command sets the color the Line and Text commands will draw with
ink rgb(255,255,255),0
`This draws four lines in the shape of a box
`Try changing the numbers to figure out what's going on here.
line 10,10,200,10
line 10,10,10,30
line 10,30,200,30
line 200,10,200,30
`This will set the location where the next PRINT or INPUT command will appear
set cursor 15,15
`Finally, this prompts the user for their username and stores it in the string
`variable USERNAME$, where it can be accessed later.
input "Username: ",username$
`And we're done!
end
Diggsey: I have a spine and memory, but one memorable guy says he hates me. What am I?