Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / very simple menu

Author
Message
THijs681
20
Years of Service
User Offline
Joined: 24th Feb 2004
Location: somewhere on the earth
Posted: 3rd Mar 2004 20:36 Edited at: 3rd Mar 2004 20:54
need help with a simple menu, no images or something, only text and mouse or keys.

my language is dark basic classic
DBasic Khan
20
Years of Service
User Offline
Joined: 3rd Dec 2003
Location: Alpha Quadrent, Sector 1,1 SOL SYS
Posted: 3rd Mar 2004 20:59
well we need allitle more on what u want it to do! Id try playing with mousex()/Mousey() stuff. For example in my fighter game i have a "dead stick zone". When my mouse is in here the ship stops rolling/pitching:

if mousex()>310
if mousex()<330
objroll=0
endif
if mousey()>230
if mousey()<250
objpitch=0
endif

try this but add mouseclick()=1 stuff.
MikeS
Retired Moderator
21
Years of Service
User Offline
Joined: 2nd Dec 2002
Location: United States
Posted: 3rd Mar 2004 22:48
See my post on Curved Basic on this page. Or follow my link through my sig to the dark basic/tutorial section.



A book? I hate book. Book is stupid.
HowDo
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 4th Mar 2004 01:57
Are you looking for some thing like this on the screen .

Press any key to start


if so it will be some thing like this.


see if this is what you need.

In Space No One can Hear You Scream! (When your comm Line is cut?)
THijs681
20
Years of Service
User Offline
Joined: 24th Feb 2004
Location: somewhere on the earth
Posted: 4th Mar 2004 21:18
sorry, with a play button, and an exit button.
comando 300
21
Years of Service
User Offline
Joined: 23rd Nov 2003
Location:
Posted: 4th Mar 2004 22:21 Edited at: 4th Mar 2004 22:39
well paste a button on the screen. Let suppose the X-coordinates of the button start in 250 and end 300, and Y-coordinates start 100 and end 200, do this





This is a code I made for a menu



CURRENT PROJECT: RETRO PAC-MAN
Saikoro
21
Years of Service
User Offline
Joined: 6th Oct 2003
Location: California
Posted: 5th Mar 2004 02:17 Edited at: 5th Mar 2004 02:22
This is what I use for my menus, or at least the general concept of it. Try making your own borders to go around it.



In the screenshots portion of my website, you can see my menu action at work, just so you can get an idea of what I mean about borders.

Hope this helps.

-Vash the Stampede

Intel Pentium 4 3.0 Ghz 1024MB Ram NVIDIA GeForceFX 5200 128MB 19" LCD DVI Viewsonic

Login to post a reply

Server time is: 2024-11-26 07:38:35
Your offset time is: 2024-11-26 07:38:35