User Tag List

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

Thread: Beat em up enemy range collision

  1. #1
    Clicker Fusion 2.5 (Steam)

    Join Date
    Jan 2020
    Posts
    11
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Beat em up enemy range collision

    That "thing" which tells us how close characters must be to hit each other. Can't figure it out after countless attempts of using clunky overlaps.

  2. #2
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleXNA 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)
    piscesdreams's Avatar
    Join Date
    Dec 2007
    Location
    United States
    Posts
    1,012
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    I'd recommend trying this:
    X Distance of Enemy < Distance Between Two Points (you can set both to X or Y if you just want those measurements - they don't have to be X and Y.)

    This is under the Special Object in the Expression Editor. Set the distance value you want to compare to an Alt Value in the active object. For example = Alt Value = 32 - this would detect X distance less than 32 pixels.

  3. #3
    Clicker Fusion 2.5 (Steam)

    Join Date
    Jan 2020
    Posts
    11
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thank you very much, that's what i was looking for. Sorry for long response.

  4. #4
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    mobichan's Avatar
    Join Date
    Oct 2007
    Location
    Buffalo, NY
    Posts
    3,310
    Mentioned
    28 Post(s)
    Tagged
    0 Thread(s)
    As a side note, most beatemups allow a limited y range +/- the actual Y position of the target so you don't have to be EXACTLY on their y position. It is probably faster to simply do an x and y range check along with your overlap hitbox check.

  5. #5
    Clicker Fusion 2.5 (Steam)

    Join Date
    Jan 2020
    Posts
    11
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Still can't figure it out even with your help, it just doesn't work properly

  6. #6
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCHTML5 Export ModuleiOS Export Module
    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)
    c4t's Avatar
    Join Date
    Aug 2018
    Posts
    75
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    Distance_between_objects_004.mfa i used the Advanced Direction Object in this. Made it to try out how to use the extension a while back, maybe it can give some ideas. I know there are ways with clever math and not using an extension , bit above my head.

  7. #7
    Clicker Fusion 2.5

    Join Date
    Jan 2018
    Posts
    196
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    flamenko, nous pouvons regarder ton mfa si tu veux

  8. #8
    Clicker Fusion 2.5

    Join Date
    Jan 2018
    Posts
    196
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    voici un exemple avec colliders
    distance ennemis and kick.mfa

  9. #9
    Clickteam Clickteam

    Join Date
    Jun 2006
    Location
    France
    Posts
    13,958
    Mentioned
    275 Post(s)
    Tagged
    3 Thread(s)
    fredetmumu, out of curiosity, why do you answer some English posts in French, and others in English? Why not answering every English post in English? This forces the one who asked the question to open a translator to translate your message.

  10. #10
    Clicker Fusion 2.5

    Join Date
    Jan 2018
    Posts
    196
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    désolé je n'ai pas bien compris comment fonctionnait le site , il me semblait qu'il traduisait automatiquement dans la langue du pays ou on est, (car j'avais lu un banniere disant que le forum serait désormais en anglais et français) une fois j'ai même vu une option "ce message sera affiché dans la langue:.....(avec un choix)" mais je ne la vois plus. du coup quand ce que j'ai a dire me semble trop compliqué a exprimer en anglais je l'écrivais en français en pensant qu'il serait automatiquement traduit, désormais je ferais l'effort de le traduire moi même avec google avant de le poster.

Page 1 of 2 1 2 LastLast

Similar Threads

  1. fixing an enemy collision
    By Euingee in forum Fusion 2.5
    Replies: 3
    Last Post: 12th August 2020, 04:18 PM
  2. Enemy Gravity Collision Problem
    By Ancalagon18 in forum Fusion 2.5
    Replies: 4
    Last Post: 17th July 2017, 07:44 AM
  3. Help with Enemy Collision and Lowering Life
    By Slowboy in forum Fusion 2.5
    Replies: 1
    Last Post: 24th June 2016, 06:09 AM
  4. Enemy Collision Problems
    By Prims in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 7th January 2009, 06:34 AM
  5. Enemy Collision Detectors
    By Martin_Bodger in forum Multimedia Fusion 2 - Technical Support
    Replies: 10
    Last Post: 8th August 2008, 01:57 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
  •