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 Professional Discussion / Buttons on Home screen

Author
Message
Wu dynasty
13
Years of Service
User Offline
Joined: 7th Feb 2013
Location: In a democracy
Posted: 19th Apr 2013 18:20
I am looking to make a title screen with buttons like Start Game, Options, Help, Credits. For example if you click start game, it will start the game.
thanks,
Nathan

You are entering the Wu Dynasty. Boomshakalaka
-Nathan
Mobiius
Valued Member
23
Years of Service
User Offline
Joined: 27th Feb 2003
Location: The Cold North
Posted: 20th Apr 2013 00:04
Confucius say, man who search codebase for UI code find eternal enlightenment.

I live for video games! (And beers, and football, and cars!)
See what I live for here: [url]http:\\www.TeamDefiant.co.uk[/url]
Virtual Nomad
Moderator
20
Years of Service
User Offline
Joined: 14th Dec 2005
Location: SF Bay Area, USA
Posted: 20th Apr 2013 03:02 Edited at: 20th Apr 2013 03:02
Confuse-us say, man who does not read response to same question receives no response nor enlightenment for all eternity.

Virtual Nomad @ California, USA . DBPro V7.7 . Matrix1Utils 05.27.12
AMD Phenomâ„¢ X4 9750 Quad-Core @ 2.4 GHz . 8 GB PC2-6400 RAM
ATI Radeon HD 3650 @ 512 MB . Vista Home Premium 64 Bit
Derek Darkly
14
Years of Service
User Offline
Joined: 22nd Sep 2011
Location: Whats Our Vector, Victor?
Posted: 22nd Apr 2013 19:10
Hi Nathan,
Just try something simple first.

For a button I sometimes like to use the BOX command to make a nice looking gradient box, then just put text inside the box.

To make the button "clickable" just figure out where X (the sides) begin and end and where Y (top and bottom) begin and end.



D.D.

Login to post a reply

Server time is: 2026-07-07 10:13:03
Your offset time is: 2026-07-07 10:13:03