User Tag List

Results 1 to 4 of 4

Thread: 4 Player Scrolling Issues

  1. #1
    Clicker Fusion 2.5 (Steam)

    Join Date
    Jan 2015
    Posts
    12
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    4 Player Scrolling Issues

    Hello Clickteam comrades,

    I've long perused your forums and been inspired many times. Helped beyond words. Thank you.

    I wouldn't post unless I have failed to find any aid in any other way. If I have overlooked something I apologize.

    I am creating a game with a max of four players. The map is large, 21860 tall. It is the screen's width wide. The camera with two players scrolls nicely, the simple equation for centering the camera ((Y(player 1) + Y(player 2))/2) works great. Sadly, extrapolating that into a four player module ((Y + Y + Y + Y)/4)) does not work.

    I'm sure that equation clued you in. I'm not a programmer. I'm not good with math. I have done very well thus far, considering the ambitious nature of my project. I have this software to thank for that. And, a lot of you to thank for the rest of my success.

    I appreciate any help with this.

    Happy Wednesday! (here at least)

  2. #2
    Clicker Fusion 2.5 (Steam)

    Join Date
    Jan 2015
    Posts
    12
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I've changed some of my settings, using an active object to lock onto, and the experimental equation does seem to be working now. Still, if anyone has an alternate method of centering the camera I would be interested.

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid 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)
    Popcorn's Avatar
    Join Date
    Jun 2006
    Location
    Norway, Bergen
    Posts
    2,329
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)
    Hey!
    Try to set Y of screen / centerobject to:
    (Min(Min(Min(Y( "Player 1" ), Y( "Player 2" ) ), Y( "Player 3" ) ), Y( "Player 4" ) ) + Max(Max(Max(Y( "Player 1" ), Y( "Player 2" ) ), Y( "Player 3" ) ), Y( "Player 4" ) ) ) / 2.0

    ..and same with X if you would need that. The decimal is also important so that Fusion will make use of float values. What I did here is to find the top object and the bottom object, and then find the middle of those two.

  4. #4
    Clicker Fusion 2.5 (Steam)

    Join Date
    Jan 2015
    Posts
    12
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Popcorn, that is an excellent alternate. Thank you! It worked very well.

Similar Threads

  1. Two Basic Issues - Player Names & Saving Data
    By Sparky in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 16th January 2011, 07:07 PM
  2. 2 player scrolling...
    By Pritchy96 in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 4th February 2009, 10:14 PM
  3. Scrolling Issues
    By Docilemouse in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 24th December 2008, 03:07 AM
  4. 2 player scrolling.
    By camelman in forum File Archive
    Replies: 5
    Last Post: 14th November 2008, 12:18 AM
  5. Parallax scrolling issues
    By Tek in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 20th July 2007, 12:47 AM

Tags for this Thread

Posting Permissions

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