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