CodeBase - Simple Button
Uploaded: 29th Dec 2003 21:51
Modified: 1st Jan 1970 01:00
makes a button at the given location
call it like this:<br /> camz# = button(buttonx-16, buttony-32, 16, 16, 101, 102, camz#, 1, mousex(), mousey())<br /> <br /> (x, y, xsize, ysize, image_up, image_down, changing_var#, move, mousex, mousey)<br /> x and y are where you want it to be, x/ysize are how many pixles your image is, image_up is the standard picture for the button (unpressed), image_down is when you click on the button, changing_var# is the varable that changes when you click the button, move is how much the varable changes by, mousex and mousey are the mouse coordinants.<br /> <br /> it's very basic, but i find it very useful.
No comments yet.