User Tag List

Page 4 of 4 FirstFirst ... 2 3 4
Results 31 to 39 of 39

Thread: Help with 2d figher

  1. #31
    Forum Moderator Fusion 2.5 DeveloperHTML5 Export Module
    Chaos's Avatar
    Join Date
    Aug 2006
    Location
    Burnsville, MN, USA
    Posts
    806
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Help with 2d figher

    At work so I can't check your file. Did you add a 2nd PMO object, and make sure to check for the collision for player 2?

  2. #32
    No Products Registered

    Join Date
    May 2009
    Location
    Sweden
    Posts
    16
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Help with 2d figher

    yes, I did. And the conditions are the same as the first PMO (but changed for the other character ofc) so I can't really find a reason for it to not happen... :crazy:

  3. #33
    Forum Moderator Fusion 2.5 DeveloperHTML5 Export Module
    Chaos's Avatar
    Join Date
    Aug 2006
    Location
    Burnsville, MN, USA
    Posts
    806
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Help with 2d figher

    Ahh, thankfully the fix was easy, in Ryu Move 2 - you have the PMO and the player sensor set to player one. Just change those to P2 and it works fine.

  4. #34
    No Products Registered

    Join Date
    May 2009
    Location
    Sweden
    Posts
    16
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Help with 2d figher

    Thanks for all the help... But I can't get the collision to work between the two fighters. I want them to be able to fight :S

    http://www.mediafire.com/download.php?wtd1mzmrjo1

    And the ground they walking on, I want it to be invisble I can't get that to work.
    Help? :P

  5. #35
    No Products Registered

    Join Date
    May 2009
    Location
    Southbridge MA.
    Posts
    48
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Help with 2d figher

    un-check visible at start

  6. #36
    No Products Registered

    Join Date
    May 2009
    Location
    Sweden
    Posts
    16
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Help with 2d figher

    I can't, it's backdrops... But that's not really the main problem...
    I want them to be able to hit each other. But I don't know how...

  7. #37
    Clicker Fusion 2.5 DeveloperHTML5 Export ModuleSWF Export ModuleInstall Creator Pro
    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
    Jul 2006
    Location
    USA
    Posts
    2,982
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Re: Help with 2d figher

    Quote Originally Posted by Simon92
    I can't, it's backdrops... But that's not really the main problem...
    I want them to be able to hit each other. But I don't know how...
    Well, you could use active objects instead of backdrops for the ground. Just need to test for collisions with those objects instead of the backdrop objects.

    As for hitting them, I'd just use active objects as invisible collision boxes. For instance, you could create an invisible box at the end of a fighter's fist on the final frames of a punch animation. If the other player collides with the invisible box, do your events for them being punched, etc.

  8. #38
    Forum Moderator Fusion 2.5 DeveloperHTML5 Export Module
    Chaos's Avatar
    Join Date
    Aug 2006
    Location
    Burnsville, MN, USA
    Posts
    806
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Help with 2d figher

    or, test your player sprite, hitting the enemies 'movement box' and that an attack animation is playing. You might also throw in a check to say something like, Attack punch is playing + frame of animation = 3.

    And just re-produce the code I put in there for the original Ryu hitting the punching bag. Just pretend the punching bag is another player mover sprite.

  9. #39
    Clicker Fusion 2.5 DeveloperHTML5 Export ModuleSWF Export ModuleInstall Creator Pro
    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
    Jul 2006
    Location
    USA
    Posts
    2,982
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Re: Help with 2d figher

    Also, you might try using the semi transparency ink effect on the backdrops and set it to 100% or whatever to make them invisible. That should work.

Page 4 of 4 FirstFirst ... 2 3 4

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •