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 / Help with Menu

Author
Message
Alexander The Great
18
Years of Service
User Offline
Joined: 4th Nov 2005
Location:
Posted: 4th Dec 2005 14:33
How can I make a menu: Start a New game, Load a Save game, resume game, or save game? What about when in the game you just have to press a key to go to the menu?

Wisdom begins in Wonder-Socrates
Dodic
18
Years of Service
User Offline
Joined: 6th Nov 2005
Location: SNM (Serbia&Montenegro)
Posted: 4th Dec 2005 15:14
here it is :



you may need to change what i setted when you click on new game it goes to game: .

http://dodica.proboards75.com/index.cgi
first 20 are mods. i have 9 sofar.
Alexander The Great
18
Years of Service
User Offline
Joined: 4th Nov 2005
Location:
Posted: 4th Dec 2005 21:51
thanks

Wisdom begins in Wonder-Socrates
Alexander The Great
18
Years of Service
User Offline
Joined: 4th Nov 2005
Location:
Posted: 4th Dec 2005 21:53
How do I describe a exe DBP file? Like in the new game you have to type in the game title. is it: "title.exe", "title.dba" or something like that?

Wisdom begins in Wonder-Socrates
Alexander The Great
18
Years of Service
User Offline
Joined: 4th Nov 2005
Location:
Posted: 4th Dec 2005 22:05
Also, what about the other stuff, like saving, loading, or when you press a key in game mode you go to the menu?

Wisdom begins in Wonder-Socrates
UFO
18
Years of Service
User Offline
Joined: 11th Oct 2005
Location:
Posted: 4th Dec 2005 22:28
Quote: "saving, loading"

For this, you would write to a file the players position, angle, level, and other stats, and for loading, you load that info from the file.

Quote: "when you press a key in game mode you go to the menu"

TDK
Retired Moderator
21
Years of Service
User Offline
Joined: 19th Nov 2002
Location: UK
Thebeely
19
Years of Service
User Offline
Joined: 4th May 2005
Location: Croatia
Posted: 7th Dec 2005 15:47
Quote: "How do I describe a exe DBP file? Like in the new game you have to type in the game title. is it: "title.exe", "title.dba" or something like that?"


I don't get this. Use something like:

If new_game_clicked=1 then gosub new_game

Thebeely team...
Great software...
Join us!
Fox Dark Master
20
Years of Service
User Offline
Joined: 20th Jul 2004
Location: Portugal
Posted: 7th Dec 2005 17:43
here's my code for menus:
http://pwp.netcabo.pt/foxdarkmaster/menu.rar


True Phantasy
Big Man
19
Years of Service
User Offline
Joined: 4th Feb 2005
Location: BEHIND YOU!!!! (but I live in England)
Posted: 8th Dec 2005 22:02
How did I know TDK I knew you would have come here to show him your program (Which might I say looks really good)
Just an observation.
(Well done on the program though)

BM

Our aim is to keep the loo's clean, your aim can help.
Mason
20
Years of Service
User Offline
Joined: 20th Mar 2004
Location: Arizona
Posted: 8th Dec 2005 23:08
Here is simple function that turns a specified area into a button. Basically just put the coordinates in to define your button.



Check out Penguin in the Projects Section!!!
http://www.prodigyarts.5gigs.com

Login to post a reply

Server time is: 2024-09-24 11:25:55
Your offset time is: 2024-09-24 11:25:55