|
7 registered members (Volkovstudio, VoroneTZ, alx, titanicpiano14, paulk, Dirk4Vantas, 1 invisible),
7,353
guests, and 2
spiders. |
|
Key:
Admin,
Global Mod,
Mod
|
|
|
multiplayer,splitscreen
#212749
06/24/08 01:37
06/24/08 01:37
|
Joined: May 2008
Posts: 55
KB_Alpha
OP
Junior Member
|
OP
Junior Member
Joined: May 2008
Posts: 55
|
are there any codes for multiplayer splitscreen. for a7  and if you can make it online with the code to.or just a online code
Last edited by KB_Alpha; 06/24/08 01:43.
|
|
|
Re: multiplayer,splitscreen
[Re: KB_Alpha]
#212889
06/24/08 21:35
06/24/08 21:35
|
Joined: May 2008
Posts: 301
Oxy
Senior Member
|
Senior Member
Joined: May 2008
Posts: 301
|
I suppose you want to make a 1-PC "Multiplayer" game, running the splitscreen for two people playing on that machine:
look up in the manual:
view camera2_view = etc...
this is the key to create two screens. The rest is standard programming. Just access two seperate character entities over two seperate keymappings.
If you have the skill to make a singleplayer game, you can also make a splitscreen two-player game..
(this section is more for network multiuser gaming, better you post this in the programming section)
Last edited by Oxy; 06/24/08 21:37.
|
|
|
Re: multiplayer,splitscreen
[Re: Espér]
#218040
07/26/08 00:31
07/26/08 00:31
|
Joined: Nov 2007
Posts: 1,143 United Kingdom
DJBMASTER
Serious User
|
Serious User
Joined: Nov 2007
Posts: 1,143
United Kingdom
|
Just get the input the same way you get the 1st player, only this time reference the 2nd entity pointer rather than the 1st player.
eg> Note : Psuedo
if(key_a || key_b) { c_move(player1,somevector, somevector,somemode);} if(key_y || key_z) { c_move(player2,somevector, somevector,somemode);}
a and b control player 1, y and z control player 2
|
|
|
|