User Tag List

Results 1 to 6 of 6

Thread: Mouse Events being ignored

  1. #1
    No Products Registered

    Join Date
    May 2008
    Posts
    11
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Mouse Events being ignored

    Hello

    I made a picture of a start button, and set it up so when the mouse moves over it, theres a mouse over animation of the button and when you click on it the game proceeds to next frame.

    However when I then made another object be mouse controlled, it seems that other than movement, mouse click events are being ignored. I have the prgoram look for a collision between the pointer object and the start button but when I tell it to detect a mouse click nothing happens.

  2. #2
    Clicker Fusion 2.5 DeveloperSWF Export Module

    Join Date
    Jun 2006
    Location
    Turku, Finland
    Posts
    1,023
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Mouse Events being ignored

    Yes, the mouse object dislikes any other button clicks. You should, instead of using the mouse object, always set your player's position to Mouse X and mouse Y. That will result in the same thing, and the buttons work too.

  3. #3
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleiOS 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
    Jun 2006
    Location
    England
    Posts
    3,546
    Mentioned
    4 Post(s)
    Tagged
    1 Thread(s)

    Re: Mouse Events being ignored

    When an object is assigned the mouse-controlled movement, mouse clicks are not interpreted as Keyboard/Mouse Click events. Instead they are considered Player Object Fire 1 & 2 events so you have to use those instead.
    .:::.Joshtek.:::.

  4. #4
    No Products Registered

    Join Date
    May 2008
    Posts
    11
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Mouse Events being ignored

    I appreciate the responses. However due to the nature of the game I dont even use Player One object so not even sure how to go about what you mentioned. I looked around but cant even seem to find how to make Fire 1 and 2 as events and how to associate that with the on screen button. Could you post a short app that has this functionality? Or go into a little more step by step detail?

  5. #5
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Jaffob's Avatar
    Join Date
    May 2008
    Location
    USA
    Posts
    1,833
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Mouse Events being ignored

    Fire 1 and Fire 2 are under Player > Joystick > Read Joystick State. Remove any selected directions and check the nessacary boxes.

    Quote Originally Posted by Ravenius
    The mouse object dislikes any other button clicks.
    I see why. The actual cursor is pinned to the center of the screen while any mouse-controlled movement is in use.

  6. #6
    No Products Registered

    Join Date
    May 2008
    Posts
    11
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Mouse Events being ignored

    Thank you very much that did the trick!

Similar Threads

  1. Performance of behavior events vs frame events
    By Ryan in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 4th July 2013, 05:24 AM
  2. Question: Efficient handling of mouse events for a 'fake' multi-touch
    By ardo in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 27th February 2012, 01:02 PM
  3. mouse over events
    By fenrich in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 13th September 2010, 07:06 PM
  4. Mouse click events runs faster when mouse moves
    By chrilley in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 2nd February 2007, 02:54 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
  •