Actually what I mean would include the text size, width, height and would be relative to the screen size (display mode) and mouseX, mouseY. Off the top of my head it would be something like:
SET DISPLAY MODE 1280,1024,32
MX=MOUSEX
MY=MOUSEY
CENTER TEXT 640,512,"woot!
--------------------------------------
Now I need to incorperate the size of the text, it's width and height and make them relative to the screen size as too- calculate how great or small the box around the text can be- to create a button. So we would need to include:
--------------------------------------
TS=Text Size
TW=Text Width
TH=Text Height
SW=Screen Width
SH=Screen Height
--------------------------------------
Now I need to come up with the math to make all of this come together. I need to create a formula that can be varying due to the screen size and font text size. I have no Idea how to do this but I imagine it would look something like this
---------------------------------------
SET DISPLAY MODE 1280,1024,32
MX=MOUSEX
MY=MOUSEY
TS=Text Size
TW=Text Width
TH=Text Height
SW=Screen Width
SH=Screen Height
CENTER TEXT 640,512,"woot!
---------------------------------------
What would the formula be?
I hope you understand me-
Daryn
Jack and Jill went up a hill to fetch a pale of water... but Jill got tired of his s#%& so she shot him.