[QUESTION]How to use beta Splitscreen
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)
by that you mean...byrono wrote:No unless you can code.
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.
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
Short answer... no
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
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)Maurice wrote: That's bad?
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
- robochicken7
- Posts: 34
- Joined: 07 Mar 2012, 15:57
This makes me laugh.Maurice wrote: You don't say.