[QUESTION]How to use beta Splitscreen

Mods, guides how to use and install mods go right in here.
Post Reply
User avatar
Lone Wolf
Posts: 228
Joined: 05 Mar 2012, 00:41
Contact:

Post » 21 Mar 2012, 03:47

I saw that Trosh found a video of 2-player splitscreen and he also said its in there, but just off or something. is there a way to turn it on? (at my own risk, of course)

User avatar
byrono
Posts: 118
Joined: 02 Feb 2012, 21:53

Post » 21 Mar 2012, 03:59

No unless you can code.

User avatar
Lone Wolf
Posts: 228
Joined: 05 Mar 2012, 00:41
Contact:

Post » 21 Mar 2012, 04:05

byrono wrote:No unless you can code.
by that you mean...

A)Just changing the "true"s to "false"s and vice versa
B)Actually adding lines of text
C)Actually coding with variables, and all of that stuff

Because i can't do option C.

mainegeek
Posts: 108
Joined: 05 Mar 2012, 04:41

Post » 21 Mar 2012, 05:25

The code I found left for Split Screen didn't work when enabled. Either I missed some more code that has to be enabled OR (more likely) Maurice had it mostly working at one point (to capture screens) but ended up breaking it after adding or rewriting some code.

Short answer... no

User avatar
fakeuser
Posts: 135
Joined: 04 Mar 2012, 01:20

Post » 21 Mar 2012, 12:10

By adding some code you may get the game to split its screen but my attempt has lead me into issues:
  • camera is jumpy
  • mario is not always in his split
  • tiles in second split are misaligned. meaning you may jump trough bricks and stand on thin air right next to them
  • you may see yourself in both splitscreens
  • the gap between splits is much larger than shown in the video. And no, no code was changed there
  • everything that's rendered in the right part of the screen gets invisible. But you get a second render of everything that's on right. e.g. you do not see player's two lives, but you see player's one in both splits
  • so on
I am not sure which of these are present by default and which I introduced myself, but I couldn't get the screen to split without adding more code. So simply there is no point in using it as it is now. That's the simple reason why it is disabled

Maurice
Stabyourself.net
Posts: 2145
Joined: 01 Feb 2012, 20:19

Post » 21 Mar 2012, 13:02

fakeuser wrote:*you may see yourself in both splitscreens
That's bad?
I'll see about fixing splitscreen.

User avatar
fakeuser
Posts: 135
Joined: 04 Mar 2012, 01:20

Post » 21 Mar 2012, 18:43

Maurice wrote: That's bad?
Not really. Just makes splitting the screen not necessary. Good luck with fixing it, I like your smooth scrolling with different speed. Also you could remove the hardcoded two players-only part - you could always use table.sort to sort players in ascending order of their x coordinate and easily split them in as many screens as needed. Also maybe you will need to recalculate fields scrollingstart, scrollingleftstart and so on when the number of splitscreens change. And if the players table is sorted you could use fastestplayer for scrolling right and slowest player for scrolling left (both players will be in screen)

P.s. if you implement the splitscreen, it would be nice to provide global variable SplitscreensCount and mario.inSplitscreenNo property (in which splitscreen is your carachter). They may be useless for your code, but could be pretty handy for game modders

User avatar
HeroKing
Posts: 104
Joined: 10 Feb 2012, 23:57

Post » 21 Mar 2012, 21:35

i think the splitscreen should only be available for local multiplayer. for online, if/when it's implemented, we're all looking at our own screens, so our screen should only focus on our character

User avatar
fakeuser
Posts: 135
Joined: 04 Mar 2012, 01:20

Post » 21 Mar 2012, 22:02

That's the way it is...

Maurice
Stabyourself.net
Posts: 2145
Joined: 01 Feb 2012, 20:19

Post » 21 Mar 2012, 22:25

HeroKing wrote:i think the splitscreen should only be available for local multiplayer. for online, if/when it's implemented, we're all looking at our own screens, so our screen should only focus on our character
You don't say.

User avatar
robochicken7
Posts: 34
Joined: 07 Mar 2012, 15:57

Post » 25 Mar 2012, 06:51

Maurice wrote: You don't say.
This makes me laugh.

killer64
Posts: 5
Joined: 12 Mar 2012, 19:00

Post » 26 Mar 2012, 04:14

Maurice wrote:Image

User avatar
renhoek
Posts: 4545
Joined: 11 Feb 2012, 10:04

Post » 26 Mar 2012, 12:56

oh that's what he was referencing I had no idea (sarcasm)

User avatar
robochicken7
Posts: 34
Joined: 07 Mar 2012, 15:57

Post » 18 Jun 2012, 09:20

T_T I understand sarcasm. it makes me laugh

Post Reply