Thread: moving the courser

  1. #1
    Registered User
    Join Date
    Nov 2007
    Posts
    43

    moving the courser

    All ring guys see if you can help me out with this one I’m trying to move the courser form point x1,y1 to x2,y2 slowly like a human would move the mouse. I have developed some code that does this and it does it purity well but not as well as I’m wonting it to. trying to find a new way to do it so do you guys know if there’s an actual function already made for this or any source code. I can post mine but its really long and don’t think you’ll wont that.
    I’m Dyslexic and I know that I don’t spell well so quit telling to learn my English because I do my best at it all right.

    Windows XP with Dev-C++ for now.

  2. #2
    Registered User Codeplug's Avatar
    Join Date
    Mar 2003
    Posts
    4,981
    >> I have developed some code that does this ... but not as well as I’m wonting it to
    In what way do you want to improve what you already have?

    gg

  3. #3
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    Too fast, maybe?

  4. #4
    Registered User
    Join Date
    Nov 2007
    Posts
    43
    I’m trying to make to work smother for example it moves the courser from the top right of the screen to the bottom at an ok speed but when I do it the opposite way it’s to slow. Kind of like its looping something that its not suppose to but I haven’t been able to find the problem yet. I can post a link to the source if you would like to take a look.
    I’m Dyslexic and I know that I don’t spell well so quit telling to learn my English because I do my best at it all right.

    Windows XP with Dev-C++ for now.

  5. #5
    Registered User Codeplug's Avatar
    Join Date
    Mar 2003
    Posts
    4,981
    We need to see the code if you want help improving it.

    gg

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Moving Average Question
    By GCNDoug in forum C Programming
    Replies: 4
    Last Post: 04-23-2007, 11:05 PM
  2. moving median function
    By supermeew in forum C Programming
    Replies: 0
    Last Post: 05-04-2006, 02:37 PM
  3. Replies: 4
    Last Post: 01-16-2006, 05:58 PM
  4. 3D moving
    By bluehead in forum C++ Programming
    Replies: 9
    Last Post: 04-02-2005, 05:46 AM
  5. Simple program i cant get (dot moving)
    By Lupusk9 in forum C++ Programming
    Replies: 4
    Last Post: 09-14-2004, 08:04 PM