How do you make a Menu???
Author |
Message |
hello123
|
Posted: Sun Jan 13, 2008 11:02 am Post subject: How do you make a Menu??? |
|
|
i don't know how to make a menu |
|
|
|
|
|
Sponsor Sponsor
|
|
|
Sean
|
Posted: Sun Jan 13, 2008 11:08 am Post subject: Re: How do you make a Menu??? |
|
|
First off, what type of Menu are you trying to make?
Gui or MouseWhere?
Second off, please be more specific in original post, and have some code to atleast let us know you attempted. |
|
|
|
|
|
hello123
|
Posted: Sun Jan 13, 2008 11:08 am Post subject: RE:How do you make a Menu??? |
|
|
could someone give an example??? Please |
|
|
|
|
|
hello123
|
Posted: Sun Jan 13, 2008 11:41 am Post subject: RE:How do you make a Menu??? |
|
|
thats the problem, i have no clue at all |
|
|
|
|
|
Sean
|
Posted: Sun Jan 13, 2008 11:42 am Post subject: Re: How do you make a Menu??? |
|
|
Well first off, attempt at making your own, not using GUI, post the code and we can help you. |
|
|
|
|
|
hello123
|
Posted: Sun Jan 13, 2008 11:54 am Post subject: RE:How do you make a Menu??? |
|
|
startButton := GUI.CreateButton (320, 300, 100, "Start Game", information)
how do i declare information, if i use, it won't work, if i use a proceudre, i dont get wat im suppose to put inside the procedure |
|
|
|
|
|
hello123
|
Posted: Sun Jan 13, 2008 11:55 am Post subject: RE:How do you make a Menu??? |
|
|
**var** |
|
|
|
|
|
Sean
|
Posted: Sun Jan 13, 2008 11:58 am Post subject: Re: How do you make a Menu??? |
|
|
As I suggested Do not use Gui. And for your procedure, do not use "" , use it properly.
If you want the button to work properly, then your procedure must have what you want inside of it, so it may work. if you want your button to say hello, then the procedure would be greetings, and inside the procedure you would have...
Turing: |
proc Greetings
put "Hello"
end Greetings
Greetings
|
Like so.. Then your button would have the procedure name in place where you put the "Start Game" and would do the procedure that it was assigned to. |
|
|
|
|
|
Sponsor Sponsor
|
|
|
hello123
|
Posted: Sun Jan 13, 2008 12:15 pm Post subject: RE:How do you make a Menu??? |
|
|
so your sugestin that i make a button without using GUI??? |
|
|
|
|
|
hello123
|
Posted: Sun Jan 13, 2008 12:21 pm Post subject: RE:How do you make a Menu??? |
|
|
the use of GUI is required |
|
|
|
|
|
Sean
|
Posted: Sun Jan 13, 2008 12:29 pm Post subject: Re: How do you make a Menu??? |
|
|
Shakin Cookie has an example of GUI, look at that and then learn from the proper way to incopporate GUI, then you'll have the required stuff to make your Menu. |
|
|
|
|
|
shakin cookie
|
Posted: Sun Jan 13, 2008 12:35 pm Post subject: RE:How do you make a Menu??? |
|
|
for gui, you must declare the procedure before the button... otherwise it will return an error message.
|
|
|
|
|
|
|
|