Gamestudio Links
Zorro Links
Newest Posts
Ally Invest Can't Connect
by beo. 04/04/20 02:00
Clearing log window
by jbhunter. 04/04/20 00:58
SierraChart Plugin msg type:140
by tradingest. 04/03/20 21:21
MT4 bridge: Check account number
by tradingest. 04/03/20 21:19
Slowness after update
by Leohermoso. 04/03/20 16:45
Imgui Lite-c Development
by Evo. 04/03/20 14:50
printf() not printing when RULES is set
by sdh309795gaas. 04/03/20 13:07
AUM Magazine
Latest Screens
The Space Between
Pogostuck: Rage With Your Friends
Worst Case Z
AckCon'18 - Lotter vs the World 2 - Preview Release
Who's Online Now
6 registered members (beo, AndrewAMD, mey, Zheka, jbhunter, 3run), 657 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
beo, marsz, gonzalez21, Cobus, HF_Psy
18411 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,197
Caucasus
3run Online
Senior Expert
3run  Online
Senior Expert

Joined: May 2009
Posts: 5,197
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
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