Mutliplayer Dual screen: one for each player?

Mutliplayer Dual screen: one for each player?

Postby Xzu » 16 Feb 2016, 01:41

Hi!

I'm new here and STK is the best opensource game I know!
I love it! :D
I use two screen with my PC.
I use arandr to set dual-screen, and run AMD drivers (because of my distro) with AMD Radeon HD 5450.
For now STK run without problem on screen one and just don't use the second.

I'm dreaming about an option set one screen for each player!
The first screen for player one, and the second for player two.

Then, a free software will do best than any commercial thing for multi-player game!
That will be very good!
Xzu
 
Posts: 24
Joined: 16 Feb 2016, 01:19

Re: Mutliplayer Dual screen: one for each player?

Postby Auria » 18 Feb 2016, 01:04

This is a good idea, but this is not possible at this time in STK.
Also, you would need a very powerful GPU to render the game twice at full resolution, meaning very few people could actually use that in practice.
Image
User avatar
Auria
STK Moderator
 
Posts: 2976
Joined: 07 Dec 2009, 03:52

Re: Mutliplayer Dual screen: one for each player?

Postby Xzu » 18 Feb 2016, 10:49

Please, consider the very attractive potential (and maybe glory and fortune?).

I prefer play two screen in low resolution, bad details, no scenery and very hi fun, instead of the actual solution also for few people who have a very big screen.
(not usable for me) :cry:
Using xrandr, the implementation would not be so hard, no?

I insist, I insist!!!! :cool:
Xzu
 
Posts: 24
Joined: 16 Feb 2016, 01:19

Re: Mutliplayer Dual screen: one for each player?

Postby GunChleoc » 18 Feb 2016, 12:20

If you think it's not that hard, maybe you could have a go at implementing? FLOSS projects can always do with new developers :D
User avatar
GunChleoc
 
Posts: 502
Joined: 20 Sep 2012, 22:45

Re: Mutliplayer Dual screen: one for each player?

Postby Xzu » 18 Feb 2016, 14:15

Ok!
So, first, I have to became a developer! :lol:
- - loading, please wait - -
Xzu
 
Posts: 24
Joined: 16 Feb 2016, 01:19

Re: Mutliplayer Dual screen: one for each player?

Postby GunChleoc » 18 Feb 2016, 20:29

Well, I didn't know if you had any coding skills, and you did imply that it was easy :lol:

So, we will have to wait then until somebody else finds the time.
User avatar
GunChleoc
 
Posts: 502
Joined: 20 Sep 2012, 22:45

Re: Mutliplayer Dual screen: one for each player?

Postby hiker » 19 Feb 2016, 10:56

Hi,

note that supporting multiple screens involved a bit more than just changing screen layout (i.e. two splitscreen windows next to each other): both screens need a minimap etc.

I've actually done some work on this, still sitting in the 0.8-multiscreen branch. Obviously quite outdated (and one issue is how multiple screen are made available from the OS, since irrlicht itself does not directly support this).

Cheers,
Joerg
hiker
 
Posts: 1435
Joined: 07 Dec 2009, 12:15
Location: Melbourne, Australia

Re: Mutliplayer Dual screen: one for each player?

Postby deve » 22 Feb 2016, 14:16

@Xzu you can easily configure two separate mices + two keyboards using xinput. And when LAN multiplayer in STK will be finished, you should be able to run two separate STK instances and connect to your localhost server (at least in theory :P ).

Create two separate windows on two different screens is easy. The problem is that we would need to handle two totally different local multiplayer styles and ideally for all platforms that we support (linux, windows, os x). I'm also not sure what about input handling. We usually get input events for active window. What if the second window will be the active one?
deve
 
Posts: 268
Joined: 23 Jan 2014, 13:45

Re: Mutliplayer Dual screen: one for each player?

Postby Xzu » 29 Feb 2016, 12:54

The problem is that we would need to handle two totally different local multiplayer styles

Ok, but that's already done with multiplayer-mode, no?

and ideally for all platforms that we support (linux, windows, os x)

No, no.. just for linux, first! :lol: Hey, that's super-TUX-kart ! ;)
(even if I think multi-platform is very good thing)
Xzu
 
Posts: 24
Joined: 16 Feb 2016, 01:19

Re: Mutliplayer Dual screen: one for each player?

Postby hiker » 29 Feb 2016, 13:15

Just note that my branch assumes that the OS handles the two monitors as one screen - so it's basically 'normal' splits screen, just instead of splitting vertically (in current split screen), it splits the windows horizontally. Plus it starts to add the necessary race gui HUD (e.g. kart order, time, ...) - but that's not completely finished.

Cheers,
Joerg
hiker
 
Posts: 1435
Joined: 07 Dec 2009, 12:15
Location: Melbourne, Australia

Re: Mutliplayer Dual screen: one for each player?

Postby Xzu » 10 Aug 2017, 11:04

Any news for this amazing futuristic feature?
Today, many people have dual screen, so this will be an exclusive amazing feature because even ps4 can't do this!
Xzu
 
Posts: 24
Joined: 16 Feb 2016, 01:19

Re: Mutliplayer Dual screen: one for each player?

Postby Xzu » 20 Aug 2017, 14:59

If we consider windowed mode: what about just two windows for multiplayer mode?
Exactly like actual multi-player, but just in two windows instead of one.
Then we do what we want with our window manager, screen conf and OS.
Xzu
 
Posts: 24
Joined: 16 Feb 2016, 01:19

Re: Mutliplayer Dual screen: one for each player?

Postby Auria » 21 Aug 2017, 00:19

The current status is that there is no progress because we have no one to work on it (the few developers that contribute to STK are currently busy with other features)
Image
User avatar
Auria
STK Moderator
 
Posts: 2976
Joined: 07 Dec 2009, 03:52

Re: Mutliplayer Dual screen: one for each player?

Postby hiker » 21 Aug 2017, 01:07

I did some work on it, it is atm stored in a really outdated separate branch (https://github.com/supertuxkart/stk-cod ... ultiscreen). So if someone wants to get started, that would be a good point. I can't remember the details now (check commit log), but the idea was to assume that the OS presents one large window (e.g. 3840x1200), and instead of stacking the two screen on top of each other (default in split screen), they will be shown next to each other. Plus each screen needs timer, mini map, kart display. Some or most of this is done, but it needs some tlc ;) Contributions welcome (though be aware that depending on OS you might not get one big virtual screen, and afaik there is no support to address a 2nd display in irrlicht).

Cheers,
Joerg
hiker
 
Posts: 1435
Joined: 07 Dec 2009, 12:15
Location: Melbourne, Australia

Re: Mutliplayer Dual screen: one for each player?

Postby QwertyChouskie » 21 Aug 2017, 02:16

I should mention that https://github.com/supertuxkart/stk-cod ... 58c642ff03 is the only relevant commit in that branch. A good starting place would be re-basing that commit into master.
Contributor to/fan of STK (Upstreamed Cartoon theme, numerous random big fixes/tweaks)
User avatar
QwertyChouskie
 
Posts: 559
Joined: 29 Jun 2016, 14:57

Re: Mutliplayer Dual screen: one for each player?

Postby Xzu » 26 Aug 2019, 17:28

Hello everybody.
I'm just curious, is there any news?
Xzu
 
Posts: 24
Joined: 16 Feb 2016, 01:19

Re: Mutliplayer Dual screen: one for each player?

Postby Alayan » 26 Aug 2019, 18:41

We don't have anybody working on this for now, and while this would be a cool feature, it seems unlikely to happen soon.
Image
Alayan
STK Moderator
 
Posts: 306
Joined: 25 Mar 2012, 22:11

Re: Mutliplayer Dual screen: one for each player?

Postby gsbhasin123 » 28 Aug 2019, 23:19

It seems to exist; Online > Enable Split screen and player handicaps (if I understand correctly).
gsbhasin123
 
Posts: 28
Joined: 11 Aug 2019, 18:00

Re: Mutliplayer Dual screen: one for each player?

Postby QwertyChouskie » 04 Oct 2019, 02:15

gsbhasin123: That's split-screen, what the OP is looking for is to use two monitors, with both displaying views akin to split-screen, but with different monitors instead.
Contributor to/fan of STK (Upstreamed Cartoon theme, numerous random big fixes/tweaks)
User avatar
QwertyChouskie
 
Posts: 559
Joined: 29 Jun 2016, 14:57

Re: Mutliplayer Dual screen: one for each player?

Postby gsbhasin123 » 13 Oct 2019, 21:41

Qwerty: Ah, I see. Can't this be accomplished on Linux by having two windows open and then using xdotool to switch focus to each window, or with controllers?
gsbhasin123
 
Posts: 28
Joined: 11 Aug 2019, 18:00

Re: Mutliplayer Dual screen: one for each player?

Postby Xzu » 26 Nov 2022, 19:38

Hi there!

Any news?

Someone test hiker idea?
Xzu
 
Posts: 24
Joined: 16 Feb 2016, 01:19

Re: Mutliplayer Dual screen: one for each player?

Postby benau » 27 Nov 2022, 02:04

use the option 'splitscreen horizontally' and scale the stk window across 2 screens should work
Image
benau
STK Moderator
 
Posts: 505
Joined: 08 Dec 2015, 17:32

Who is online

Users browsing this forum: No registered users and 1 guest

cron