User Tag List

Page 2 of 2 FirstFirst 1 2
Results 11 to 13 of 13

Thread: Destroying opponents by... bouncing on them?

  1. #11
    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: Destroying opponents by... bouncing on them?

    Here's the example:

    http://www.clickteam.com/epicenter/ubbthreads.php?ubb=showflat&Number=217642#Post2176 42

    I didn't realize your problem was with AND/OR conditions, so you may not need this anymore. But it might still help.

  2. #12
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    Ryan's Avatar
    Join Date
    Nov 2008
    Location
    Australia
    Posts
    1,279
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Destroying opponents by... bouncing on them?

    I added another example using the Y position comparisons rather than invisible detectors.

    Someone said they could never get it to work, so I wanted to prove that it IS possible.

    http://www.clickteam.com/epicenter/ubbthreads.php?ubb=showflat&Number=217697&#Post217 697

  3. #13
    Clicker Multimedia Fusion 2

    Join Date
    Sep 2006
    Location
    Britain, South Coast
    Posts
    1,030
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Destroying opponents by... bouncing on them?

    I didn't read many of the comments here, so apologies if someone else has beaten me to it, but I've often found issues with using a foot detector.

    The best way I found is to not use a foot detector. Instead, check on collision whether the player's Y force is upward or downward. So my character has his Y speed in an alterable value, for instance:

    Player collides with badguy
    + Y Speed > 0 (he's falling)
    --- Bad guy gets hurt
    --- Player bounces

    Player collides with badguy
    + Y Speed <= 0 (he's stopped or jumping upwards)
    --- Player gets hurt
    --- Player bounces

    So for me, the issue is whether he's going downwards or not which determines whether the collision is 'jumping on the bad guy' or 'being pwned by the bad guy'.

    I found it works pretty well, I've had no problems with it to date.

Page 2 of 2 FirstFirst 1 2

Similar Threads

  1. Destroying actives
    By macca02 in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 13th February 2013, 10:38 AM
  2. destroying enemies
    By tailsko in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 5th April 2011, 02:39 PM
  3. Handling the Hp of multiple opponents
    By Yima in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 9th November 2009, 08:36 PM
  4. One last problem, with destroying
    By csj1 in forum File Archive
    Replies: 2
    Last Post: 5th April 2009, 02:54 PM
  5. Destroying
    By pikzilla in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 16th March 2009, 09:41 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
  •