Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (NnamueN, 1 invisible), 1,413 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
LucasJoshua, Baklazhan, Hanky27, firatv, wandaluciaia
19054 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
multiplayer,splitscreen #212749
06/24/08 01:37
06/24/08 01:37
Joined: May 2008
Posts: 55
K
KB_Alpha Offline OP
Junior Member
KB_Alpha  Offline OP
Junior Member
K

Joined: May 2008
Posts: 55
are there any codes for multiplayer splitscreen. for a7 cool
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 Offline
Senior Member
Oxy  Offline
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: Oxy] #215070
07/09/08 03:59
07/09/08 03:59
Joined: May 2008
Posts: 55
K
KB_Alpha Offline OP
Junior Member
KB_Alpha  Offline OP
Junior Member
K

Joined: May 2008
Posts: 55
ok thanks
laugh

Re: multiplayer,splitscreen [Re: KB_Alpha] #217998
07/25/08 20:16
07/25/08 20:16
Joined: Mar 2008
Posts: 2,247
Baden Württemberg, Germany
Espér Offline
Expert
Espér  Offline
Expert

Joined: Mar 2008
Posts: 2,247
Baden Württemberg, Germany
i´ve a second question..

if the game is controlled via 2 Keyboards/Gamepads

How to ask the keys/buttons of the second input modul ???


Selling my Acknex Engine Editions (A7 Com & A8 Pro):
>> click here if you are interested <<
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 Offline
Serious User
DJBMASTER  Offline
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

Re: multiplayer,splitscreen [Re: DJBMASTER] #218087
07/26/08 12:42
07/26/08 12:42
Joined: Mar 2008
Posts: 2,247
Baden Württemberg, Germany
Espér Offline
Expert
Espér  Offline
Expert

Joined: Mar 2008
Posts: 2,247
Baden Württemberg, Germany
XD.. i think you din´t understand..

If i have 2 Gamepads on my computer..

I can ask the first with joy1 codes and the second with joy2


But if i´ve 2 keyboards there.. what to do than???


Selling my Acknex Engine Editions (A7 Com & A8 Pro):
>> click here if you are interested <<

Moderated by  HeelX, Spirit 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1