User Tag List

Results 1 to 2 of 2

Thread: screen x y coordinates look up table - advice

  1. #1
    Clicker Fusion 2.5
    ayejes's Avatar
    Join Date
    Feb 2008
    Posts
    83
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    screen x y coordinates look up table - advice

    I want a look up table for screen x, y coordinates. For portability I am going to use Array object.

    The x, y coordinates will be in multiples of 32. So what I was thinking is 2 columns and 140 rows.
    I would have for the first column (screen x) 14 zeros for the first 14 rows and then fill the second column (screen y) with the 10 different values. I would then half to fill the remainder 4 rows with zeros. Then the next 14 rows would have 1's for and the second column as before.

    This look up table is only needed at the beginning of the game for placing objects.

    If there is a better Idea, please let me know.


    Thanks

  2. #2
    Clicker Fusion 2.5
    ayejes's Avatar
    Join Date
    Feb 2008
    Posts
    83
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Figured out a better way. I will use the array with the number of columns representing x and rows y.
    Each value will be 1. To get the x y coordinate in multiples, I will multiply either array x or y by 32.
    What ever coordinates I use, I will change the value to zero. I will test for only using the coordinates as long as the value is 1.

Similar Threads

  1. Replies: 7
    Last Post: 29th April 2015, 10:17 AM
  2. How to get coordinates of a line?
    By Gibbon in forum Fusion 2.5
    Replies: 2
    Last Post: 23rd August 2014, 10:55 AM
  3. coordinates
    By Drcooper in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 26th June 2011, 12:17 AM
  4. set Mouse X/Y-Coordinates
    By the_raven in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 3rd August 2006, 04:10 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •