User Tag List

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 17

Thread: Setting mouse pointer?

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    KLiK-iT's Avatar
    Join Date
    Sep 2011
    Location
    New Jersey
    Posts
    2,852
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Setting mouse pointer?

    Is there anyway to set the mouse pointer to an X/Y position until something happens in the game and only then?

  2. #2
    Clicker Fusion 2.5 DeveloperHTML5 Export ModuleSWF Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Jul 2006
    Location
    USA
    Posts
    2,982
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Not sure, I think there is a cursor extension, maybe that has something. But what I would probably do is use an active with the graphic for the mouse pointer you want and set it to always be at X and Y of the mouse pointer, then restrict that by whatever events you want to control the pointer's behavior. You'll need to use the hide mouse pointer so it only shows your custom cursor and not the windows one.

  3. #3
    Forum Moderator Fusion 2.5 DeveloperHTML5 Export ModuleiOS Export ModuleSWF Export Module
    DavidN's Avatar
    Join Date
    Jun 2006
    Location
    Boston, MA, USA
    Posts
    4,044
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    kcmouse.mfx (I can't remember whether it's called the Mouse or the Cursor extension) has actions that can do this, though be aware that a couple of anti-virus suites detect this as a false positive because of these abilities. Like Shawn said, it might be worth knowing the context and if there's another way to do it.

  4. #4
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    KLiK-iT's Avatar
    Join Date
    Sep 2011
    Location
    New Jersey
    Posts
    2,852
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    OK,.I'll give that a try and thank you...

  5. #5
    Clicker Fusion 2.5 DeveloperHTML5 Export ModuleSWF Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Jul 2006
    Location
    USA
    Posts
    2,982
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    The extension is probably the easier method especially if you just want a standard looking windows mouse pointer (though it's not hard to copy or do a screen capture and cut it from the image in Photoshop/GIMP if you REALLY need it to be exact). But as David mentioned, that particular extension has caused numerous problems with false positives in anti virus programs. The average person downloading will never bother to download your stuff again if they think it has a virus, so it's something to consider.

    Sometimes AV updates fix it, only later updates cause it to be flagged again. I avoid that extension if possible but it's up to you. I don't think the problem is widespread but one avoidable false positive is too many for my tastes.

  6. #6
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    KLiK-iT's Avatar
    Join Date
    Sep 2011
    Location
    New Jersey
    Posts
    2,852
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    See this is what I have,.I have a character the is set to the angle of the mouse,..lets say a Cannon,.I bring the mouse pointer towards the top of the screen the cannon lifts up and same for bringing the mouse pointer toward the bottom of the screen. What happens is the cannon will jump to the mouse position when the game first opens. So what I was thinking is to try to set the mouse pointer to the right side of the cannon on start of frame so there's no jump.

  7. #7
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    You should never interfere with the user's mouse in any way, ever. If I ever encountered a game that moved my mouse pointer for me,I would instantly close it. Not to mention I'd have to disable my anti-virus software just to download and run it without it being deleted.
    Working as fast as I can on Fusion 3

  8. #8
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module
    tompa's Avatar
    Join Date
    Nov 2011
    Location
    Uppsala, Sweden
    Posts
    358
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    LB: I disagree, RTS games use this while panning around in the level. Ie "Warhammer dawn of war". I think it's okay and that there isn't any bad ideas, just consequences from the public.

    I use this in a small spaceship simulator (when you push the middle mousebutton).
    "tompa.nu/clickteam/ship.exe"

    TheSmanman: Try the "mouse object" from Marcello Baesta-forte if nothing else works. GL

  9. #9
    Clicker Fusion 2.5 Developer

    Join Date
    Jul 2008
    Location
    UK
    Posts
    1,393
    Mentioned
    16 Post(s)
    Tagged
    0 Thread(s)
    No, LB is right on this one, and Shawn describes exactly what you *should* do - hide the actual windows cursor and use an active as a replacement.
    That way you can reposition it or do whatever you like with it, but there won't be the problems with antivirus software deleting your game, and users won't get angry when they want to use the mouse for actions other than playing your game, and find they can't.
    So don't ever mess with the windows cursor.

  10. #10
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module
    tompa's Avatar
    Join Date
    Nov 2011
    Location
    Uppsala, Sweden
    Posts
    358
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    no, that's your opinion. not fact

Page 1 of 2 1 2 LastLast

Similar Threads

  1. How to get id of current mouse pointer?
    By Timon in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 5th May 2012, 07:24 PM
  2. Mouse Pointer & Mouse controlled obejct
    By danjo in forum Multimedia Fusion 2 - Technical Support
    Replies: 9
    Last Post: 28th April 2012, 12:17 AM
  3. Mouse Pointer
    By Crls in forum Multimedia Fusion 2 - Technical Support
    Replies: 12
    Last Post: 17th April 2010, 08:18 PM
  4. mouse pointer in zone
    By Asholay in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 11th May 2009, 08:10 AM
  5. Mouse pointer help
    By Dynamite in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 27th February 2007, 08:53 AM

Posting Permissions

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