User Tag List

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 12

Thread: More than 4 players

  1. #1
    No Products Registered

    Join Date
    Jul 2007
    Posts
    16
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    More than 4 players

    I'd my game to have 8 players on screen at once. Only three buttons are used in the game so up to 4 joysticks and up to 4 keyboard players.

    Is there any way to accomplish this? I can only currently attach an active object to Player 1-4

  2. #2
    Clickteam Clickteam
    Jeff's Avatar
    Join Date
    Jun 2006
    Location
    Battle Ground Washington
    Posts
    11,825
    Mentioned
    8 Post(s)
    Tagged
    2 Thread(s)

    Re: More than 4 players

    Your going to have 8 people crowded around 1 computer?

  3. #3
    No Products Registered

    Join Date
    Jul 2007
    Posts
    16
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: More than 4 players

    Well we managed to get eight people crammed around my old miggy, in front of a 12" telly and in a box room when I was 16.

    So I don't see it too problematic to 'crowd' eight people into my living room around my 22 inch monitor. Only 4 people need to be around the keyboard, the other 4 can be anywhere in the room.

    Anyway.... does anybody know how to solve the problem?

  4. #4
    Clickteam Clickteam
    Jeff's Avatar
    Join Date
    Jun 2006
    Location
    Battle Ground Washington
    Posts
    11,825
    Mentioned
    8 Post(s)
    Tagged
    2 Thread(s)

    Re: More than 4 players

    I would suggest you don't use the built in player slots if you need 8 players on one computer.

    yes this will require some work on the eventing but it is very possible.

  5. #5
    No Products Registered

    Join Date
    Jul 2007
    Posts
    16
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: More than 4 players

    So... how would I go about doing this?

  6. #6
    Forum Moderator Fusion 2.5 DeveloperHTML5 Export ModuleiOS Export ModuleSWF Export Module
    DavidN's Avatar
    Join Date
    Jun 2006
    Location
    Boston, MA, USA
    Posts
    4,044
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: More than 4 players

    Think away from the player slots that MMF/TGF provides you with and instead think about what you need to store for each player. You'll need a way of getting their inputs, and most likely a score, possibly lives as well. (Score, lives and other variables can be stored in global values.)

    You would need to handle input yourself through events. The MMF Control-X and Joypad extensions make this a lot easier, but in TGF it's possible as well - "Upon pressing a key" and "Repeat while key is pressed" actions are much the same as the "Player presses..." actions that you would use for standard players.

    I would actually use the four player objects for your four joypad players, as I think this is the only way to get joypad input in TGF - then handle the rest through events.

  7. #7
    No Products Registered

    Join Date
    Jul 2007
    Posts
    16
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: More than 4 players

    Thanks for that David, I shall give it a go.

    The only problems I forsee (and I've had this problem when controlling computer objects with events) is that the players are cars. Increasing and decreasing the direction and angle when player presses left or right is easy enough, but I can't see any way to make the object move "in the direction it's facing"

    ie what I need is something like this


    Condition:

    Key "up" is being pressed & repeat while key "up" is being pressed

    Action:

    Move "car1" in 5 pixels in direction it is facing



    but the only way I can see to move objects is set x pos (x pos+1) and set y pos (y pos+y).

  8. #8
    No Products Registered

    Join Date
    Sep 2007
    Posts
    77
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: More than 4 players

    Well, if you've got the direction done, say:

    ()Repeat while key is pressed (Up key) = Set speed of ("player") to 50
    (Negate)Repeat while key is pressed (Up key) = Set speed o ("player") to 0

    I'll try and put up an example, soon.

  9. #9
    No Products Registered

    Join Date
    Jul 2007
    Posts
    16
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: More than 4 players

    Aidan

    Thanks for the feedback but I'm still a little confused as to what type of movement to set the object to initially. I would have thought that if I'm coding a custom control system that I'd need the player object to have static movement... in which case I can't set any speed?

  10. #10
    No Products Registered

    Join Date
    Sep 2007
    Posts
    77
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: More than 4 players

    Bouncing ball, I believe would be your best bet.

Page 1 of 2 1 2 LastLast

Similar Threads

  1. CPU Players
    By WareWolff in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 20th October 2010, 11:29 PM
  2. Help with more than 2 online players
    By Oreo in forum Lacewing
    Replies: 4
    Last Post: 17th January 2009, 12:34 AM
  3. Players
    By Noctrama in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 25th December 2008, 06:36 PM
  4. 2 players
    By Nate in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 19th January 2008, 07:54 AM
  5. Kicking Players
    By grayhuskie53 in forum Multimedia Fusion 2 - Technical Support
    Replies: 26
    Last Post: 29th September 2007, 03:15 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
  •