Computer Science Canada GUI return value help |
Author: | Captain Cat [ 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 |
Author: | Captain Cat [ Wed Jun 08, 2005 9:06 pm ] |
Post subject: | |
can anyone atleast give me a hint of what to use and where to look? |
Author: | lyam_kaskade [ Wed Jun 08, 2005 9:33 pm ] |
Post 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 |
Author: | vagyb [ Wed Jun 08, 2005 9:37 pm ] |
Post subject: | |
i hate gui's |