2-4 Player Help Needed!

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • 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).

  • 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.

  • 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).

  • I use foreach's a lot for linking multiple objects eg the shadows, or constructing characters with multiple parts. quick example file
    Please login to see this attachment.
    You can see that once i've set up some basic player elements, a lot of the rest is handled using the player qualifier.

  • 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.

  • 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.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!