Gamestudio Links
Zorro Links
Newest Posts
Blobsculptor tools and objects download here
by NeoDumont. 03/28/24 03:01
Issue with Multi-Core WFO Training
by aliswee. 03/24/24 20:20
Why Zorro supports up to 72 cores?
by Edgar_Herrera. 03/23/24 21:41
Zorro Trader GPT
by TipmyPip. 03/06/24 09:27
VSCode instead of SED
by 3run. 03/01/24 19:06
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
5 registered members (Quad, TipmyPip, degenerate_762, AndrewAMD, Nymphodora), 997 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
sakolin, rajesh7827, juergen_wue, NITRO_FOREVER, jack0roses
19043 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
any example of split screen game ? #457828
02/01/16 19:38
02/01/16 19:38
Joined: Jul 2001
Posts: 4,801
netherlands
Realspawn Offline OP

Expert
Realspawn  Offline OP

Expert

Joined: Jul 2001
Posts: 4,801
netherlands
Looking for information on how to create a split screen for
2 player game on one pc laugh

I found one in old aum but that was an old template one



Find all my tutorials & Workshops at : www.rp-interactive.nl

Creativity starts in the brain
Re: any example of split screen game ? [Re: Realspawn] #457834
02/01/16 20:47
02/01/16 20:47
Joined: May 2009
Posts: 5,370
Caucasus
3run Offline
Senior Expert
3run  Offline
Senior Expert

Joined: May 2009
Posts: 5,370
Caucasus
Hey!

I'm currently away my PC, but probably tomorrow by the evening I'll get back home, so I'll be able to give you some examples.
Last Stand 2D


Greets!


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung
Re: any example of split screen game ? [Re: 3run] #457836
02/01/16 21:53
02/01/16 21:53
Joined: Jun 2008
Posts: 402
Germany
S
sebbi91 Offline
Senior Member
sebbi91  Offline
Senior Member
S

Joined: Jun 2008
Posts: 402
Germany
split screen isn`t that hard smile

First of all you need two views and of course deactivating the old camera:

Quote:



VIEW* camera1= //camera player1
{
layer=15;
arc=110;
}

VIEW* camera2= //camera player2
{
layer=15;
arc=110;
}

.......

//call that in your main-function

//define new views (splitted like in HALO)

camera1.pos_x=0;
camera1.pos_y=0;
camera1.size_x=screen_size.x;
camera1.size_y=screen_size.y/2;
camera2.pos_x=0;
camera2.pos_y=screen_size.y/2;
camera2.size_x=screen_size.x;
camera2.size_y=screen_size.y/2;

//activate new views and deactivate the old camera

reset(camera,SHOW|AUDIBLE);
set(camera1,SHOW);
set(camera2,SHOW);


Now your ready for development wink

-set the camera to your players-position
-make a movement script
-Weapons
-and so on

Good luck wink


best regards sebbi

Last edited by sebbi91; 02/02/16 04:33.

3D-Gamestudio A8 - Commercial
Re: any example of split screen game ? [Re: sebbi91] #457841
02/02/16 07:01
02/02/16 07:01
Joined: Jul 2001
Posts: 4,801
netherlands
Realspawn Offline OP

Expert
Realspawn  Offline OP

Expert

Joined: Jul 2001
Posts: 4,801
netherlands
Thank you for taking the time laugh I will try this and let you know if i got it all to work
laugh


Find all my tutorials & Workshops at : www.rp-interactive.nl

Creativity starts in the brain
Re: any example of split screen game ? [Re: Realspawn] #457842
02/02/16 08:39
02/02/16 08:39
Joined: Mar 2012
Posts: 927
cyberspace
W
Wjbender Offline
User
Wjbender  Offline
User
W

Joined: Mar 2012
Posts: 927
cyberspace
heads up : whilst two camera and viewports is not that hard , be aware that keyboards in general have limitations , perhaps you are planning to use joystick input ?


Compulsive compiler
Re: any example of split screen game ? [Re: Wjbender] #457843
02/02/16 16:29
02/02/16 16:29
Joined: Jul 2001
Posts: 4,801
netherlands
Realspawn Offline OP

Expert
Realspawn  Offline OP

Expert

Joined: Jul 2001
Posts: 4,801
netherlands
I got it to work laugh will soon upload some pictures and i might use indeed joypad and keyboard but first all needs to run smooth laugh

Player 1 works perfect now working on player 2 laugh

Last edited by Realspawn; 02/02/16 17:03.

Find all my tutorials & Workshops at : www.rp-interactive.nl

Creativity starts in the brain
Re: any example of split screen game ? [Re: Realspawn] #457845
02/02/16 20:14
02/02/16 20:14
Joined: Jun 2008
Posts: 402
Germany
S
sebbi91 Offline
Senior Member
sebbi91  Offline
Senior Member
S

Joined: Jun 2008
Posts: 402
Germany
I am glad to hear that laugh


3D-Gamestudio A8 - Commercial
Re: any example of split screen game ? [Re: Wjbender] #458023
02/13/16 09:28
02/13/16 09:28
Joined: Jan 2006
Posts: 968
EpsiloN Offline
User
EpsiloN  Offline
User

Joined: Jan 2006
Posts: 968
Originally Posted By: Wjbender
heads up : whilst two camera and viewports is not that hard , be aware that keyboards in general have limitations , perhaps you are planning to use joystick input ?

I cant confirm this with facts, but I think this problem exists only on some keyboards or for certain keys. If a keyboard stops working after 3 buttons, try using other 3 buttons, this has worked for me in the past laugh ... I just love NFS:HP...

PS.: Too bad I deleted all of my old projects. I made an awesome split-screen shooter in a dungeon setting once laugh


Extensive Multiplayer tutorial:
http://mesetts.com/index.php?page=201

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

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