PT
Developer Forums
Register
Login
Code Snippets
->
Button command
<
1
>
S
Surreal Studio IanG
Joined:
21st Sep 2003
Location:
Cyberspace...I think
Posted:
23rd Sep 2003 20:57
This is very simple. All u have 2 do is follow the basic outline.
The x1,y1,x2,y2 in "function button(x1,y1,x2,y2)" represent the corners of a box.
J
Jess T
Joined:
20th Sep 2003
Location:
Over There... Kablam!
Posted:
29th Sep 2003 18:13
Thanks Phoenix, im gonna use that code to test if the mouse is on certain parts of the screen and then return a string value which tells me where the mouse is...
[EDIT]
Come to think of it, mabey not, that code isnt really hard to reproduce...
Good idea though...
S
Surreal Studio IanG
Joined:
21st Sep 2003
Location:
Cyberspace...I think
Posted:
5th Oct 2003 22:23
thanks - i only did it because i couldn't think of what else to do.