User Tag List

Results 1 to 8 of 8

Thread: Mouse controlled active object won't follow screen?

  1. #1
    Clicker Fusion 2.5 (Steam)

    Join Date
    Jul 2018
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Unhappy Mouse controlled active object won't follow screen?

    Greetings!

    I'm rather new to game development and I'm setting down the foundations for my first demo (forgive me, this is my first forum post regarding such)! Unfortunately, I've encountered a problem: The cursor/crosshairs (an active object controlled by the mouse) won't move beyond their starting position.

    So far I have the player (blue box), which is controlled with the wasd keys, and the cursor (pink box), used to point/click/grapple/shoot/etc (I'm undecided). Moving the player and cursor works, but once the game starts scrolling, the cursor remains in place.

    I've stretched the "Edit Movement" box over the size of the screen, but I don't know how to make it follow the screen to where it's always present.

    I think this is best explained visually.

    2018-07-07_20-56-33.jpg

    If you'd like, you can try it yourself here:

    cursor test.zip

    Footnote, I had to compress the .mfw file into a .zip to upload because the uploader gave me an "invalid file" error attempting to upload the .mfw itself. Is there any way to fix this?
    It also appears that I can't embed gifs!

    Thanks in advance!

  2. #2
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleFirefly 3D Module
    aenever's Avatar
    Join Date
    Jun 2013
    Posts
    1,554
    Mentioned
    34 Post(s)
    Tagged
    0 Thread(s)
    I can't open your file. It's best to save as a .mfa rather than a project file.

  3. #3
    Clicker Fusion 2.5 (Steam)

    Join Date
    Jul 2018
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Sorry about that! Here you go:

    cursorTest.mfa

  4. #4
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleFirefly 3D Module
    aenever's Avatar
    Join Date
    Jun 2013
    Posts
    1,554
    Mentioned
    34 Post(s)
    Tagged
    0 Thread(s)
    On the pink cursor active under its run-time properties, untick follow the frame

  5. #5
    Clicker Fusion 2.5 (Steam)

    Join Date
    Jul 2018
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Checked or unchecked, it still won't go beyond that point;;
    mmf2u_2018-07-08_18-31-51.png

  6. #6
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleFirefly 3D Module
    aenever's Avatar
    Join Date
    Jun 2013
    Posts
    1,554
    Mentioned
    34 Post(s)
    Tagged
    0 Thread(s)
    Oh I see what you mean, I thought the problem was that the cursor wouldn't follow the frame. Scrap my suggestion, I think the mouse object is limited by the window size, You can set up your own custom mouse system like this to get around it.

    cursorTest custom Mouse.mfa

  7. #7
    Clicker Fusion 2.5 (Steam)

    Join Date
    Jul 2018
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thank you!

    In the event editor I see you've restricted the movement of the cursor to the boundaries of the frame, but how did you get it to move with the mouse?

  8. #8
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleFirefly 3D Module
    aenever's Avatar
    Join Date
    Jun 2013
    Posts
    1,554
    Mentioned
    34 Post(s)
    Tagged
    0 Thread(s)
    Line 7 sets the pink cursor to the x of the mouse position and to the y of the mouse position.

Similar Threads

  1. Replies: 2
    Last Post: 10th August 2016, 04:54 PM
  2. Mouse controlled object problem
    By K_Tetsu in forum Fusion 2.5
    Replies: 2
    Last Post: 16th December 2014, 10:50 AM
  3. Make an active object follow the screen?
    By Shizzle in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 5th September 2010, 04:39 PM
  4. Mouse Controlled Object
    By im2famous4u in forum Multimedia Fusion 2 - Technical Support
    Replies: 9
    Last Post: 10th April 2008, 07:01 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
  •