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.

DarkBASIC Discussion / Basic Dark Basic Menu

Author
Message
EddieB
20
Years of Service
User Offline
Joined: 29th Sep 2004
Location: United Kingdom
Posted: 12th Oct 2004 01:35
Hi i have made my game. I want to no how to make a basic menu at the beginin of my game. All i need is a code to load my background and links on the menu. Play game, Controls,settings.

200GB HARD DRIVE 1GB RAM 256MB GRAPHICS CARD
<img src="http://www.freewebs.com/warhammered/image2.jpg">
steve c
21
Years of Service
User Offline
Joined: 30th Jan 2004
Location: united kingdom
Posted: 12th Oct 2004 03:22 Edited at: 12th Oct 2004 03:25
right well here u are if it dont work pls tell me



where it sais new game and whatever put what you want eg start game or somtin whatever you like and put all the code for your game under where it sais.
the options dont acually work you will need to put somting like the others
eg:text 180,275,"controls or credits"
if mousex()>=180 and mousex()<=250 and mousey()>=275 and mousey()<=275+text height("controls or credits")
ink rgb(500,500,500),1
if mouseclick()=1
exit
gosub controls or credits or whatever options you like
if you need more info about how to do controls and credits just ask.
and if you need to know how the mouseclicking on the text works i will explain
hope it works steve

current projects
codename : tasgarad
EddieB
20
Years of Service
User Offline
Joined: 29th Sep 2004
Location: United Kingdom
Posted: 12th Oct 2004 04:04
Thank you. I cant try it at the moment but i will tell you as quick as i can.

200GB HARD DRIVE 1GB RAM 256MB GRAPHICS CARD
steve c
21
Years of Service
User Offline
Joined: 30th Jan 2004
Location: united kingdom
Posted: 12th Oct 2004 04:50
okay hope it works

current projects
codename : tasgarad
EddieB
20
Years of Service
User Offline
Joined: 29th Sep 2004
Location: United Kingdom
Posted: 14th Oct 2004 04:12
It worked thanks.

200GB HARD DRIVE 1GB RAM 256MB GRAPHICS CARD

Login to post a reply

Server time is: 2025-05-24 16:55:05
Your offset time is: 2025-05-24 16:55:05