2D Toolkit Forum

2D Toolkit => Support => Topic started by: jeong1135 on August 21, 2013, 04:37:19 pm

Title: Splitscreen with tk2dCamera using Normalized View Port Rect
Post by: jeong1135 on August 21, 2013, 04:37:19 pm
Hello,

I'm trying to make a split screen with two cameras, but I can't come up with desired effect with tk2dCamera while I could pull it off with regular Unity Camera.

(http://imgur.com/3TZ61k4.png)
Here is the image that explains this better. This is a game screen that is not edited.

Thank you in advance.
Title: Re: Splitscreen with tk2dCamera using Normalized View Port Rect
Post by: unikronsoftware on August 21, 2013, 05:50:32 pm
This is a tricky one to support "properly". I'll have to investigate this properly - the customizability of the tk2dCamera makes this a lot more complicated than it should be. If you need it working for a particular scenario (if I know what override you're using, etc.) it should be easy to work around.
Title: Re: Splitscreen with tk2dCamera using Normalized View Port Rect
Post by: Neeko on September 10, 2013, 12:31:27 am
I'm looking to do split screen (up to four players) as well. I know this thread is relatively new, but would love to see any progress on the issue. Thanks!
Title: Re: Splitscreen with tk2dCamera using Normalized View Port Rect
Post by: wakatanka on October 08, 2013, 08:46:30 am
Me too, looking to do split screen for four players  ;D
Title: Re: Splitscreen with tk2dCamera using Normalized View Port Rect
Post by: unikronsoftware on October 08, 2013, 11:39:07 am
Not yet. I can provide a temp fix if necessary, but making this work in all combinations of things is quite a huge undertaking, probably in the next major release.
Title: Re: Splitscreen with tk2dCamera using Normalized View Port Rect
Post by: wakatanka on October 09, 2013, 04:42:57 pm
I temporary solved grouping all the sprite in an empty gameobject, then i scaled all down by script, in my case at 0.75%.

gameobjectcontainer.transform.localScale = Vector3(0.75,0.75,0.75);

hope in a better elegant solution next release.  :D
Title: Re: Splitscreen with tk2dCamera using Normalized View Port Rect
Post by: unikronsoftware on October 10, 2013, 09:12:58 am
Possibly not in the next release but this is quite high up in the priority for 2.3
Title: Re: Splitscreen with tk2dCamera using Normalized View Port Rect
Post by: Neeko on October 15, 2013, 12:54:46 pm
Not yet. I can provide a temp fix if necessary, but making this work in all combinations of things is quite a huge undertaking, probably in the next major release.

I haven't had a chance to investigate a solution myself, but if you have a temp fix to post, that would be awesome  ;D
Title: Re: Splitscreen with tk2dCamera using Normalized View Port Rect
Post by: AjayKhara on January 24, 2014, 07:19:35 am
I am facing the same problem.
I am using 2 to 6 split screens.

Is it solved yet ?