The Daily Click ::. Forums ::. Klik Coding Help ::. Split-Screen Multiplayer Game?
 

Post Reply  Post Oekaki 
 

Posted By Message

Jim Joe Johnson



Registered
  28/03/2004
Points
  45
18th May, 2004 at 19:45:02 -

Hi. I've made a couple multiplayer games with MMF. Not online multiplayer games. The ones where, for example, player 1 uses the Arrow Keys and player 2 uses W,A,S, and D. I was wondering if there is any way to make a split-screen multiplayer game along these lines. Does anyone have any pointers?

 
"Nasty, tricksy Hobbitts!"

:JULI@N:



Registered
  14/07/2002
Points
  641
18th May, 2004 at 20:39:54 -

There are articles about that. But basically, what you have to do is to have two windows and in one, the two players move normally, but the camera centers on player one, and in the second one, the players don't move, but always get positioned at the x and y coordinates of their counterparts of the window 1, which are read from a global value, inis or something. And in window 2 the camera centers at player 2

Image Edited by the Author.

 
n/a

KlikFactory



Registered
  11/01/2002
Points
  692
18th May, 2004 at 22:14:27 -

I don't really think there's an easy way to do it. I've seen engines where all the objects are active, and they make duplicates in the right part of the screen in a similiar position. But these engines require a lot of special coding, and still have some bugs, so I wouldn't bother with them.

Yeah, it sucks, but unless there's a new object or extension I haven't heard of, then it's not a good idea to try.

 
Why's there a star next to the Sig? What if I don't want a sig? This sucks.

Assault Andy

Administrator
I make other people create vaporware

Registered
  29/07/2002
Points
  5686

Game of the Week WinnerVIP Member360 OwnerGOTM JUNE - 2009 - WINNER!GOTM FEB - 2010 - WINNER!	I donated an open source project
19th May, 2004 at 03:39:57 -

It is pretty easy, JULI@N's method is the way I would do it. It's exactly the same as coding an online game except instead of sending values you set them as global values (Or send them with shared string object). So if you can program online games then split-screen is no prob.

 
Creator of Faerie Solitaire:
http://www.create-games.com/download.asp?id=7792
Also creator of ZDay20 and Dungeon Dash.
http://www.Jigxor.com
http://twitter.com/JigxorAndy

colej_uk



Registered
  15/05/2002
Points
  1627
19th May, 2004 at 06:52:43 -

It's not that hard- and it's one of the most fun ways do do multiplayer. I've made a split screen deathmatch mode for my game Bob the schizophrenic arsonist; this article just about sums up how to do it: http://www.create-games.com/article.asp?id=369 by JonWog

 
-

The Chris Street

Administrator
Unspeakably Lazy Admin

Registered
  14/05/2002
Points
  48487

Game of the Week WinnerClickzine StaffAcoders MemberKlikCast StarVIP MemberPicture Me This Round 35 Winner!Second GOTW AwardYou've Been Circy'd!Picture Me This Round 38 Winner!GOTM December Third Place!!
I am an April FoolKliktober Special Award Tag
19th May, 2004 at 11:29:58 -

Its very easy to do split-screen games in MMF. Use the sub-app object, and as mentioned earlier, use global values to set stuff like health, lives and scores.

Mr Stumps Dentures has a cool 2P Mode

 
n/a

Klikmaster

Master of all things Klik

Registered
  08/07/2002
Points
  2599

Has Donated, Thank You!You've Been Circy'd!VIP MemberPS3 Owner
19th May, 2004 at 12:06:39 -

...except the people came out flat

 
n/a

ChrisB

Crazy?

Registered
  16/08/2002
Points
  5457
19th May, 2004 at 17:40:20 -

Guess who hasn't played Sonic 2 before ;P

 
n/a
   

Post Reply



 



Advertisement

Worth A Click