User Tag List

Results 1 to 4 of 4

Thread: Grapple Hook mechanic problem with PMO object

  1. #1
    Clickteam Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform 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)
    BartekB's Avatar
    Join Date
    Aug 2013
    Posts
    667
    Mentioned
    14 Post(s)
    Tagged
    0 Thread(s)

    Grapple Hook mechanic problem with PMO object

    I'm having trouble with a "grapple" like mechanic, where the player locks onto a hook and does a worms-like rope swing (Though he can't use left / right to swing), however if the player stays on the rope for too long he would slowly start to fall, like the hook is being lowered. I double-checked if I had gravity still on, but it wasn't and I'm not sure what is causing this anymore.

    I would be grateful if someone fixed this issue!

    How to test:
    Run app, move scrollwheel down so a grapple hook shows up in the top left corner, arrow keys to move and jump, hold left click when your cursor is near a small circle to grapple. You'll see the fall when the player swinged 2 or 3 times.
    Attached files Attached files
    - BartekB, a.k.a Uppernate
    Join the Click Converse Discord! - https://discord.gg/R3WuvF3mHr

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export Module
    Fusion 2.5 (Steam)
    schrodinger's Avatar
    Join Date
    Nov 2014
    Posts
    3,159
    Mentioned
    28 Post(s)
    Tagged
    1 Thread(s)
    Don't know if this could be considered a satisfactory solution,
    this is more of a workaround... sorry I didn't check so in-depth,
    but, in short, you could add this condition:

    Y pos of player > Y grappler cursor + 100 (or suitable value)
    + hookchosen of grapple cursor <> 0
    ----> sub 1 from Y of player

    to keep it always at a maximum fixed distance from the selected grapple..

  3. #3
    Clickteam Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform 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)
    BartekB's Avatar
    Join Date
    Aug 2013
    Posts
    667
    Mentioned
    14 Post(s)
    Tagged
    0 Thread(s)
    hmm, I'll try this, thanks for the input!
    - BartekB, a.k.a Uppernate
    Join the Click Converse Discord! - https://discord.gg/R3WuvF3mHr

  4. #4
    Clickteam Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform 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)
    BartekB's Avatar
    Join Date
    Aug 2013
    Posts
    667
    Mentioned
    14 Post(s)
    Tagged
    0 Thread(s)
    I have fixed the issue!
    I've fixed it by making an active, and placing it where the player should be (Always fixed by sin and cos values) and making the player move towards it by changing the x and y velocity values to depending on the distance between the player and the active.
    - BartekB, a.k.a Uppernate
    Join the Click Converse Discord! - https://discord.gg/R3WuvF3mHr

Similar Threads

  1. Grapple Engine compatible with MMF2 HWA Anyone ?
    By PSofosNextGen in forum Multimedia Fusion 2 - Technical Support
    Replies: 18
    Last Post: 17th January 2013, 01:26 PM
  2. Grappling hook example
    By Codemonkey in forum File Archive
    Replies: 9
    Last Post: 7th December 2008, 02:51 PM
  3. request )grappling hook
    By Taco in forum Extension Development
    Replies: 32
    Last Post: 21st January 2008, 11: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
  •