Search the Legacy Support Archive (up to v2020)
  1. Read-only archive (2005–2024). Posting is closed. Need help with MediaLab or DirectRT 2027? Email service@empirisoft.com.

    All words · “exact phrase” · -leave out

    Advanced search

Programming screen location areas

  1. #1

    Programming screen location areas

    Hi,

    I'm writing an experiment for kids where they will use a mouse to click on different areas of the screen to forward the program. I understand how to do this (I think), and need to define the areas to use as key codes. Is there some sort of grid I can use to help with determining the pixels for each rectangle? This is probably a stupid question, but I can see wasting a lot of time doing it by trial and error.

    Thanks!
    Becky

  2. #2
    I can get this information from the program we used to create the images (Flash). Thanks!

  3. #3
    [updated with further information]

    That's a great way to determine grid coordinates. You can also get similar info from most image editors when you click and drag the mouse over an image to highlight an area (i.e., to get the cursor's x/y position).

    Also, for those who are looking for more info on this--In order to use the mouse cursor as a response, you will need to look into DirectRT's ability to handle 'screen regions'. More information on this subject can be found here: http://www.empirisoft.com/directrt/help/directrt_samples_v2006_lightgun_touchscreen_cursor.htm

    Through the use of regions, you can specify where on the screen the user can click, which regions are valid and/or correct responses, etc.

    If you are looking to have users click on movies or animated gifs, see also: http://www.empirisoft.com/support/showthread.php?p=12956