4 Player Camera Support

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.
  • Hi guys,

    I was wondering if you could help me, I need a smooth scrolling camera which follow between 4-players.

    An example would be in this video (Arcade Mercs) > Please login to see this link.

    But I would like it not to snap when a player dies, so for example.

    Camera object scrolls between players 1-4, player 3 dies, camera object scrolls between player 1,2,4.

    The movement will be 8 direction for all players.

    Is this possible?

    Many thanks,
    Dave.

  • The example shown doesn't scroll between players, it seems to advance with the foremost character and never retreat. For what you want you'd need a camera target with a smooth scrolling camera (Zentaco has a good tut for this on youtube) and then you'd average the location of the camera target between your active characters ie x = (x1+x2+x3+x4)/4 perhaps including a direction modifier that weighted the location of the target if all the characters where looking in the same direction. You'd also need to take into account what happens when a character approaches/reaches the edge of the screen. Is progress stalled unless all the players agree? Is it weighted so the majority rules and the dissenting character is dragged?

  • [MENTION=10703]JohnArtbox[/MENTION] explained very well.

    Another way would be to compare the distance from each player to another, determine the 2 players that have the biggest distance between them and place the camera in the middle. Is not a perfect solution, but it should work in most cases.

    Another implementation, it involves math :o ( trigonometry ) . Search how to calculate the centroid of triangle (for 3 players) or centroid of quadrilateral (for 4 players).

Participate now!

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