User Tag List

Results 1 to 7 of 7

Thread: 2-4 Player Help Needed!

  1. #1
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)
    DuckJohnn's Avatar
    Join Date
    Aug 2016
    Posts
    31
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    2-4 Player Help Needed!

    Hello. Every time I have done multiplayer events, I have copied Player 1 events to Player 2, Player 3 and Player 4. There will be too many events.
    Is there a way that I wouldnít have to copy player events to each player individually? (Controls, Collisions, Damage etc.) So that everyone shares the same events.
    Each player has at least Active(for animations and alternate values), Hitbox, PMO and other stuff (I'm making 4 player platforming game).

  2. #2
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCHTML5 Export ModuleiOS Export ModuleSWF Export Module
    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)

    Join Date
    Dec 2010
    Posts
    188
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    You shouldn't ever need to repeat the events in this manner unless the actions/events are unique for each player. Otherwise just have a player qualifier, place the events under the qualifier and use a combination of player ids and foreach loops to target/activate the appropriate player. depending on the complexity of your game, you may need to add additional values and flags.

  3. #3
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)
    DuckJohnn's Avatar
    Join Date
    Aug 2016
    Posts
    31
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Well qualifiers are somewhat familiar, but Iíve never been familiar with loops/foreach loops/player IDs so I don't really understand about those. Could I have a simple example file of two players?
    Each player is supposed to have at least Active (for animations), Active Hitbox (for collisions), Player Movement Object, Health Counter (alternate value) and different controls for each player (of course).

  4. #4
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCHTML5 Export ModuleiOS Export ModuleSWF Export Module
    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)

    Join Date
    Dec 2010
    Posts
    188
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    I use foreach's a lot for linking multiple objects eg the shadows, or constructing characters with multiple parts. quick example file
    WizardWar.mfa
    You can see that once i've set up some basic player elements, a lot of the rest is handled using the player qualifier.

  5. #5
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)
    DuckJohnn's Avatar
    Join Date
    Aug 2016
    Posts
    31
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Thanks. This helped some. Now, how can I test alternate values from another object (connected/related to player)?
    When I do events with players alternate values, events works for each player, but I want to use alternate values from another object with Player ID.

  6. #6
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)
    DuckJohnn's Avatar
    Join Date
    Aug 2016
    Posts
    31
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Never mind. I found/figured out the answers to everything I needed. Thanks for helping (sorry about double post)

  7. #7
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)
    DuckJohnn's Avatar
    Join Date
    Aug 2016
    Posts
    31
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    One thing. How can I make "Only one action when event loops" events with "foreach" loops? (events without control pressing for each player).
    "Only One Action..." events works only for one character once.

Similar Threads

  1. Replies: 2
    Last Post: 10th January 2016, 07:53 PM
  2. Replies: 9
    Last Post: 2nd December 2014, 06:59 AM
  3. HELP NEEDED! Rockman X [Megaman X] Dashing Help needed.
    By Rockman in forum Multimedia Fusion 2 - Technical Support
    Replies: 22
    Last Post: 30th July 2013, 07:05 AM
  4. ActiveX W.M.Player -help needed
    By Blizna in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 10th November 2006, 11:09 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
  •