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 / i need a menu!

Author
Message
GZMGames Admin
19
Years of Service
User Offline
Joined: 15th Feb 2005
Location: vermont
Posted: 28th Mar 2005 09:03
hello guys i need a menu but me being a newbie i have no idea what im doing so if someone could help me out here and give me one it doesnt have to be a cool nice looking one with 500 lines on it just a simple menu were i can add a background, and text on the menu buttons with ease. anyone who helps me out i thank you

Games made with passion
Three Score
20
Years of Service
User Offline
Joined: 18th Jun 2004
Location: behind you
Posted: 28th Mar 2005 09:33
heres a tip for future note
when u need help with code check the code snipplets board first
but i checked it for u so here
http://forum.thegamecreators.com/?m=forum_view&t=49106&b=6

X-Patch x-patch.exe(gui):75% make.exe:5% x-patch.dll(runtime dll):0% developed on win xp home sp2
GZMGames Admin
19
Years of Service
User Offline
Joined: 15th Feb 2005
Location: vermont
Posted: 28th Mar 2005 09:39
achtually i already checked the code snippets and found that same one and i can't seem to figure out how to add text to those buttons on that menu and thats what i need but thank you for your time anyway

Games made with passion
Dsarchy
20
Years of Service
User Offline
Joined: 4th Oct 2003
Location: UK- Kent
Posted: 28th Mar 2005 18:51 Edited at: 28th Mar 2005 18:52
its very basic and you will have to sort alot of it out yourself but it works, just look at it as the function being a command and you call it up when you want

Digital Dragon
19
Years of Service
User Offline
Joined: 17th Dec 2004
Location: ...
Posted: 28th Mar 2005 21:44
lol my menu's look ok since they have no media! But it is complex code but the easiest way to add labels is just by changing the "whatever" to "start" or somethinfg like that. This is a simple menu I used for my Spanish Armada project for school.

On this you will have to change the labels to something though

GZMGames Admin
19
Years of Service
User Offline
Joined: 15th Feb 2005
Location: vermont
Posted: 29th Mar 2005 11:12
that works pretty good thank you but how do i make it goto where i want it to example: someone clicks start, doesnt work they get p*ssed, destroy computer, buys new one, plays game again, repeat.
would i put a

goto where ever:
well thanks for the menu anyway looks good!

Games made with passion
GZMGames Admin
19
Years of Service
User Offline
Joined: 15th Feb 2005
Location: vermont
Posted: 29th Mar 2005 11:42
i figured out how thanks

Games made with passion
GZMGames Admin
19
Years of Service
User Offline
Joined: 15th Feb 2005
Location: vermont
Posted: 29th Mar 2005 11:52
another prblem actually, i made one of the buttons got my credits but is stay on the same page in other words when someone clicks on credits it will stay at the main menu just the credits will be there and it will be un readable

Games made with passion
BF game programmer
19
Years of Service
User Offline
Joined: 22nd Jan 2005
Location: hoover alabama
Posted: 29th Mar 2005 13:54
try cls but i if it a 3d menu just hide the objects and / or delete them and turn the backdrop off.! hope that helps

james bond rules
fasdfsdaf
19
Years of Service
User Offline
Joined: 17th Jan 2005
Location:
Posted: 29th Mar 2005 15:54
just replace the "end" with a "goTo Blahblah_Land"

And remember to use a cls when you go somewhere else.

Oh, don't listen to other people saying "goTo's suck your mom!" In this case, goTo's are the only think you'll want.

www.war3forums.net

A.K.A Death Stalker
Digital Dragon
19
Years of Service
User Offline
Joined: 17th Dec 2004
Location: ...
Posted: 29th Mar 2005 18:17
You can also chage that breally cool background effect by just doing this.

That makes it black and green

GZMGames Admin
19
Years of Service
User Offline
Joined: 15th Feb 2005
Location: vermont
Posted: 30th Mar 2005 06:15
thanks i figured a nother way but it will cost me some lines and i tryed the cls that will erase the links to the game example

when someone loads the game they see the background an they won't see any of the buttons becuase the cls is there but i figured out something when they click on a button ill have

print ""
sleep 100
cls

at the cls will erase the screen then goto the game but that costs me a few lines but o well

Games made with passion

Login to post a reply

Server time is: 2024-09-23 17:21:49
Your offset time is: 2024-09-23 17:21:49