User Tag List

Results 1 to 7 of 7

Thread: Create a object from the mouse cursor

  1. #1
    Clicker Fusion 2.5 MaciOS Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Nov 2014
    Location
    USA
    Posts
    46
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Create a object from the mouse cursor

    I want to make a level creator for my game. And when you create an object I want it to be created at where the player's mouse is. How can I do this?

  2. #2
    Clicker 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
    Mar 2015
    Posts
    19
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You can make an invisible object that is always positioned at mouse pointer, then make the position of the created object relative to the object @mouse pointer, maybe there is a better way though.

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    UltimateWalrus's Avatar
    Join Date
    Jul 2006
    Posts
    824
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    There is a simple (but old) example on my site called Platform Game you might want to check out: http://ultimatewalrus.com/#fusionexamples

  4. #4
    Clicker Fusion 2.5 Developer
    PBarwick's Avatar
    Join Date
    Jul 2014
    Posts
    390
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Create the object anywhere on screen, then on the same event set the X position of the object to 'XMouse' and the Y position to 'YMouse'.

    Nice and easy!

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

    Join Date
    Nov 2014
    Location
    USA
    Posts
    46
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    @PBarwick Thank you very much!

  6. #6
    Clicker 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
    Mar 2015
    Posts
    19
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    @PBarwick i feel shy now , Nice and easy for sure.

  7. #7
    Clicker Fusion 2.5 Developer
    PBarwick's Avatar
    Join Date
    Jul 2014
    Posts
    390
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Glad to help! There are lots of very useful expressions available, I recommend taking a look for some useful hidden ones!

Similar Threads

  1. Mouse Control and mouse cursor
    By DEKE15 in forum Multimedia Fusion 2 - Technical Support
    Replies: 12
    Last Post: 4th December 2016, 10:38 PM
  2. Replies: 3
    Last Post: 5th August 2015, 10:33 PM
  3. user error or bug? launching object at mouse cursor
    By jinchoung in forum Fusion 2.5
    Replies: 4
    Last Post: 15th July 2014, 06:13 PM
  4. How to set object angle so that it is always facing the mouse cursor
    By AnD4D in forum Multimedia Fusion 2 - Technical Support
    Replies: 9
    Last Post: 17th May 2012, 09:39 PM
  5. create object at cursor location
    By rhoymand in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 22nd November 2006, 09:59 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
  •