I've been trying to creat a typical title menu with a mouse cursor and mouse activated buttons, Here's what I've come up with so far, I've loaded three buttons but have only coded one , the single player button--
Rem Project: Black Out Main
Rem Created: 8/25/2006 12:04:10 PM
Rem ***** Main Source File *****
sync on : sync rate 0
set text font "arial" : set text size 176
set text to bold : set text transparent
SET DISPLAY MODE 1024, 768, 32
LOAD IMAGE "title.jpg",1
LOAD IMAGE "ProfileB.tga",2
LOAD IMAGE "SingleplayerB.tga",3
LOAD IMAGE "SettingsB.tga",4
do
mx#=MOUSEX()
my#=MOUSEY()
mc#=MOUSECLICK()
sx#=0
sy#=0
s#=0
paste image 1,0,0
paste image 2,225,250
paste image 3,225,350
paste image 4,225,450
if mx#>225 and mx#<275 then sx#=1
if my#>350 and my#<400 then sy#=1
if sx#=1 and sy#=1 then s#=1
if mc#>0 and s#=1 then gosub _singleplayer
sync
loop
_singleplayer:
rem Launch external program and wait
EXECUTE FILE "BlackOut","","DATA/",1
return
I'm thinking this is a messing way of doing this( if it'll even work in the end). Could someone show me a cleamer way of coding this? I could upload the media if it would help. Thanks for your time,----JABBER