Author |
Message |
Captain Cat
|
Posted: Wed Jun 08, 2005 7:45 pm Post subject: GUI return value help |
|
|
OK, i am going to have a circle moving around the screen. Now using the GUI how do i return a value/location of where I clicked allowing me to compare it with the location of the circle? To untimalty determain if the circle was clicked on? Thus giving the user a point if he/she clciked on the circle.... and have the circle fall down off the screen if it was clicked on.... could someone plase help me with this.... i am very new to the GUI model and would greatly apperciate some help..... well thanks a million in advance and sorry for the dumb question |
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
Captain Cat
|
Posted: Wed Jun 08, 2005 9:06 pm Post subject: (No subject) |
|
|
can anyone atleast give me a hint of what to use and where to look? |
|
|
|
|
![](images/spacer.gif) |
lyam_kaskade
![](http://www.linux-squad.com/albumphoto/linuxwallpapers/thumbnails/tn_born2frag.jpg)
|
Posted: Wed Jun 08, 2005 9:33 pm Post subject: (No subject) |
|
|
the Mouse.Where command will return an x and y value for where the mouse is. I'm not sure if thats what you meant. There's a tutorial on it here:
http://www.compsci.ca/v2/viewtopic.php?t=6 |
|
|
|
|
![](images/spacer.gif) |
vagyb
|
Posted: Wed Jun 08, 2005 9:37 pm Post subject: (No subject) |
|
|
i hate gui's ![Sad Sad](http://compsci.ca/v3/images/smiles/icon_sad.gif) |
|
|
|
|
![](images/spacer.gif) |
|